diff options
author | truebrain <truebrain@openttd.org> | 2011-12-01 12:03:34 +0000 |
---|---|---|
committer | truebrain <truebrain@openttd.org> | 2011-12-01 12:03:34 +0000 |
commit | cc12942d70fa2a672c59e848c196c6647f8f1129 (patch) | |
tree | 3543911ce7080ad03897907e5e192d7697bc954e /src/ai/ai_gui.hpp | |
parent | 0c2bbdde5c0f9577cff72af5b34c10777c6bebd0 (diff) | |
download | openttd-cc12942d70fa2a672c59e848c196c6647f8f1129.tar.xz |
(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
Diffstat (limited to 'src/ai/ai_gui.hpp')
-rw-r--r-- | src/ai/ai_gui.hpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/ai/ai_gui.hpp b/src/ai/ai_gui.hpp index 3fe822879..ac8cb4a01 100644 --- a/src/ai/ai_gui.hpp +++ b/src/ai/ai_gui.hpp @@ -14,22 +14,9 @@ #include "../company_type.h" -#ifdef ENABLE_AI void ShowAIDebugWindow(CompanyID show_company = INVALID_COMPANY); void ShowAIConfigWindow(); void ShowAIDebugWindowIfAIError(); void InitializeAIGui(); -#else -#include "../gui.h" -#include "table/strings.h" - -static inline void ShowAIConfigWindow() -{ - ShowErrorMessage(STR_ERROR_NO_AI, STR_ERROR_NO_AI_SUB, WL_INFO); -} -static inline void ShowAIDebugWindow(CompanyID show_company = INVALID_COMPANY) {ShowAIConfigWindow();} -static inline void ShowAIDebugWindowIfAIError() {} -static inline void InitializeAIGui() {} -#endif /* ENABLE_AI */ #endif /* AI_GUI_HPP */ |