Use a group for handicap related config settings.
This commit is contained in:
@@ -671,11 +671,19 @@ namespace UserConfigParams
|
||||
PARAM_PREFIX StringUserConfigParam m_skin_file
|
||||
PARAM_DEFAULT( StringUserConfigParam("Peach.stkskin", "skin_file",
|
||||
"Name of the skin to use") );
|
||||
|
||||
PARAM_PREFIX GroupUserConfigParam m_handicap
|
||||
PARAM_DEFAULT( GroupUserConfigParam("Handicap",
|
||||
"Everything related to handicaps.") );
|
||||
|
||||
PARAM_PREFIX BoolUserConfigParam m_per_player_difficulty
|
||||
PARAM_DEFAULT( BoolUserConfigParam(false, "per_player_difficulty",
|
||||
&m_handicap,
|
||||
"If handicapped users can be selected") );
|
||||
|
||||
PARAM_PREFIX BoolUserConfigParam m_ai_handicap
|
||||
PARAM_DEFAULT( BoolUserConfigParam(false, "ai_handicap",
|
||||
&m_handicap,
|
||||
"If AIs are handicapped") );
|
||||
|
||||
// ---- Internet related
|
||||
|
||||
Reference in New Issue
Block a user