diff options
author | truebrain <truebrain@openttd.org> | 2009-01-13 16:53:03 +0000 |
---|---|---|
committer | truebrain <truebrain@openttd.org> | 2009-01-13 16:53:03 +0000 |
commit | 890074a03ee0c6b10aff40e4b64de7437c06f368 (patch) | |
tree | a7e2f1687e36828d0479f321da377f4a273f568c /src/ai/ai_config.hpp | |
parent | 0a357c0ac10601b6172610dbd46498ff44b978c1 (diff) | |
download | openttd-890074a03ee0c6b10aff40e4b64de7437c06f368.tar.xz |
(svn r15063) -Fix [NoAI]: starting companies now listen correctly to 'start_date' set to the AI slot (Yexo)
-Add [NoAI]: add a 'deviation' value for all settings, giving a slight deviation of the value of a setting (Yexo)
Diffstat (limited to 'src/ai/ai_config.hpp')
-rw-r--r-- | src/ai/ai_config.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ai/ai_config.hpp b/src/ai/ai_config.hpp index 90c52b563..d56a09bbc 100644 --- a/src/ai/ai_config.hpp +++ b/src/ai/ai_config.hpp @@ -64,6 +64,11 @@ public: void SetSetting(const char *name, int value); /** + * Randomize all settings the AI requested to be randomized. + */ + void AddRandomDeviation(); + + /** * Is this config attached to an AI? */ bool HasAI(); |