Add a new config option for wheather effects (notm accessible in GUI yet)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7409 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
2ebedd24ee
commit
4396695920
@ -271,10 +271,12 @@ namespace UserConfigParams
|
||||
PARAM_PREFIX BoolUserConfigParam m_prev_fullscreen
|
||||
PARAM_DEFAULT( BoolUserConfigParam(false, "prev_fullscreen", &m_video_group) );
|
||||
|
||||
// TODO : adapt to be more powerful with irrlicht
|
||||
PARAM_PREFIX BoolUserConfigParam m_graphical_effects
|
||||
PARAM_DEFAULT( BoolUserConfigParam(true, "gfx", &m_video_group) );
|
||||
|
||||
PARAM_PREFIX BoolUserConfigParam m_wheater_effects
|
||||
PARAM_DEFAULT( BoolUserConfigParam(true, "wheater_gfx", &m_video_group) );
|
||||
|
||||
PARAM_PREFIX BoolUserConfigParam m_show_steering_animations
|
||||
PARAM_DEFAULT( BoolUserConfigParam(true, "steering_animations", &m_video_group, "Display steering animations in race") );
|
||||
|
||||
|
@ -985,7 +985,7 @@ void Track::loadTrackModel(World* parent, unsigned int mode_id)
|
||||
createPhysicsModel(main_track_count);
|
||||
if (UserConfigParams::m_track_debug) m_quad_graph->createDebugMesh();
|
||||
|
||||
if (UserConfigParams::m_graphical_effects && m_sky_particles != NULL)
|
||||
if (UserConfigParams::m_wheater_effects && m_sky_particles != NULL)
|
||||
{
|
||||
const float x = (m_aabb_max.getX() + m_aabb_min.getX())/2.0f;
|
||||
const float z = (m_aabb_max.getZ() + m_aabb_min.getZ())/2.0f;
|
||||
|
Loading…
x
Reference in New Issue
Block a user