1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-12-23 10:10:01 +00:00

ini fixes

This commit is contained in:
aap 2021-01-25 10:30:47 +01:00
parent d6544933aa
commit 4f591aa87a
2 changed files with 5 additions and 1 deletions

View file

@ -400,6 +400,8 @@ bool LoadINISettings()
ReadIniIfExists("CustomPipesValues", "PostFXIntensity", &CPostFX::Intensity); ReadIniIfExists("CustomPipesValues", "PostFXIntensity", &CPostFX::Intensity);
#endif #endif
#ifdef EXTENDED_PIPELINES #ifdef EXTENDED_PIPELINES
ReadIniIfExists("CustomPipesValues", "VehiclePipeline", &CustomPipes::VehiclePipeSwitch);
ReadIniIfExists("CustomPipesValues", "WorldPipeline", &CustomPipes::WorldPipeSwitch);
ReadIniIfExists("CustomPipesValues", "NeoVehicleShininess", &CustomPipes::VehicleShininess); ReadIniIfExists("CustomPipesValues", "NeoVehicleShininess", &CustomPipes::VehicleShininess);
ReadIniIfExists("CustomPipesValues", "NeoVehicleSpecularity", &CustomPipes::VehicleSpecularity); ReadIniIfExists("CustomPipesValues", "NeoVehicleSpecularity", &CustomPipes::VehicleSpecularity);
ReadIniIfExists("CustomPipesValues", "RimlightMult", &CustomPipes::RimlightMult); ReadIniIfExists("CustomPipesValues", "RimlightMult", &CustomPipes::RimlightMult);
@ -488,6 +490,8 @@ void SaveINISettings()
StoreIni("CustomPipesValues", "PostFXIntensity", CPostFX::Intensity); StoreIni("CustomPipesValues", "PostFXIntensity", CPostFX::Intensity);
#endif #endif
#ifdef EXTENDED_PIPELINES #ifdef EXTENDED_PIPELINES
StoreIni("CustomPipesValues", "VehiclePipeline", CustomPipes::VehiclePipeSwitch);
StoreIni("CustomPipesValues", "WorldPipeline", CustomPipes::WorldPipeSwitch);
StoreIni("CustomPipesValues", "NeoVehicleShininess", CustomPipes::VehicleShininess); StoreIni("CustomPipesValues", "NeoVehicleShininess", CustomPipes::VehicleShininess);
StoreIni("CustomPipesValues", "NeoVehicleSpecularity", CustomPipes::VehicleSpecularity); StoreIni("CustomPipesValues", "NeoVehicleSpecularity", CustomPipes::VehicleSpecularity);
StoreIni("CustomPipesValues", "RimlightMult", CustomPipes::RimlightMult); StoreIni("CustomPipesValues", "RimlightMult", CustomPipes::RimlightMult);

View file

@ -370,7 +370,7 @@ AttachVehiclePipe(rw::Clump *clump)
* Neo World pipe * Neo World pipe
*/ */
int32 WorldPipeSwitch = 0; int32 WorldPipeSwitch = WORLDPIPE_PS2;
bool LightmapEnable; bool LightmapEnable;
float LightmapMult = 1.0f; float LightmapMult = 1.0f;
InterpolatedFloat WorldLightmapBlend(1.0f); InterpolatedFloat WorldLightmapBlend(1.0f);