summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorRoman Masanin <36927roma@gmail.com>2020-11-08 14:23:05 +0100
committerRoman Masanin <36927roma@gmail.com>2020-11-08 14:23:05 +0100
commit23d23f646273db1a9b6f287110557d83d0a9c5c9 (patch)
tree53350895edf7e286180ca226bdef019db089fc5d /src/core
parentFORMAT (diff)
parentPickups fix (diff)
downloadre3-23d23f646273db1a9b6f287110557d83d0a9c5c9.tar
re3-23d23f646273db1a9b6f287110557d83d0a9c5c9.tar.gz
re3-23d23f646273db1a9b6f287110557d83d0a9c5c9.tar.bz2
re3-23d23f646273db1a9b6f287110557d83d0a9c5c9.tar.lz
re3-23d23f646273db1a9b6f287110557d83d0a9c5c9.tar.xz
re3-23d23f646273db1a9b6f287110557d83d0a9c5c9.tar.zst
re3-23d23f646273db1a9b6f287110557d83d0a9c5c9.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/Cam.cpp2
-rw-r--r--src/core/Pad.cpp7
-rw-r--r--src/core/config.h2
3 files changed, 9 insertions, 2 deletions
diff --git a/src/core/Cam.cpp b/src/core/Cam.cpp
index 7af652ad..7560a86e 100644
--- a/src/core/Cam.cpp
+++ b/src/core/Cam.cpp
@@ -4626,7 +4626,7 @@ CCam::Process_FollowPed_Rotation(const CVector &CameraTarget, float TargetOrient
*/
{
LookLeftRight = -CPad::GetPad(0)->LookAroundLeftRight();
- LookUpDown = -CPad::GetPad(0)->LookAroundUpDown();
+ LookUpDown = CPad::GetPad(0)->LookAroundUpDown();
}
float AlphaOffset, BetaOffset;
if(UseMouse){
diff --git a/src/core/Pad.cpp b/src/core/Pad.cpp
index b723eb1d..6752c1c5 100644
--- a/src/core/Pad.cpp
+++ b/src/core/Pad.cpp
@@ -3222,6 +3222,9 @@ int16 CPad::SniperModeLookUpDown(void)
int16 axis = NewState.LeftStickY;
int16 dpad;
+#ifdef FIX_BUGS
+ axis = -axis;
+#endif
if (CPad::bInvertLook4Pad) {
axis = -axis;
dpad = (NewState.DPadDown - NewState.DPadUp) / 2;
@@ -3257,7 +3260,9 @@ int16 CPad::LookAroundLeftRight(void)
int16 CPad::LookAroundUpDown(void)
{
int16 axis = GetPad(0)->NewState.RightStickY;
-
+#ifdef FIX_BUGS
+ axis = -axis;
+#endif
if (CPad::bInvertLook4Pad)
axis = -axis;
diff --git a/src/core/config.h b/src/core/config.h
index ce77391c..6e0a17f7 100644
--- a/src/core/config.h
+++ b/src/core/config.h
@@ -243,8 +243,10 @@ enum Config {
//#define NO_ISLAND_LOADING // disable loadscreen between islands via loading all island data at once, consumes more memory and CPU
//#define USE_TEXTURE_POOL
//#define CUTSCENE_BORDERS_SWITCH
+#ifdef LIBRW
//#define EXTENDED_COLOURFILTER // more options for colour filter (replaces mblur)
//#define EXTENDED_PIPELINES // custom render pipelines (includes Neo)
+#endif
//#define MULTISAMPLING // adds MSAA option TODO
#ifdef LIBRW