diff options
author | Yexo <yexo@openttd.org> | 2009-01-20 16:49:10 +0000 |
---|---|---|
committer | Yexo <yexo@openttd.org> | 2009-01-20 16:49:10 +0000 |
commit | 3d35b3c2cc8b227d0cc2df61b4e8dbd70b6a78f1 (patch) | |
tree | 09d1d76f4f48c9a1a82dc292ae48bd8ffb432849 /src/ai/ai_scanner.hpp | |
parent | 49c5c7134807bb2d975a85f974523b699169ef6d (diff) | |
download | openttd-3d35b3c2cc8b227d0cc2df61b4e8dbd70b6a78f1.tar.xz |
(svn r15175) -Feature: Add the option to select the AIs to start in a new game and configure them via the gui.
Diffstat (limited to 'src/ai/ai_scanner.hpp')
-rw-r--r-- | src/ai/ai_scanner.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ai/ai_scanner.hpp b/src/ai/ai_scanner.hpp index e79d8ec1d..3bfa27bfc 100644 --- a/src/ai/ai_scanner.hpp +++ b/src/ai/ai_scanner.hpp @@ -50,6 +50,11 @@ public: const AIInfoList *GetAIInfoList() { return &this->info_list; } /** + * Get the list of the newest version of all registered AIs. + */ + const AIInfoList *GetUniqueAIInfoList() { return &this->info_single_list; } + + /** * Get the engine of the main squirrel handler (it indexes all avialable squirrels). */ class Squirrel *GetEngine() { return this->engine; } |