summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwithmorten <morten.with@gmail.com>2020-11-15 23:06:09 +0100
committerwithmorten <morten.with@gmail.com>2020-11-15 23:06:29 +0100
commitac29ae6e23ac174adf03acb85749533e601ec5d0 (patch)
treeb4a794187117ced42b23601cafdebd87fe7badea
parentMerge branch 'upstream/master' (diff)
downloadre3-ac29ae6e23ac174adf03acb85749533e601ec5d0.tar
re3-ac29ae6e23ac174adf03acb85749533e601ec5d0.tar.gz
re3-ac29ae6e23ac174adf03acb85749533e601ec5d0.tar.bz2
re3-ac29ae6e23ac174adf03acb85749533e601ec5d0.tar.lz
re3-ac29ae6e23ac174adf03acb85749533e601ec5d0.tar.xz
re3-ac29ae6e23ac174adf03acb85749533e601ec5d0.tar.zst
re3-ac29ae6e23ac174adf03acb85749533e601ec5d0.zip
-rw-r--r--gamefiles/TEXT/american.gxtbin220024 -> 220080 bytes
-rw-r--r--src/core/MenuScreensCustom.cpp10
-rw-r--r--utils/gxt/american.txt3
3 files changed, 13 insertions, 0 deletions
diff --git a/gamefiles/TEXT/american.gxt b/gamefiles/TEXT/american.gxt
index e7f714b2..1054ca12 100644
--- a/gamefiles/TEXT/american.gxt
+++ b/gamefiles/TEXT/american.gxt
Binary files differ
diff --git a/src/core/MenuScreensCustom.cpp b/src/core/MenuScreensCustom.cpp
index d3d7474d..5fc44661 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,9 @@ 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 },
+#ifdef INVERT_LOOK_FOR_PAD
+ INVERT_PAD_SELECTOR
+#endif
MENUACTION_MOUSESTEER, "FET_MST", { nil, SAVESLOT_NONE, MENUPAGE_MOUSE_CONTROLS },
MENUACTION_CHANGEMENU, "FEDS_TB", { nil, SAVESLOT_NONE, MENUPAGE_NONE },
},
diff --git a/utils/gxt/american.txt b/utils/gxt/american.txt
index c428a570..cdee16f9 100644
--- a/utils/gxt/american.txt
+++ b/utils/gxt/american.txt
@@ -8061,6 +8061,9 @@ PS2
[FEM_XBX]
XBOX
+[FEC_IVP]
+INVERT PAD VERTICALLY
+
{ end of file }
[DUMMY]