Draw modifier volumes only if enabled in settings (defaults to true)
This commit is contained in:
parent
c427997269
commit
7640a35720
|
@ -243,6 +243,7 @@ void LoadSettings()
|
|||
settings.aica.NoSound = cfgLoadInt("config","aica.NoSound",0);
|
||||
settings.rend.UseMipmaps = cfgLoadInt("config","rend.UseMipmaps",1);
|
||||
settings.rend.WideScreen = cfgLoadInt("config","rend.WideScreen",0);
|
||||
settings.rend.ModifierVolumes = cfgLoadInt("config","rend.ModifierVolumes",1);
|
||||
|
||||
settings.pvr.subdivide_transp = cfgLoadInt("config","pvr.Subdivide",0);
|
||||
|
||||
|
|
|
@ -1109,7 +1109,8 @@ void DrawStrips()
|
|||
/*if (!GetAsyncKeyState(VK_F1))*/
|
||||
DrawList<ListType_Opaque,false>(pvrrc.global_param_op);
|
||||
|
||||
DrawModVols();
|
||||
if (settings.rend.ModifierVolumes)
|
||||
DrawModVols();
|
||||
|
||||
//Alpha tested
|
||||
//setup alpha test state
|
||||
|
|
|
@ -615,6 +615,7 @@ struct settings_t
|
|||
{
|
||||
bool UseMipmaps;
|
||||
bool WideScreen;
|
||||
bool ModifierVolumes;
|
||||
} rend;
|
||||
|
||||
struct
|
||||
|
|
Loading…
Reference in New Issue