mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 10:40:46 +00:00
- implemented help and credits menu for Blood.
This commit is contained in:
parent
1cfe5be130
commit
eb668180c8
5 changed files with 8 additions and 3 deletions
|
@ -181,7 +181,7 @@ protected:
|
|||
|
||||
void PostDraw()
|
||||
{
|
||||
itemBloodQAV->Draw();
|
||||
//itemBloodQAV->Draw();
|
||||
}
|
||||
|
||||
};
|
||||
|
|
|
@ -102,6 +102,7 @@ bool DImageScrollerMenu::MenuEvent(int mkey, bool fromcontroller)
|
|||
if (pageTransition.current) pageTransition.current->origin = { 0,0 };
|
||||
return DMenu::MenuEvent(mkey, fromcontroller);
|
||||
|
||||
|
||||
case MKEY_Left:
|
||||
if (pageTransition.previous == nullptr)
|
||||
{
|
||||
|
|
|
@ -644,6 +644,7 @@ static void ParseImageScroller(FScanner &sc)
|
|||
FImageScrollerDescriptor *desc = new FImageScrollerDescriptor;
|
||||
desc->mType = MDESC_ImageScroller;
|
||||
desc->mMenuName = sc.String;
|
||||
desc->mClass = NAME_None;
|
||||
|
||||
ParseImageScrollerBody(sc, desc);
|
||||
bool scratch = ReplaceMenu(sc, desc);
|
||||
|
|
|
@ -126,7 +126,7 @@ public:
|
|||
|
||||
const char* localize(const char* str)
|
||||
{
|
||||
return *str == '$' ? GetString(str + 1, nullptr) : str;
|
||||
return *str == '$' ? operator()(str + 1) : str;
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
@ -116,11 +116,12 @@ LISTMENU "IngameMenu"
|
|||
centermenu
|
||||
Linespacing 17
|
||||
NativeTextItem "$MNU_NEWGAME", "n", "EpisodeMenu"
|
||||
NativeTextItem "$MNU_MULTIPLAYER", "m", "MultiMenu"
|
||||
NativeTextItem "$MNU_OPTIONS", "o", "OptionsMenu"
|
||||
NativeTextItem "$MNU_SAVEGAME", "s", "SaveGameMenu"
|
||||
NativeTextItem "$MNU_LOADGAME", "l", "LoadGameMenu"
|
||||
NativeTextItem "$MNU_HELP", "h", "HelpMenu"
|
||||
NativeTextItem "$MNU_CREDITS", "c", "CreditsMenu"
|
||||
NativeTextItem "$MNU_ENDGAME", "e", "QuitToMenu"
|
||||
NativeTextItem "$MNU_QUITGAME", "q", "QuitMenu"
|
||||
}
|
||||
ifgame(ShadowWarrior)
|
||||
|
@ -419,6 +420,7 @@ ImageScroller "HelpMenu"
|
|||
}
|
||||
ifgame(blood)
|
||||
{
|
||||
class "Blood.ImageScrollerMenu"
|
||||
// The duplication here is to integrate the alternating versions of HELP3
|
||||
QAVAnimationItem "Help4.qav"
|
||||
QAVAnimationItem "Help5.qav"
|
||||
|
@ -530,6 +532,7 @@ ImageScroller "CreditsMenu"
|
|||
}
|
||||
ifgame(blood)
|
||||
{
|
||||
class "Blood.ImageScrollerMenu"
|
||||
QAVAnimationItem "Credits.qav"
|
||||
}
|
||||
ifgame(ShadowWarrior)
|
||||
|
|
Loading…
Reference in a new issue