summaryrefslogtreecommitdiffstats
path: root/src/core/MenuScreensCustom.cpp
diff options
context:
space:
mode:
authorerorcun <erayorcunus@gmail.com>2020-11-16 00:36:47 +0100
committerGitHub <noreply@github.com>2020-11-16 00:36:47 +0100
commit1686eb98719ed06d4f146c9eebf1ba91a7cb80a2 (patch)
treeec077d93f1d1c315b8a5611d1f0355afb979be49 /src/core/MenuScreensCustom.cpp
parentMake collision code placement more like original (+ small fixes) (diff)
parentmove config.h define to CUSTOM_FRONTEND_OPTIONS (diff)
downloadre3-1686eb98719ed06d4f146c9eebf1ba91a7cb80a2.tar
re3-1686eb98719ed06d4f146c9eebf1ba91a7cb80a2.tar.gz
re3-1686eb98719ed06d4f146c9eebf1ba91a7cb80a2.tar.bz2
re3-1686eb98719ed06d4f146c9eebf1ba91a7cb80a2.tar.lz
re3-1686eb98719ed06d4f146c9eebf1ba91a7cb80a2.tar.xz
re3-1686eb98719ed06d4f146c9eebf1ba91a7cb80a2.tar.zst
re3-1686eb98719ed06d4f146c9eebf1ba91a7cb80a2.zip
Diffstat (limited to 'src/core/MenuScreensCustom.cpp')
-rw-r--r--src/core/MenuScreensCustom.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/core/MenuScreensCustom.cpp b/src/core/MenuScreensCustom.cpp
index d3d7474d..f8ff3acf 100644
--- a/src/core/MenuScreensCustom.cpp
+++ b/src/core/MenuScreensCustom.cpp
@@ -15,6 +15,7 @@
#include "FileLoader.h"
#include "Collision.h"
#include "ModelInfo.h"
+#include "Pad.h"
// Menu screens array is at the bottom of the file.
@@ -76,6 +77,12 @@
#define PIPELINES_SELECTOR
#endif
+#ifdef INVERT_LOOK_FOR_PAD
+ #define INVERT_PAD_SELECTOR MENUACTION_CFO_SELECT, "FEC_IVP", { new CCFOSelect((int8*)&CPad::bInvertLook4Pad, "InvertPad", off_on, 2, false, nil) },
+#else
+ #define INVERT_PAD_SELECTOR
+#endif
+
const char *filterNames[] = { "FEM_NON", "FEM_SIM", "FEM_NRM", "FEM_MOB" };
const char *vehPipelineNames[] = { "FED_MFX", "FED_NEO" };
const char *off_on[] = { "FEM_OFF", "FEM_ON" };
@@ -780,6 +787,7 @@ CMenuScreenCustom aScreens[MENUPAGES] = {
{ "FET_MTI", MENUPAGE_CONTROLLER_PC, MENUPAGE_CONTROLLER_PC, nil, nil,
MENUACTION_MOUSESENS, "FEC_MSH", { nil, SAVESLOT_NONE, MENUPAGE_MOUSE_CONTROLS },
MENUACTION_INVVERT, "FEC_IVV", { nil, SAVESLOT_NONE, MENUPAGE_MOUSE_CONTROLS },
+ INVERT_PAD_SELECTOR
MENUACTION_MOUSESTEER, "FET_MST", { nil, SAVESLOT_NONE, MENUPAGE_MOUSE_CONTROLS },
MENUACTION_CHANGEMENU, "FEDS_TB", { nil, SAVESLOT_NONE, MENUPAGE_NONE },
},