|
|
@ -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]; |
|
|
|