ai_info_docs.hpp

Go to the documentation of this file.
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 
00157   string GetAPIVersion();
00158 
00171   string GetURL();
00172 
00181   void GetSettings();
00182 
00184   enum AIConfigFlags {
00185     AICONFIG_NONE,    
00186     AICONFIG_RANDOM,  
00187     AICONFIG_BOOLEAN, 
00188     AICONFIG_INGAME,  
00189   };
00190 
00222   void AddSetting(table setting_description);
00223 
00240   void AddLabels(const char *setting_name, table value_names);
00241 };
00242 #endif

Generated on Sun Jan 23 01:48:59 2011 for OpenTTD by  doxygen 1.6.1