From ba92534d9e92f4611eea65dbecc8ce1cde298f4d Mon Sep 17 00:00:00 2001 From: Ludovic Pouzenc Date: Fri, 26 Nov 2010 23:01:10 +0000 Subject: 2 ou 3 FIXME ajoutés MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: file:///var/svn/2010-netlemmings/trunk@177 077b3477-7977-48bd-8428-443f22f7bfda --- sdl-test/SDL_tuto/TestParserLemmingsLVL/fonctions_non_integrees.c | 2 ++ 1 file changed, 2 insertions(+) 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) -- cgit v1.2.3