- Added Karate Chris's patch for teamplay MAPINFO option.
- Added Karate Chris's patch for custom damage color per player class. - Added Karate Chris's patch for respawnlimit skill property. - Added Karate Chris's patch for Strife quit messages. - Fixed: P_RailAttack ignored the puff's damage type. SVN r714 (trunk)
This commit is contained in:
parent
d134deda95
commit
58816f5d09
13 changed files with 117 additions and 17 deletions
|
|
@ -126,7 +126,7 @@ static void M_Options (int choice);
|
|||
static void M_EndGame (int choice);
|
||||
static void M_ReadThis (int choice);
|
||||
static void M_ReadThisMore (int choice);
|
||||
static void M_QuitDOOM (int choice);
|
||||
static void M_QuitGame (int choice);
|
||||
static void M_GameFiles (int choice);
|
||||
static void M_ClearSaveStuff ();
|
||||
|
||||
|
|
@ -275,7 +275,7 @@ static oldmenuitem_t MainMenu[]=
|
|||
{1,0,'s',"M_SAVEG",M_SaveGame, CR_UNTRANSLATED},
|
||||
{1,0,'o',"M_OPTION",M_Options, CR_UNTRANSLATED}, // [RH] Moved
|
||||
{1,0,'r',"M_RDTHIS",M_ReadThis, CR_UNTRANSLATED}, // Another hickup with Special edition.
|
||||
{1,0,'q',"M_QUITG",M_QuitDOOM, CR_UNTRANSLATED}
|
||||
{1,0,'q',"M_QUITG",M_QuitGame, CR_UNTRANSLATED}
|
||||
};
|
||||
|
||||
static oldmenu_t MainDef =
|
||||
|
|
@ -296,7 +296,7 @@ static oldmenuitem_t HereticMainMenu[] =
|
|||
{1,1,'o',"MNU_OPTIONS",M_Options, CR_UNTRANSLATED},
|
||||
{1,1,'f',"MNU_GAMEFILES",M_GameFiles, CR_UNTRANSLATED},
|
||||
{1,1,'i',"MNU_INFO",M_ReadThis, CR_UNTRANSLATED},
|
||||
{1,1,'q',"MNU_QUITGAME",M_QuitDOOM, CR_UNTRANSLATED}
|
||||
{1,1,'q',"MNU_QUITGAME",M_QuitGame, CR_UNTRANSLATED}
|
||||
};
|
||||
|
||||
static oldmenu_t HereticMainDef =
|
||||
|
|
@ -625,7 +625,7 @@ CCMD (menu_quit)
|
|||
{ // F10
|
||||
//M_StartControlPanel (true);
|
||||
S_Sound (CHAN_VOICE, "menu/activate", 1, ATTN_NONE);
|
||||
M_QuitDOOM(0);
|
||||
M_QuitGame(0);
|
||||
}
|
||||
|
||||
CCMD (menu_game)
|
||||
|
|
@ -1942,7 +1942,7 @@ void M_FinishReadThis (int choice)
|
|||
}
|
||||
|
||||
//
|
||||
// M_QuitDOOM
|
||||
// M_QuitGame
|
||||
//
|
||||
|
||||
void M_QuitResponse(int ch)
|
||||
|
|
@ -1960,16 +1960,16 @@ void M_QuitResponse(int ch)
|
|||
ST_Endoom();
|
||||
}
|
||||
|
||||
void M_QuitDOOM (int choice)
|
||||
void M_QuitGame (int choice)
|
||||
{
|
||||
// We pick index 0 which is language sensitive,
|
||||
// or one at random, between 1 and maximum number.
|
||||
if (gameinfo.gametype == GAME_Doom)
|
||||
if (gameinfo.gametype & (GAME_Doom|GAME_Strife))
|
||||
{
|
||||
int quitmsg = gametic % NUM_QUITMESSAGES;
|
||||
int quitmsg = gametic % (gameinfo.gametype == GAME_Doom ? NUM_QUITDOOMMESSAGES : NUM_QUITSTRIFEMESSAGES);
|
||||
if (quitmsg != 0)
|
||||
{
|
||||
EndString.Format("QUITMSG%d", quitmsg);
|
||||
EndString.Format("QUITMSG%d", quitmsg + (gameinfo.gametype == GAME_Doom ? 0 : NUM_QUITDOOMMESSAGES));
|
||||
EndString.Format("%s\n\n%s", GStrings(EndString), GStrings("DOSY"));
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue