diff options
author | truebrain <truebrain@openttd.org> | 2009-01-13 13:09:49 +0000 |
---|---|---|
committer | truebrain <truebrain@openttd.org> | 2009-01-13 13:09:49 +0000 |
commit | 07f2afa635c0ddfa491468cc3f8677cd0d869c6d (patch) | |
tree | 984f1ac1f9997c87150d3e97f6f8b3b2496a6632 /src/ai/ai_info.hpp | |
parent | 1bd286771592ac21575c840026b91f42003e0868 (diff) | |
download | openttd-07f2afa635c0ddfa491468cc3f8677cd0d869c6d.tar.xz |
(svn r15057) -Fix [NoAI]: clamp the values of a setting between the ones allowed by info.nut
Diffstat (limited to 'src/ai/ai_info.hpp')
-rw-r--r-- | src/ai/ai_info.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ai/ai_info.hpp b/src/ai/ai_info.hpp index 205e89b38..9d283966d 100644 --- a/src/ai/ai_info.hpp +++ b/src/ai/ai_info.hpp @@ -127,6 +127,11 @@ public: const AIConfigItemList *GetConfigList(); /** + * Get the description of a certain ai config option. + */ + const AIConfigItem *GetConfigItem(const char *name); + + /** * Set a setting. */ SQInteger AddSetting(HSQUIRRELVM vm); |