Browse Source

Bug Player4 handling

main
h3ndrik 13 years ago
parent
commit
7dff117131
  1. BIN
      sdljpd
  2. 1
      sdljpd.c
  3. 8
      sdljpd.c~

BIN
sdljpd

Binary file not shown.

1
sdljpd.c

@ -404,6 +404,7 @@ void draw_sdl (void)
if(solved[countx][county] == 1) strcpy(buf,pl1);
if(solved[countx][county] == 2) strcpy(buf,pl2);
if(solved[countx][county] == 3) strcpy(buf,pl3);
if(solved[countx][county] == 4) strcpy(buf,pl4);
drect.x = (countx*200) + 65;
drect.y = drect.y + 23;

8
sdljpd.c~

@ -404,6 +404,7 @@ void draw_sdl (void)
if(solved[countx][county] == 1) strcpy(buf,pl1);
if(solved[countx][county] == 2) strcpy(buf,pl2);
if(solved[countx][county] == 3) strcpy(buf,pl3);
if(solved[countx][county] == 3) strcpy(buf,pl4);
drect.x = (countx*200) + 65;
drect.y = drect.y + 23;
@ -867,6 +868,13 @@ int main( int argc, char **argv )
inp = TRUE;
break;
/* Show Answer without changing score */
case SDLK_y:
lockbz = TRUE;
enp = FALSE;
inp = TRUE;
break;
/* Wrong Answer */
case SDLK_DELETE:
score[plselect]=score[plselect]-pkt[ypos];

Loading…
Cancel
Save