diff options
author | yexo <yexo@openttd.org> | 2011-01-03 14:52:30 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2011-01-03 14:52:30 +0000 |
commit | 8e3e93b96ff0e575c798ed443825c39ff192aa58 (patch) | |
tree | a905c62e1fe00581214ec95247ff4578052bd7d0 /src/ai/ai_core.cpp | |
parent | 37b9c311184c21dda3da165c18933b707d2a227b (diff) | |
download | openttd-8e3e93b96ff0e575c798ed443825c39ff192aa58.tar.xz |
(svn r21703) -Feature [FS#4372]: list_ai_libs console command to get a list of recognized AI libraries (dihedral)
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 b03e2a5ae..f2bfc4292 100644 --- a/src/ai/ai_core.cpp +++ b/src/ai/ai_core.cpp @@ -294,6 +294,11 @@ void CcAI(const CommandCost &result, TileIndex tile, uint32 p1, uint32 p2) return AI::ai_scanner->GetAIConsoleList(p, last); } +/* static */ char *AI::GetConsoleLibraryList(char *p, const char *last) +{ + return AI::ai_scanner->GetAIConsoleLibraryList(p, last); +} + /* static */ const AIInfoList *AI::GetInfoList() { return AI::ai_scanner->GetAIInfoList(); |