mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-27 20:20:40 +00:00
227 lines
5.3 KiB
Text
227 lines
5.3 KiB
Text
//-------------------------------------------------------------------------------------------
|
|
//
|
|
//
|
|
//
|
|
//-------------------------------------------------------------------------------------------
|
|
|
|
LISTMENU "MainMenu"
|
|
{
|
|
ScriptId 0
|
|
ifgame(Duke, Nam, WW2GI, Fury)
|
|
{
|
|
ifgame(fury)
|
|
{
|
|
position 40, 130, 60
|
|
fixedspacing 2
|
|
}
|
|
else
|
|
{
|
|
position 160, 55, 115
|
|
centermenu
|
|
}
|
|
class "Duke.MainMenu"
|
|
NativeTextItem "$MNU_NEWGAME", "n", "EpisodeMenu"
|
|
//NativeTextItem "$MNU_NEWGAME", "m", "MultiMenu" // In EDuke this replaces "New Game" when in networking mode. Kept here as a reminder (I'm not going to support EDuke's C/S implementation)
|
|
ifgame(fury)
|
|
{
|
|
NativeTextItem "$MNU_CONTINUE", "l", "LoadGameMenu"
|
|
}
|
|
else
|
|
{
|
|
NativeTextItem "$MNU_LOADGAME", "l", "LoadGameMenu"
|
|
}
|
|
NativeTextItem "$MNU_OPTIONS", "o", "OptionsMenu"
|
|
NativeTextItem "$MNU_HELP", "h", "HelpMenu"
|
|
NativeTextItem "$MNU_CREDITS", "c", "CreditsMenu"
|
|
NativeTextItem "$MNU_QUITGAME", "q", "QuitMenu"
|
|
}
|
|
ifgame(Redneck, RedneckRides)
|
|
{
|
|
NativeTextItem "$MNU_NEWGAME", "n", "EpisodeMenu"
|
|
//NativeTextItem "$MNU_NEWGAME", "m", "MultiMenu" // In EDuke this replaces "New Game" when in networking mode. Kept here as a reminder (I'm not going to support EDuke's C/S implementation)
|
|
NativeTextItem "$MNU_LOADGAME", "l", "LoadGameMenu"
|
|
NativeTextItem "$MNU_OPTIONS", "o", "OptionsMenu"
|
|
NativeTextItem "$MNU_HELP", "h", "HelpMenu"
|
|
NativeTextItem "$MNU_CREDITS", "c", "CreditsMenu"
|
|
NativeTextItem "$MNU_QUITGAME", "q", "QuitMenu"
|
|
}
|
|
ifgame(Blood)
|
|
{
|
|
NativeTextItem "$MNU_NEWGAME", "n", "EpisodeMenu"
|
|
NativeTextItem "$MNU_MULTIPLAYER", "m", "MultiMenu"
|
|
NativeTextItem "$MNU_OPTIONS", "o", "OptionsMenu"
|
|
NativeTextItem "$MNU_LOADGAME", "l", "LoadGameMenu"
|
|
NativeTextItem "$MNU_HELP", "h", "HelpMenu"
|
|
NativeTextItem "$MNU_CREDITS", "c", "CreditsMenu"
|
|
NativeTextItem "$MNU_QUITGAME", "q", "QuitMenu"
|
|
}
|
|
ifgame(ShadowWarrior)
|
|
{
|
|
NativeTextItem "$MNU_NEWGAME", "n", "EpisodeMenu"
|
|
NativeTextItem "$MNU_LOADGAME", "l", "LoadGameMenu"
|
|
NativeTextItem "$MNU_SAVEGAME", "s", "SaveGameMenu"
|
|
NativeTextItem "$MNU_OPTIONS", "o", "OptionsMenu"
|
|
NativeTextItem "$MNU_COOLSTUFF", "h", "HelpMenu"
|
|
NativeTextItem "$MNU_QUITGAME", "q", "QuitMenu"
|
|
}
|
|
}
|
|
|
|
|
|
LISTMENU "IngameMenu"
|
|
{
|
|
ScriptId 50
|
|
ifgame(Duke, Nam, WW2GI, Fury)
|
|
{
|
|
ifgame(fury)
|
|
{
|
|
position 40, 130, 60
|
|
fixedspacing 2
|
|
}
|
|
else
|
|
{
|
|
position 160, 55, 115
|
|
centermenu
|
|
}
|
|
linespacing 15
|
|
class "Duke.MainMenu"
|
|
NativeTextItem "$MNU_NEWGAME", "n", "EpisodeMenu"
|
|
NativeTextItem "$MNU_SAVEGAME", "s", "SaveGameMenu"
|
|
NativeTextItem "$MNU_LOADGAME", "l", "LoadGameMenu"
|
|
NativeTextItem "$MNU_OPTIONS", "o", "OptionsMenu"
|
|
NativeTextItem "$MNU_HELP", "h", "HelpMenu"
|
|
NativeTextItem "$MNU_ENDGAME", "e", "QuitToMenu"
|
|
NativeTextItem "$MNU_QUITGAME", "q", "QuitMenu"
|
|
}
|
|
ifgame(Redneck, RedneckRides)
|
|
{
|
|
linespacing 15
|
|
NativeTextItem "$MNU_NEWGAME", "n", "EpisodeMenu"
|
|
NativeTextItem "$MNU_SAVEGAME", "s", "SaveGameMenu"
|
|
NativeTextItem "$MNU_LOADGAME", "l", "LoadGameMenu"
|
|
NativeTextItem "$MNU_OPTIONS", "o", "OptionsMenu"
|
|
NativeTextItem "$MNU_HELP", "h", "HelpMenu"
|
|
NativeTextItem "$MNU_ENDGAME", "e", "QuitToMenu"
|
|
NativeTextItem "$MNU_QUITGAME", "q", "QuitMenu"
|
|
}
|
|
ifgame(Blood)
|
|
{
|
|
linespacing 15
|
|
NativeTextItem "$MNU_NEWGAME", "n", "EpisodeMenu"
|
|
NativeTextItem "$MNU_MULTIPLAYER", "m", "MultiMenu"
|
|
NativeTextItem "$MNU_OPTIONS", "o", "OptionsMenu"
|
|
NativeTextItem "$MNU_LOADGAME", "l", "LoadGameMenu"
|
|
NativeTextItem "$MNU_HELP", "h", "HelpMenu"
|
|
NativeTextItem "$MNU_CREDITS", "c", "CreditsMenu"
|
|
NativeTextItem "$MNU_QUITGAME", "q", "QuitMenu"
|
|
}
|
|
ifgame(ShadowWarrior)
|
|
{
|
|
linespacing 15
|
|
NativeTextItem "$MNU_NEWGAME", "n", "EpisodeMenu"
|
|
NativeTextItem "$MNU_LOADGAME", "l", "LoadGameMenu"
|
|
NativeTextItem "$MNU_SAVEGAME", "s", "SaveGameMenu"
|
|
NativeTextItem "$MNU_OPTIONS", "o", "OptionsMenu"
|
|
NativeTextItem "$MNU_COOLSTUFF", "h", "HelpMenu"
|
|
NativeTextItem "$MNU_QUITGAME", "q", "QuitMenu"
|
|
}
|
|
}
|
|
|
|
LISTMENU "EpisodeMenu"
|
|
{
|
|
ifgame(Duke, Nam, WW2GI, Fury) // Ion Fury does not use this menu.
|
|
{
|
|
caption "$MNU_SELECTEPISODE"
|
|
position 160, 48, 142
|
|
centermenu
|
|
fixedspacing 5
|
|
class "Duke.ListMenu"
|
|
}
|
|
|
|
ScriptId 100
|
|
}
|
|
|
|
LISTMENU "SkillMenu"
|
|
{
|
|
ifgame(Duke, Nam, WW2GI, Fury) // Ion Fury does not use this menu.
|
|
{
|
|
caption "$MNU_SELECTSKILL"
|
|
position 160, 55, 135
|
|
centermenu
|
|
fixedspacing 5
|
|
class "Duke.ListMenu"
|
|
}
|
|
|
|
ScriptId 110
|
|
}
|
|
|
|
LISTMENU "CustomGameMenu"
|
|
{
|
|
position 160, 48, 142
|
|
centermenu
|
|
fixedspacing 5
|
|
ScriptId 102
|
|
}
|
|
|
|
LISTMENU "CustomSubMenu1"
|
|
{
|
|
position 160, 48, 142
|
|
centermenu
|
|
fixedspacing 5
|
|
ScriptId 103
|
|
}
|
|
|
|
LISTMENU "CustomSubMenu2"
|
|
{
|
|
position 160, 48, 142
|
|
centermenu
|
|
fixedspacing 5
|
|
ScriptId 103
|
|
}
|
|
|
|
LISTMENU "CustomSubMenu3"
|
|
{
|
|
position 160, 48, 142
|
|
centermenu
|
|
fixedspacing 5
|
|
ScriptId 103
|
|
}
|
|
|
|
LISTMENU "CustomSubMenu4"
|
|
{
|
|
position 160, 48, 142
|
|
centermenu
|
|
fixedspacing 5
|
|
ScriptId 103
|
|
}
|
|
|
|
LISTMENU "CustomSubMenu5"
|
|
{
|
|
position 160, 48, 142
|
|
centermenu
|
|
fixedspacing 5
|
|
ScriptId 103
|
|
}
|
|
|
|
LISTMENU "CustomSubMenu6"
|
|
{
|
|
position 160, 48, 142
|
|
centermenu
|
|
fixedspacing 5
|
|
ScriptId 103
|
|
}
|
|
|
|
LISTMENU "CustomSubMenu7"
|
|
{
|
|
position 160, 48, 142
|
|
centermenu
|
|
fixedspacing 5
|
|
ScriptId 103
|
|
}
|
|
|
|
LISTMENU "MultiMenu"
|
|
{
|
|
Caption "$MNU_NETWORKGAME"
|
|
NativeTextItem "$MNU_PLAYERSETUP", "p", "PlayerSetupMenu"
|
|
NativeTextItem "$MNU_JOINGAME", "j", "JoinGameMenu"
|
|
NativeTextItem "$MNU_HOSTGAME", "h", "HostGameMenu"
|
|
}
|