Mercurial > hg > openttd
comparison src/script/script_config.hpp @ 19414:7fcb23b6305e draft
(svn r24317) -Feature: Add dropdowns to AI configurations, if all values have labels.
author | frosch <frosch@openttd.org> |
---|---|
date | Fri, 01 Jun 2012 15:19:59 +0000 |
parents | b75090cfaa3c |
children | 5eb738001301 |
comparison
equal
deleted
inserted
replaced
19413:d72c54b8d36b | 19414:7fcb23b6305e |
---|---|
42 int hard_value; ///< The default value on hard difficulty setting. | 42 int hard_value; ///< The default value on hard difficulty setting. |
43 int random_deviation; ///< The maximum random deviation from the default value. | 43 int random_deviation; ///< The maximum random deviation from the default value. |
44 int step_size; ///< The step size in the gui. | 44 int step_size; ///< The step size in the gui. |
45 ScriptConfigFlags flags; ///< Flags for the configuration setting. | 45 ScriptConfigFlags flags; ///< Flags for the configuration setting. |
46 LabelMapping *labels; ///< Text labels for the integer values. | 46 LabelMapping *labels; ///< Text labels for the integer values. |
47 bool complete_labels; ///< True if all values have a label. | |
47 }; | 48 }; |
48 | 49 |
49 typedef std::list<ScriptConfigItem> ScriptConfigItemList; ///< List of ScriptConfig items. | 50 typedef std::list<ScriptConfigItem> ScriptConfigItemList; ///< List of ScriptConfig items. |
50 | 51 |
51 extern ScriptConfigItem _start_date_config; | 52 extern ScriptConfigItem _start_date_config; |