mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
- Exhumed menu definition.
This commit is contained in:
parent
0885befe6b
commit
7e73073103
3 changed files with 26 additions and 0 deletions
|
@ -464,6 +464,7 @@ bool M_SetMenu(FName menu, int param, FName caller)
|
|||
{
|
||||
case NAME_StartGame:
|
||||
M_ClearMenus(); // must be done before starting the level.
|
||||
if (caller == NAME_MainMenu) GameStartupInfo.Episode = param;
|
||||
STAT_StartNewGame(gVolumeNames[GameStartupInfo.Episode], GameStartupInfo.Skill);
|
||||
gi->StartGame(GameStartupInfo);
|
||||
return false;
|
||||
|
|
|
@ -151,6 +151,7 @@ static const gamefilter games[] = {
|
|||
{ "RedneckRides", GAMEFLAG_RRRA},
|
||||
{ "Blood", GAMEFLAG_BLOOD},
|
||||
{ "ShadowWarrior", GAMEFLAG_SW},
|
||||
{ "Exhumed", GAMEFLAG_POWERSLAVE|GAMEFLAG_EXHUMED},
|
||||
};
|
||||
|
||||
// for other parts that need to filter by game name.
|
||||
|
|
|
@ -78,6 +78,18 @@ LISTMENU "MainMenu"
|
|||
}
|
||||
NativeTextItem "$MNU_QUITGAME", "q", "QuitMenu"
|
||||
}
|
||||
ifgame(Exhumed)
|
||||
{
|
||||
Position 160, 65
|
||||
centermenu
|
||||
class "Exhumed.MainMenu"
|
||||
linespacing 22
|
||||
NativeTextItem "3460", "n", "StartGame 1"
|
||||
NativeTextItem "3461", "l", "LoadGameMenu"
|
||||
NativeTextItem "3462", "m", "StartGame 2"
|
||||
NativeTextItem "3463", "v", "OptionsMenu"
|
||||
NativeTextItem "3464", "q", "QuitMenu"
|
||||
}
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------------------------------------
|
||||
|
@ -153,6 +165,18 @@ LISTMENU "IngameMenu"
|
|||
}
|
||||
NativeTextItem "$MNU_QUITGAME", "q", "QuitMenu"
|
||||
}
|
||||
ifgame(Exhumed)
|
||||
{
|
||||
Position 160, 65
|
||||
centermenu
|
||||
class "Exhumed.MainMenu"
|
||||
linespacing 22
|
||||
NativeTextItem "3460", "n", "StartGame 1"
|
||||
NativeTextItem "3461", "l", "LoadGameMenu"
|
||||
NativeTextItem "3462", "m", "StartGame 2"
|
||||
NativeTextItem "3463", "v", "OptionsMenu"
|
||||
NativeTextItem "3464", "q", "QuitMenu"
|
||||
}
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in a new issue