summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Pouzenc <ludovic@pouzenc.fr>2010-11-26 23:01:10 +0000
committerLudovic Pouzenc <ludovic@pouzenc.fr>2010-11-26 23:01:10 +0000
commitba92534d9e92f4611eea65dbecc8ce1cde298f4d (patch)
tree80a0bf4413bdd0bd7407885d52396b92a41bae2f
parent3588d30ae18157e2b54f43945ad8909142c72343 (diff)
download2010-netlemmings-ba92534d9e92f4611eea65dbecc8ce1cde298f4d.tar.gz
2010-netlemmings-ba92534d9e92f4611eea65dbecc8ce1cde298f4d.tar.bz2
2010-netlemmings-ba92534d9e92f4611eea65dbecc8ce1cde298f4d.zip
2 ou 3 FIXME ajoutés
git-svn-id: file:///var/svn/2010-netlemmings/trunk@177 077b3477-7977-48bd-8428-443f22f7bfda
-rw-r--r--sdl-test/SDL_tuto/TestParserLemmingsLVL/fonctions_non_integrees.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sdl-test/SDL_tuto/TestParserLemmingsLVL/fonctions_non_integrees.c b/sdl-test/SDL_tuto/TestParserLemmingsLVL/fonctions_non_integrees.c
index 4a1f7c1..6a2a328 100644
--- a/sdl-test/SDL_tuto/TestParserLemmingsLVL/fonctions_non_integrees.c
+++ b/sdl-test/SDL_tuto/TestParserLemmingsLVL/fonctions_non_integrees.c
@@ -1998,6 +1998,7 @@ int stateLemming(struct gameInit *gInit){
if(tx>=pTerrain->w){break;}
if(tx>=LEVEL_WIDTH) {break;}
+//FIXME : le bloc suivant ne dépends pas de x et y !
overwrite = ((k->data.pt->modif & 8) == 8)? 0 : 1;
remove = ((k->data.pt->modif & 2) == 2)? 1 : 0;
if(k->data.pt->modif == 15){
@@ -2014,6 +2015,7 @@ int stateLemming(struct gameInit *gInit){
}
paint=0;
if(!overwrite){
+ //FIXME : What the hell avec deux fois ce get_pixel ?!?
if((get_pixel32(tx,ty,pStencil)==ccc_error)){return 67;}
// don't overwrite -> only paint if background is transparent
if(((get_pixel32(tx,ty,pStencil)>>24) & 0xff ) == 0)