diff options
author | frosch <frosch@openttd.org> | 2012-12-05 19:36:41 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2012-12-05 19:36:41 +0000 |
commit | d1ab0f03bcfc01be933d70edda9b95fb0ffeb8b4 (patch) | |
tree | e0ea4cdde0c4d20de3c397ba2453ee6b2e312246 /src/table/gameopt_settings.ini | |
parent | 812ae4140a8566c2b4b43c6aa5bab5eecf82f18a (diff) | |
download | openttd-d1ab0f03bcfc01be933d70edda9b95fb0ffeb8b4.tar.xz |
(svn r24790) -Remove: Classic difficulty profiles.
Diffstat (limited to 'src/table/gameopt_settings.ini')
-rw-r--r-- | src/table/gameopt_settings.ini | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/table/gameopt_settings.ini b/src/table/gameopt_settings.ini index 10373c965..968191f12 100644 --- a/src/table/gameopt_settings.ini +++ b/src/table/gameopt_settings.ini @@ -9,6 +9,7 @@ [pre-amble] static const uint GAME_DIFFICULTY_NUM = 18; static uint16 _old_diff_custom[GAME_DIFFICULTY_NUM]; +uint8 _old_diff_level; ///< Old difficulty level from old savegames /* Most of these strings are used both for gameopt-backward compatability * and the settings tables. The rest is here for consistency. */ @@ -39,6 +40,7 @@ static const SettingDesc _gameopt_settings[] = { }; [templates] SDTG_GENERAL = SDTG_GENERAL($name, $sdt_cmd, $sle_cmd, $type, $flags, $guiflags, $var, $length, $def, $min, $max, $interval, $full, $str, $strhelp, $strval, $proc, $from, $to, $cat), +SDTG_VAR = SDTG_VAR($name, $type, $flags, $guiflags, $var, $def, $min, $max, $interval, $str, $strhelp, $strval, $proc, $from, $to, $cat), SDT_NULL = SDT_NULL($length, $from, $to), SDTC_OMANY = SDTC_OMANY( $var, $type, $flags, $guiflags, $def, $max, $full, $str, $strhelp, $strval, $proc, $from, $to, $cat), SDT_OMANY = SDT_OMANY($base, $var, $type, $flags, $guiflags, $def, $max, $full, $str, $strhelp, $strval, $proc, $from, $to, $load, $cat), @@ -89,10 +91,11 @@ full = NULL from = 4 ## -[SDT_VAR] -base = GameSettings -var = difficulty.diff_level +[SDTG_VAR] +name = ""diff_level"" +var = _old_diff_level type = SLE_UINT8 +flags = SLF_NOT_IN_CONFIG def = SP_CUSTOM min = SP_EASY max = SP_CUSTOM |