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_core.cpp | |
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_core.cpp')
-rw-r--r-- | src/ai/ai_core.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ai/ai_core.cpp b/src/ai/ai_core.cpp index 3ea06c0c6..04a759d47 100644 --- a/src/ai/ai_core.cpp +++ b/src/ai/ai_core.cpp @@ -249,6 +249,11 @@ void CcAI(bool success, TileIndex tile, uint32 p1, uint32 p2) return AI::ai_scanner->GetAIInfoList(); } +/* static */ const AIInfoList *AI::GetUniqueInfoList() +{ + return AI::ai_scanner->GetUniqueAIInfoList(); +} + /* static */ AIInfo *AI::FindInfo(const char *name, int version) { return AI::ai_scanner->FindInfo(name, version); |