diff --git a/sdljpd b/sdljpd index 1f7b5be..765f1f7 100755 Binary files a/sdljpd and b/sdljpd differ diff --git a/sdljpd.c b/sdljpd.c index 080ab69..c92f1e9 100644 --- a/sdljpd.c +++ b/sdljpd.c @@ -867,6 +867,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]; diff --git a/sdljpd.c~ b/sdljpd.c~ index 75b5dc1..080ab69 100644 --- a/sdljpd.c~ +++ b/sdljpd.c~ @@ -615,7 +615,7 @@ int main( int argc, char **argv ) strcpy(xpfp,"level.txt"); - while (( option = getopt(argc, argv, "hf:a:b:c:")) >= 0) + while (( option = getopt(argc, argv, "hf:a:b:c:d:")) >= 0) switch (option) { case 'h': { @@ -639,6 +639,10 @@ int main( int argc, char **argv ) case 'c': strcpy(pl3,optarg); break; + + case 'd': + strcpy(pl4,optarg); + break; } printf("\n \033[36m sdljpd -- jeopady on steroids \n Copyright (c) 2005 Frederick Bullik \n\n This program is free software; you can redistribute it and/or\n modify it under the terms of the GNU General Public License\n as published by the Free Software Foundation; either version 2\n of the License, or (at your option) any later version.\n\n This program is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General Public License for more details.\n\n You should have received a copy of the GNU General Public License\n along with this program; if not, write to the Free Software \n Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\033[m \n\n");