summaryrefslogtreecommitdiffstats
path: root/src/core/MenuScreens.cpp
diff options
context:
space:
mode:
authorRoman Masanin <36927roma@gmail.com>2020-11-08 18:32:31 +0100
committerRoman Masanin <36927roma@gmail.com>2020-11-08 18:32:31 +0100
commite269809bfd9d2277eaa5d2e80763e54449bc25ce (patch)
tree166ecdb72eb8d337b6e9a699912170b9fe94e092 /src/core/MenuScreens.cpp
parentsome "optimizations". same like I did in VC (diff)
parentMerge pull request #809 from erorcun/master (diff)
downloadre3-e269809bfd9d2277eaa5d2e80763e54449bc25ce.tar
re3-e269809bfd9d2277eaa5d2e80763e54449bc25ce.tar.gz
re3-e269809bfd9d2277eaa5d2e80763e54449bc25ce.tar.bz2
re3-e269809bfd9d2277eaa5d2e80763e54449bc25ce.tar.lz
re3-e269809bfd9d2277eaa5d2e80763e54449bc25ce.tar.xz
re3-e269809bfd9d2277eaa5d2e80763e54449bc25ce.tar.zst
re3-e269809bfd9d2277eaa5d2e80763e54449bc25ce.zip
Diffstat (limited to 'src/core/MenuScreens.cpp')
-rw-r--r--src/core/MenuScreens.cpp14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/core/MenuScreens.cpp b/src/core/MenuScreens.cpp
index 533fc755..9eff09e6 100644
--- a/src/core/MenuScreens.cpp
+++ b/src/core/MenuScreens.cpp
@@ -2,8 +2,10 @@
#include "Frontend.h"
#ifdef PC_MENU
-// If you want to add new options, please don't do that here and see CustomFrontendOptionsPopulate in re3.cpp.
+// Please don't touch this file, except for bug fixing or ports.
+// Check MenuScreensCustom.cpp
+#ifndef CUSTOM_FRONTEND_OPTIONS
CMenuScreen aScreens[MENUPAGES] = {
// MENUPAGE_NONE = 0
{ "", 1, MENUPAGE_DISABLED, MENUPAGE_DISABLED, 0, 0, },
@@ -390,6 +392,9 @@ CMenuScreen aScreens[MENUPAGES] = {
{ "FET_PAU", 1, MENUPAGE_DISABLED, MENUPAGE_DISABLED, 0, 0,
MENUACTION_RESUME, "FEM_RES", SAVESLOT_NONE, MENUPAGE_NONE,
MENUACTION_CHANGEMENU, "FEN_STA", SAVESLOT_NONE, MENUPAGE_NEW_GAME,
+#ifdef MENU_MAP
+ MENUACTION_CHANGEMENU, "FEG_MAP", SAVESLOT_NONE, MENUPAGE_MAP,
+#endif
MENUACTION_CHANGEMENU, "FEP_STA", SAVESLOT_NONE, MENUPAGE_STATS,
MENUACTION_CHANGEMENU, "FEP_BRI", SAVESLOT_NONE, MENUPAGE_BRIEFS,
MENUACTION_CHANGEMENU, "FET_OPT", SAVESLOT_NONE, MENUPAGE_OPTIONS,
@@ -436,10 +441,10 @@ CMenuScreen aScreens[MENUPAGES] = {
#ifdef MENU_MAP
// MENUPAGE_MAP
- { "FEG_MAP", 1, MENUPAGE_NONE, MENUPAGE_NONE, 5, 2,
+ { "FEG_MAP", 1, MENUPAGE_NONE, MENUPAGE_NONE, 2, 2,
MENUACTION_UNK110, "", SAVESLOT_NONE, MENUPAGE_NONE, // to prevent cross/enter to go back
MENUACTION_CHANGEMENU, "FEDS_TB", SAVESLOT_NONE, MENUPAGE_NONE,
- },
+ },
#endif
// MENUPAGE_UNK
@@ -449,4 +454,5 @@ CMenuScreen aScreens[MENUPAGES] = {
};
-#endif \ No newline at end of file
+#endif
+#endif