mirror of
https://github.com/GTAmodding/re3.git
synced 2024-12-25 17:55:40 +00:00
add NewRenderer ini read/write
This commit is contained in:
parent
2e7405b76c
commit
f7fc919d98
1 changed files with 6 additions and 0 deletions
|
@ -396,6 +396,9 @@ bool LoadINISettings()
|
||||||
ReadIniIfExists("CustomPipesValues", "LightmapMult", &CustomPipes::LightmapMult);
|
ReadIniIfExists("CustomPipesValues", "LightmapMult", &CustomPipes::LightmapMult);
|
||||||
ReadIniIfExists("CustomPipesValues", "GlossMult", &CustomPipes::GlossMult);
|
ReadIniIfExists("CustomPipesValues", "GlossMult", &CustomPipes::GlossMult);
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef NEW_RENDERER
|
||||||
|
ReadIniIfExists("Rendering", "NewRenderer", &gbNewRenderer);
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef PROPER_SCALING
|
#ifdef PROPER_SCALING
|
||||||
ReadIniIfExists("Draw", "ProperScaling", &CDraw::ms_bProperScaling);
|
ReadIniIfExists("Draw", "ProperScaling", &CDraw::ms_bProperScaling);
|
||||||
|
@ -479,6 +482,9 @@ void SaveINISettings()
|
||||||
StoreIni("CustomPipesValues", "LightmapMult", CustomPipes::LightmapMult);
|
StoreIni("CustomPipesValues", "LightmapMult", CustomPipes::LightmapMult);
|
||||||
StoreIni("CustomPipesValues", "GlossMult", CustomPipes::GlossMult);
|
StoreIni("CustomPipesValues", "GlossMult", CustomPipes::GlossMult);
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef NEW_RENDERER
|
||||||
|
StoreIni("Rendering", "NewRenderer", gbNewRenderer);
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef PROPER_SCALING
|
#ifdef PROPER_SCALING
|
||||||
StoreIni("Draw", "ProperScaling", CDraw::ms_bProperScaling);
|
StoreIni("Draw", "ProperScaling", CDraw::ms_bProperScaling);
|
||||||
|
|
Loading…
Reference in a new issue