- added conditionals to LANGUAGE parser so that the special messages for Chex Quest can be handled in the definition lumps instead of the code.
SVN r2930 (trunk)
This commit is contained in:
parent
d969b141b8
commit
2eac96143e
6 changed files with 64 additions and 87 deletions
|
|
@ -471,17 +471,11 @@ DEndGameMenu::DEndGameMenu(bool playsound)
|
|||
|
||||
if (netgame)
|
||||
{
|
||||
if(gameinfo.gametype == GAME_Chex)
|
||||
EndString = GStrings("CNETEND");
|
||||
else
|
||||
EndString = GStrings("NETEND");
|
||||
EndString = GStrings("NETEND");
|
||||
return;
|
||||
}
|
||||
|
||||
if(gameinfo.gametype == GAME_Chex)
|
||||
EndString = GStrings("CENDGAME");
|
||||
else
|
||||
EndString = GStrings("ENDGAME");
|
||||
EndString = GStrings("ENDGAME");
|
||||
|
||||
|
||||
Init(NULL, EndString, 0, playsound);
|
||||
|
|
@ -561,11 +555,7 @@ DQuickSaveMenu::DQuickSaveMenu(bool playsound)
|
|||
{
|
||||
FString tempstring;
|
||||
|
||||
if(gameinfo.gametype == GAME_Chex)
|
||||
tempstring.Format(GStrings("CQSPROMPT"), quickSaveSlot->Title);
|
||||
else
|
||||
tempstring.Format(GStrings("QSPROMPT"), quickSaveSlot->Title);
|
||||
|
||||
tempstring.Format(GStrings("QSPROMPT"), quickSaveSlot->Title);
|
||||
Init(NULL, tempstring, 0, playsound);
|
||||
}
|
||||
|
||||
|
|
@ -652,11 +642,7 @@ DQuickLoadMenu::DQuickLoadMenu(bool playsound)
|
|||
{
|
||||
FString tempstring;
|
||||
|
||||
if(gameinfo.gametype == GAME_Chex)
|
||||
tempstring.Format(GStrings("CQLPROMPT"), quickSaveSlot->Title);
|
||||
else
|
||||
tempstring.Format(GStrings("QLPROMPT"), quickSaveSlot->Title);
|
||||
|
||||
tempstring.Format(GStrings("QLPROMPT"), quickSaveSlot->Title);
|
||||
Init(NULL, tempstring, 0, playsound);
|
||||
}
|
||||
|
||||
|
|
@ -693,10 +679,7 @@ CCMD (quickload)
|
|||
|
||||
if (netgame)
|
||||
{
|
||||
if(gameinfo.gametype == GAME_Chex)
|
||||
M_StartMessage (GStrings("CQLOADNET"), NULL);
|
||||
else
|
||||
M_StartMessage (GStrings("QLOADNET"), NULL);
|
||||
M_StartMessage (GStrings("QLOADNET"), NULL);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue