00001 /* $Id$ */ 00002 00003 /* 00004 * This file is part of OpenTTD. 00005 * OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2. 00006 * OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 00007 * See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>. 00008 */ 00009 00012 /* This file exists purely for doxygen purposes. */ 00013 #ifdef DOXYGEN_SKIP 00014 00025 class AIInfo { 00026 public: 00033 string GetAuthor(); 00034 00045 string GetName(); 00046 00061 string GetShortName(); 00062 00069 string GetDescription(); 00070 00084 int GetVersion(); 00085 00098 int MinVersionToLoad(); 00099 00109 string GetDate(); 00110 00126 bool UseAsRandomAI(); 00127 00135 string CreateInstance(); 00136 00158 string GetAPIVersion(); 00159 00172 string GetURL(); 00173 00182 void GetSettings(); 00183 00185 enum AIConfigFlags { 00186 AICONFIG_NONE, 00187 AICONFIG_RANDOM, 00188 AICONFIG_BOOLEAN, 00189 AICONFIG_INGAME, 00190 }; 00191 00223 void AddSetting(table setting_description); 00224 00241 void AddLabels(const char *setting_name, table value_names); 00242 }; 00243 #endif