@@ -144,12 +144,6 @@ updatePlayer(void)
144
144
}
145
145
}
146
146
147
- /*sprintf(debug,"%d",whereIsPlayer);*/
148
-
149
- /*GpRectFill(NULL, &gpDraw[nflip], player.posx+2,player.posy+30,28,2,232);
150
- GpRectFill(NULL, &gpDraw[nflip], player.posx+5,player.posy+15,22,10,232);
151
- GpRectFill(NULL, &gpDraw[nflip], player.posx+5,player.posy,15,25,232);*/
152
-
153
147
/* Si on est pas sur une échelle ou est on ? */
154
148
if (whereIsPlayer == 999 )
155
149
{
@@ -289,11 +283,6 @@ updatePlayer(void)
289
283
}
290
284
}
291
285
292
- if (keyAction4 == 1 )
293
- {
294
- // keydata = GpKeyGet();
295
- }
296
-
297
286
if (((keyAction1 == 1 ) || (keyAction2 == 1 )) && (player .shoot_timer == 0 ))
298
287
299
288
{
@@ -327,14 +316,6 @@ updatePlayer(void)
327
316
}
328
317
}
329
318
330
- /* Pause TODO !! */
331
- // if (GpKeyGet() & GPC_VK_START)
332
- // {
333
- // while (GpKeyGet() & GPC_VK_START) {}
334
- // while (!(GpKeyGet() & GPC_VK_START)) {}
335
- // while (GpKeyGet() & GPC_VK_START) {}
336
- // }
337
-
338
319
/* Pour empecher le tir automatique ! */
339
320
if ((keyAction1 == 0 ) && (keyAction2 == 0 ))
340
321
player .shoot_timer = 0 ;
@@ -372,7 +353,6 @@ updatePlayer(void)
372
353
else if (gbl_evt != EVT_LOOSE_LIFE )
373
354
{
374
355
gbl_evt = EVT_LOOSE_LIFE ;
375
- // GpPcmStop();
376
356
sound_etat = 0 ;
377
357
player .nblive -= 1 ;
378
358
}
0 commit comments