summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorFire-Head <Fire-Head@users.noreply.github.com>2021-01-08 21:55:13 +0100
committerFire-Head <Fire-Head@users.noreply.github.com>2021-01-08 21:55:13 +0100
commit02f6ed7da39c06ba7c219e976150999f18a1461e (patch)
tree6b641bbf8a624973c081e3a5a6c6ebfc70bbaa37 /src/core
parentMerge branch 'master' of https://github.com/GTAmodding/re3 (diff)
downloadre3-02f6ed7da39c06ba7c219e976150999f18a1461e.tar
re3-02f6ed7da39c06ba7c219e976150999f18a1461e.tar.gz
re3-02f6ed7da39c06ba7c219e976150999f18a1461e.tar.bz2
re3-02f6ed7da39c06ba7c219e976150999f18a1461e.tar.lz
re3-02f6ed7da39c06ba7c219e976150999f18a1461e.tar.xz
re3-02f6ed7da39c06ba7c219e976150999f18a1461e.tar.zst
re3-02f6ed7da39c06ba7c219e976150999f18a1461e.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/re3.cpp20
1 files changed, 16 insertions, 4 deletions
diff --git a/src/core/re3.cpp b/src/core/re3.cpp
index 3cfc0ec0..6117462a 100644
--- a/src/core/re3.cpp
+++ b/src/core/re3.cpp
@@ -218,10 +218,10 @@ void LoadINISettings()
#ifdef PROPER_SCALING
CDraw::ms_bProperScaling = CheckAndReadIniInt("Draw", "ProperScaling", CDraw::ms_bProperScaling);
#endif
-#ifdef FIX_SPRITES
+#ifdef FIX_RADAR
CDraw::ms_bFixRadar = CheckAndReadIniInt("Draw", "FixRadar", CDraw::ms_bFixRadar);
#endif
-#ifdef FIX_RADAR
+#ifdef FIX_SPRITES
CDraw::ms_bFixSprites = CheckAndReadIniInt("Draw", "FixSprites", CDraw::ms_bFixSprites);
#endif
}
@@ -265,10 +265,10 @@ void SaveINISettings()
#ifdef PROPER_SCALING
CheckAndSaveIniInt("Draw", "ProperScaling", CDraw::ms_bProperScaling, changed);
#endif
-#ifdef FIX_SPRITES
+#ifdef FIX_RADAR
CheckAndSaveIniInt("Draw", "FixRadar", CDraw::ms_bFixRadar, changed);
#endif
-#ifdef FIX_RADAR
+#ifdef FIX_SPRITES
CheckAndSaveIniInt("Draw", "FixSprites", CDraw::ms_bFixSprites, changed);
#endif
@@ -636,6 +636,18 @@ extern bool gbRenderWorld2;
DebugMenuAddVarBool8("Render", "Don't render Vehicles", &gbDontRenderVehicles, nil);
DebugMenuAddVarBool8("Render", "Don't render Objects", &gbDontRenderObjects, nil);
DebugMenuAddVarBool8("Render", "Don't Render Water", &gbDontRenderWater, nil);
+
+#ifdef PROPER_SCALING
+ DebugMenuAddVarBool8("Draw", "Proper Scaling", &CDraw::ms_bProperScaling, nil);
+#endif
+#ifdef FIX_RADAR
+ DebugMenuAddVarBool8("Draw", "Fix Radar", &CDraw::ms_bFixRadar, nil);
+#endif
+#ifdef FIX_SPRITES
+ DebugMenuAddVarBool8("Draw", "Fix Sprites", &CDraw::ms_bFixSprites, nil);
+#endif
+
+
#ifndef FINAL
DebugMenuAddVarBool8("Debug", "Print Memory Usage", &gbPrintMemoryUsage, nil);