Changeset View
Changeset View
Standalone View
Standalone View
source/renderer/RenderingOptions.cpp
Show First 20 Lines • Show All 71 Lines • ▼ Show 20 Lines | SRenderingOptions::SRenderingOptions() | ||||
m_PreferGLSL = false; | m_PreferGLSL = false; | ||||
m_Fog = false; | m_Fog = false; | ||||
m_ForceAlphaTest = false; | m_ForceAlphaTest = false; | ||||
m_GPUSkinning = false; | m_GPUSkinning = false; | ||||
m_SmoothLOS = false; | m_SmoothLOS = false; | ||||
m_PostProc = false; | m_PostProc = false; | ||||
m_ShowSky = false; | m_ShowSky = false; | ||||
m_DisplayFrustum = false; | m_DisplayFrustum = false; | ||||
m_DisplayShadowsFrustum = false; | |||||
m_RenderActors = true; | m_RenderActors = true; | ||||
} | } | ||||
void SRenderingOptions::ReadConfig() | void SRenderingOptions::ReadConfig() | ||||
{ | { | ||||
// TODO: be more consistent in use of the config system | // TODO: be more consistent in use of the config system | ||||
CFG_GET_VAL("preferglsl", m_PreferGLSL); | CFG_GET_VAL("preferglsl", m_PreferGLSL); | ||||
CFG_GET_VAL("forcealphatest", m_ForceAlphaTest); | CFG_GET_VAL("forcealphatest", m_ForceAlphaTest); | ||||
Show All 38 Lines |
Wildfire Games · Phabricator