Updated documentation for Christmas mode.

This commit is contained in:
hiker 2014-04-03 08:20:43 +11:00
parent 26c797e79e
commit 712d4cf84e
2 changed files with 3 additions and 3 deletions

View File

@ -560,7 +560,7 @@ namespace UserConfigParams
// This saves the actual user preference. // This saves the actual user preference.
PARAM_PREFIX IntUserConfigParam m_xmas_mode PARAM_PREFIX IntUserConfigParam m_xmas_mode
PARAM_DEFAULT( IntUserConfigParam(0, "christmas-mode", PARAM_DEFAULT( IntUserConfigParam(0, "christmas-mode",
&m_graphics_quality, "Christmas hats: 0 use calendar, 1 always on, 2 always off") ); &m_graphics_quality, "Christmas hats: 0 use current date, 1 always on, 2 always off") );
PARAM_PREFIX BoolUserConfigParam m_weather_effects PARAM_PREFIX BoolUserConfigParam m_weather_effects
PARAM_DEFAULT( BoolUserConfigParam(true, "weather_gfx", PARAM_DEFAULT( BoolUserConfigParam(true, "weather_gfx",

View File

@ -359,8 +359,8 @@ void gamepadVisualisation()
} // gamepadVisualisation } // gamepadVisualisation
// ============================================================================ // ============================================================================
/** Sets the Christmas flag (m_xmas_enabled), depending on currently set /** Sets the hat mesh name depending on the current christmas mode
* Christ mode (m_xmas_mode) * m_xmas_mode (0: use current date, 1: always on, 2: always off).
*/ */
void handleXmasMode() void handleXmasMode()
{ {