mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-15 12:59:01 +00:00
fix last commit, debugmenu options
This commit is contained in:
parent
39a121351d
commit
02f6ed7da3
3 changed files with 26 additions and 14 deletions
|
@ -218,10 +218,10 @@ void LoadINISettings()
|
||||||
#ifdef PROPER_SCALING
|
#ifdef PROPER_SCALING
|
||||||
CDraw::ms_bProperScaling = CheckAndReadIniInt("Draw", "ProperScaling", CDraw::ms_bProperScaling);
|
CDraw::ms_bProperScaling = CheckAndReadIniInt("Draw", "ProperScaling", CDraw::ms_bProperScaling);
|
||||||
#endif
|
#endif
|
||||||
#ifdef FIX_SPRITES
|
#ifdef FIX_RADAR
|
||||||
CDraw::ms_bFixRadar = CheckAndReadIniInt("Draw", "FixRadar", CDraw::ms_bFixRadar);
|
CDraw::ms_bFixRadar = CheckAndReadIniInt("Draw", "FixRadar", CDraw::ms_bFixRadar);
|
||||||
#endif
|
#endif
|
||||||
#ifdef FIX_RADAR
|
#ifdef FIX_SPRITES
|
||||||
CDraw::ms_bFixSprites = CheckAndReadIniInt("Draw", "FixSprites", CDraw::ms_bFixSprites);
|
CDraw::ms_bFixSprites = CheckAndReadIniInt("Draw", "FixSprites", CDraw::ms_bFixSprites);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
@ -265,10 +265,10 @@ void SaveINISettings()
|
||||||
#ifdef PROPER_SCALING
|
#ifdef PROPER_SCALING
|
||||||
CheckAndSaveIniInt("Draw", "ProperScaling", CDraw::ms_bProperScaling, changed);
|
CheckAndSaveIniInt("Draw", "ProperScaling", CDraw::ms_bProperScaling, changed);
|
||||||
#endif
|
#endif
|
||||||
#ifdef FIX_SPRITES
|
#ifdef FIX_RADAR
|
||||||
CheckAndSaveIniInt("Draw", "FixRadar", CDraw::ms_bFixRadar, changed);
|
CheckAndSaveIniInt("Draw", "FixRadar", CDraw::ms_bFixRadar, changed);
|
||||||
#endif
|
#endif
|
||||||
#ifdef FIX_RADAR
|
#ifdef FIX_SPRITES
|
||||||
CheckAndSaveIniInt("Draw", "FixSprites", CDraw::ms_bFixSprites, changed);
|
CheckAndSaveIniInt("Draw", "FixSprites", CDraw::ms_bFixSprites, changed);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -637,6 +637,18 @@ extern bool gbRenderWorld2;
|
||||||
DebugMenuAddVarBool8("Render", "Don't render Objects", &gbDontRenderObjects, nil);
|
DebugMenuAddVarBool8("Render", "Don't render Objects", &gbDontRenderObjects, nil);
|
||||||
DebugMenuAddVarBool8("Render", "Don't Render Water", &gbDontRenderWater, 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
|
#ifndef FINAL
|
||||||
DebugMenuAddVarBool8("Debug", "Print Memory Usage", &gbPrintMemoryUsage, nil);
|
DebugMenuAddVarBool8("Debug", "Print Memory Usage", &gbPrintMemoryUsage, nil);
|
||||||
#ifdef USE_CUSTOM_ALLOCATOR
|
#ifdef USE_CUSTOM_ALLOCATOR
|
||||||
|
|
|
@ -21,13 +21,13 @@ uint8 CDraw::FadeGreen;
|
||||||
uint8 CDraw::FadeBlue;
|
uint8 CDraw::FadeBlue;
|
||||||
|
|
||||||
#ifdef PROPER_SCALING
|
#ifdef PROPER_SCALING
|
||||||
int32 CDraw::ms_bProperScaling = true;
|
bool CDraw::ms_bProperScaling = true;
|
||||||
#endif
|
|
||||||
#ifdef FIX_SPRITES
|
|
||||||
int32 CDraw::ms_bFixRadar = true;
|
|
||||||
#endif
|
#endif
|
||||||
#ifdef FIX_RADAR
|
#ifdef FIX_RADAR
|
||||||
int32 CDraw::ms_bFixSprites = true;
|
bool CDraw::ms_bFixRadar = true;
|
||||||
|
#endif
|
||||||
|
#ifdef FIX_SPRITES
|
||||||
|
bool CDraw::ms_bFixSprites = true;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
float
|
float
|
||||||
|
|
|
@ -36,13 +36,13 @@ public:
|
||||||
static uint8 FadeBlue;
|
static uint8 FadeBlue;
|
||||||
|
|
||||||
#ifdef PROPER_SCALING
|
#ifdef PROPER_SCALING
|
||||||
static int32 ms_bProperScaling;
|
static bool ms_bProperScaling;
|
||||||
#endif
|
|
||||||
#ifdef FIX_SPRITES
|
|
||||||
static int32 ms_bFixRadar;
|
|
||||||
#endif
|
#endif
|
||||||
#ifdef FIX_RADAR
|
#ifdef FIX_RADAR
|
||||||
static int32 ms_bFixSprites;
|
static bool ms_bFixRadar;
|
||||||
|
#endif
|
||||||
|
#ifdef FIX_SPRITES
|
||||||
|
static bool ms_bFixSprites;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static void SetNearClipZ(float nearclip) { ms_fNearClipZ = nearclip; }
|
static void SetNearClipZ(float nearclip) { ms_fNearClipZ = nearclip; }
|
||||||
|
|
Loading…
Reference in a new issue