diff options
author | erorcun <erayorcunus@gmail.com> | 2020-05-28 21:06:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-28 21:06:50 +0200 |
commit | e65a09ea09ccc60c10e4969f8b98c3dfb7566f0f (patch) | |
tree | 3dc76df5c75331a6fa3ba98706a57a2571a2367f /src/core/Frontend.h | |
parent | fix (diff) | |
parent | remove inlining attempts + reload frontend options for real (diff) | |
download | re3-e65a09ea09ccc60c10e4969f8b98c3dfb7566f0f.tar re3-e65a09ea09ccc60c10e4969f8b98c3dfb7566f0f.tar.gz re3-e65a09ea09ccc60c10e4969f8b98c3dfb7566f0f.tar.bz2 re3-e65a09ea09ccc60c10e4969f8b98c3dfb7566f0f.tar.lz re3-e65a09ea09ccc60c10e4969f8b98c3dfb7566f0f.tar.xz re3-e65a09ea09ccc60c10e4969f8b98c3dfb7566f0f.tar.zst re3-e65a09ea09ccc60c10e4969f8b98c3dfb7566f0f.zip |
Diffstat (limited to 'src/core/Frontend.h')
-rw-r--r-- | src/core/Frontend.h | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/src/core/Frontend.h b/src/core/Frontend.h index b65a60f1..7d4cdacc 100644 --- a/src/core/Frontend.h +++ b/src/core/Frontend.h @@ -370,13 +370,8 @@ enum eMenuAction MENUACTION_UNK112, MENUACTION_REJECT_RETRY, MENUACTION_UNK114, -#ifdef MORE_LANGUAGES - MENUACTION_LANG_PL, - MENUACTION_LANG_RUS, - MENUACTION_LANG_JAP, -#endif -#ifdef IMPROVED_VIDEOMODE - MENUACTION_SCREENMODE +#ifdef CUSTOM_FRONTEND_OPTIONS + MENUACTION_TRIGGERFUNC #endif }; @@ -472,7 +467,7 @@ struct CMenuScreen int32 m_Action; // eMenuAction char m_EntryName[8]; int32 m_SaveSlot; // eSaveSlot - int32 m_TargetMenu; // eMenuScreen + int32 m_TargetMenu; // eMenuScreen // FrontendOption ID if it's a custom option } m_aEntries[NUM_MENUROWS]; }; @@ -651,12 +646,14 @@ public: int GetNumOptionsCntrlConfigScreens(); int ConstructStatLine(int); - // New (not in function or inlined in the game) - void ThingsToDoBeforeLeavingPage(); + // Those are either inlined in game, not in function yet, or I can't believe that they're not inlined. + // Names were made up by me. + void ThingsToDoBeforeGoingBack(); void ScrollUpListByOne(); void ScrollDownListByOne(); void PageUpList(bool); void PageDownList(bool); + int8 GetPreviousPageOption(); // uint8 GetNumberOfMenuOptions(); }; @@ -666,3 +663,4 @@ VALIDATE_SIZE(CMenuManager, 0x564); #endif extern CMenuManager FrontEndMenuManager; +extern CMenuScreen aScreens[];
\ No newline at end of file |