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 | 593f38046270f90c62f6269d292c1dde9b440147 (patch) | |
tree | 09d1d76f4f48c9a1a82dc292ae48bd8ffb432849 /src/ai/ai_core.cpp | |
parent | 8d3f0dee8518ae0b7e41b77dcd60aaf9b234b5ff (diff) | |
download | openttd-593f38046270f90c62f6269d292c1dde9b440147.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); |