Permalink
Browse files

Constify menu.

git-svn-id: svn+ssh://jay/var/svn/wolf/trunk@64 32837ae5-38f0-4cfd-8401-3ff76d8497c4
  • Loading branch information...
1 parent 3a5fb71 commit 0b5d37384a2ffff5e121f427629b3ab31d754c15 paul committed Aug 3, 2007
Showing with 132 additions and 145 deletions.
  1. +1 −1 foreign.h
  2. +0 −6 wl_game.c
  3. +124 −132 wl_menu.c
  4. +7 −6 wl_menu.h
View
@@ -21,7 +21,7 @@
#define STR_CV "Change View"
#define STR_VS "View Scores"
#define STR_EG "End Game"
-#define STR_BD "Back to Demo"
+#define STR_BD "Back to "
#define STR_QT "Quit"
#define STR_LOADING "Loading"
View
@@ -1201,9 +1201,6 @@ void GameLoop()
CheckHighScore(gamestate.score,gamestate.mapon+1);
- strcpy(MainMenu[viewscores].string,STR_VS);
- MainMenu[viewscores].routine = (MenuFunc)CP_ViewScores;
-
return;
case ex_victorious:
@@ -1221,9 +1218,6 @@ void GameLoop()
CheckHighScore(gamestate.score,gamestate.mapon+1);
- strcpy(MainMenu[viewscores].string,STR_VS);
- MainMenu[viewscores].routine = (MenuFunc)CP_ViewScores;
-
return;
default:
Oops, something went wrong.

0 comments on commit 0b5d373

Please sign in to comment.