(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:
@@ -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
|
||||
|
Reference in New Issue
Block a user