diff --git a/sdljpd b/sdljpd index 765f1f7..3eaeba6 100755 Binary files a/sdljpd and b/sdljpd differ diff --git a/sdljpd.c b/sdljpd.c index c92f1e9..b49e9f8 100644 --- a/sdljpd.c +++ b/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; diff --git a/sdljpd.c~ b/sdljpd.c~ index 080ab69..2da7074 100644 --- a/sdljpd.c~ +++ b/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];