summaryrefslogtreecommitdiffstats
path: root/src/core/Frontend.h
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2020-05-28 02:07:26 +0200
committereray orçunus <erayorcunus@gmail.com>2020-05-28 10:34:12 +0200
commit329a387fdfab403bfd8fadef025510ee1081e38f (patch)
treece602c20941173f858b768dcd9d37564b513c634 /src/core/Frontend.h
parentcrash fix (diff)
downloadre3-329a387fdfab403bfd8fadef025510ee1081e38f.tar
re3-329a387fdfab403bfd8fadef025510ee1081e38f.tar.gz
re3-329a387fdfab403bfd8fadef025510ee1081e38f.tar.bz2
re3-329a387fdfab403bfd8fadef025510ee1081e38f.tar.lz
re3-329a387fdfab403bfd8fadef025510ee1081e38f.tar.xz
re3-329a387fdfab403bfd8fadef025510ee1081e38f.tar.zst
re3-329a387fdfab403bfd8fadef025510ee1081e38f.zip
Diffstat (limited to 'src/core/Frontend.h')
-rw-r--r--src/core/Frontend.h17
1 files changed, 7 insertions, 10 deletions
diff --git a/src/core/Frontend.h b/src/core/Frontend.h
index 89517528..6f68de33 100644
--- a/src/core/Frontend.h
+++ b/src/core/Frontend.h
@@ -366,13 +366,8 @@ enum eMenuAction
MENUACTION_UNK108,
MENUACTION_UNK109,
MENUACTION_UNK110,
-#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
};
@@ -468,7 +463,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];
};
@@ -647,12 +642,13 @@ public:
int GetNumOptionsCntrlConfigScreens();
int ConstructStatLine(int);
- // New (not in function or inlined in the game)
- void ThingsToDoBeforeLeavingPage();
+ // New (inlined ones and the ones we can't believe it's not inlined)
+ void ThingsToDoBeforeGoingBack();
void ScrollUpListByOne();
void ScrollDownListByOne();
void PageUpList(bool);
void PageDownList(bool);
+ int8 GetPreviousPageOption();
// uint8 GetNumberOfMenuOptions();
};
@@ -662,3 +658,4 @@ VALIDATE_SIZE(CMenuManager, 0x564);
#endif
extern CMenuManager FrontEndMenuManager;
+extern CMenuScreen aScreens[]; \ No newline at end of file