(svn r23384) -Remove: no longer allow a binary to be without AI support; the parts some compilers failed at, are integrated in other parts of the code now too

This commit is contained in:
truebrain
2011-12-01 12:03:34 +00:00
parent fa07d61b84
commit bf803e40cc
23 changed files with 33 additions and 198 deletions

View File

@@ -1069,7 +1069,6 @@ DEF_CONSOLE_CMD(ConRestart)
return true;
}
#ifdef ENABLE_AI
/**
* Print a text buffer line by line to the console. Lines are seperated by '\n'.
* @param buf The buffer to print.
@@ -1255,7 +1254,6 @@ DEF_CONSOLE_CMD(ConRescanAI)
return true;
}
#endif /* ENABLE_AI */
DEF_CONSOLE_CMD(ConRescanNewGRF)
{
@@ -1892,14 +1890,12 @@ void IConsoleStdLibRegister()
IConsoleAliasRegister("list_patches", "list_settings %+");
IConsoleAliasRegister("developer", "setting developer %+");
#ifdef ENABLE_AI
IConsoleCmdRegister("list_ai_libs", ConListAILibs);
IConsoleCmdRegister("list_ai", ConListAI);
IConsoleCmdRegister("reload_ai", ConReloadAI);
IConsoleCmdRegister("rescan_ai", ConRescanAI);
IConsoleCmdRegister("start_ai", ConStartAI);
IConsoleCmdRegister("stop_ai", ConStopAI);
#endif /* ENABLE_AI */
/* networking functions */
#ifdef ENABLE_NETWORK