(svn r15175) -Feature: Add the option to select the AIs to start in a new game and configure them via the gui.

This commit is contained in:
Yexo
2009-01-20 16:49:10 +00:00
parent 49c5c71348
commit 3d35b3c2cc
12 changed files with 581 additions and 36 deletions

View File

@@ -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);