mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-07 05:21:12 +00:00
256 lines
6 KiB
Text
256 lines
6 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
|
|
animatedtransition
|
|
}
|
|
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
|
|
animatedtransition
|
|
}
|
|
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
|
|
animatedtransition
|
|
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"
|
|
animatedtransition
|
|
}
|
|
ScriptId 110
|
|
}
|
|
|
|
// The custom menus are only supported by the EDuke32 frontend.
|
|
LISTMENU "CustomGameMenu"
|
|
{
|
|
position 160, 48, 142
|
|
centermenu
|
|
fixedspacing 5
|
|
ScriptId 102
|
|
class "Duke.ListMenu"
|
|
animatedtransition
|
|
}
|
|
|
|
LISTMENU "CustomSubMenu1"
|
|
{
|
|
position 160, 48, 142
|
|
centermenu
|
|
fixedspacing 5
|
|
ScriptId 103
|
|
class "Duke.ListMenu"
|
|
animatedtransition
|
|
}
|
|
|
|
LISTMENU "CustomSubMenu2"
|
|
{
|
|
position 160, 48, 142
|
|
centermenu
|
|
fixedspacing 5
|
|
ScriptId 103
|
|
class "Duke.ListMenu"
|
|
animatedtransition
|
|
}
|
|
|
|
LISTMENU "CustomSubMenu3"
|
|
{
|
|
position 160, 48, 142
|
|
centermenu
|
|
fixedspacing 5
|
|
ScriptId 103
|
|
class "Duke.ListMenu"
|
|
animatedtransition
|
|
}
|
|
|
|
LISTMENU "CustomSubMenu4"
|
|
{
|
|
position 160, 48, 142
|
|
centermenu
|
|
fixedspacing 5
|
|
ScriptId 103
|
|
class "Duke.ListMenu"
|
|
animatedtransition
|
|
}
|
|
|
|
LISTMENU "CustomSubMenu5"
|
|
{
|
|
position 160, 48, 142
|
|
centermenu
|
|
fixedspacing 5
|
|
ScriptId 103
|
|
class "Duke.ListMenu"
|
|
animatedtransition
|
|
}
|
|
|
|
LISTMENU "CustomSubMenu6"
|
|
{
|
|
position 160, 48, 142
|
|
centermenu
|
|
fixedspacing 5
|
|
ScriptId 103
|
|
class "Duke.ListMenu"
|
|
animatedtransition
|
|
}
|
|
|
|
LISTMENU "CustomSubMenu7"
|
|
{
|
|
position 160, 48, 142
|
|
centermenu
|
|
fixedspacing 5
|
|
ScriptId 103
|
|
class "Duke.ListMenu"
|
|
animatedtransition
|
|
}
|
|
|
|
LISTMENU "MultiMenu"
|
|
{
|
|
ifgame(Duke, Nam, WW2GI, Fury) // Ion Fury does not use this menu.
|
|
{
|
|
position 160, 55, 135
|
|
centermenu
|
|
fixedspacing 5
|
|
class "Duke.ListMenu"
|
|
animatedtransition
|
|
}
|
|
|
|
Caption "$MNU_NETWORKGAME"
|
|
NativeTextItem "$MNU_PLAYERSETUP", "p", "PlayerSetupMenu"
|
|
NativeTextItem "$MNU_JOINGAME", "j", "JoinGameMenu"
|
|
NativeTextItem "$MNU_HOSTGAME", "h", "HostGameMenu"
|
|
}
|