ai_gui.hpp
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00012 #ifndef AI_GUI_HPP
00013 #define AI_GUI_HPP
00014
00015 #include "../company_type.h"
00016
00017 #ifdef ENABLE_AI
00018 void ShowAIDebugWindow(CompanyID show_company = INVALID_COMPANY);
00019 void ShowAIConfigWindow();
00020 #else
00021 #include "table/strings.h"
00022
00023 static inline void ShowAIConfigWindow()
00024 {
00025 ShowErrorMessage(STR_ERROR_NO_AI, STR_ERROR_NO_AI_SUB, 0, 0);
00026 }
00027 static inline void ShowAIDebugWindow(CompanyID show_company = INVALID_COMPANY) {ShowAIConfigWindow();}
00028 #endif
00029
00030 #endif