summaryrefslogtreecommitdiff
path: root/src/ai
diff options
context:
space:
mode:
Diffstat (limited to 'src/ai')
-rw-r--r--src/ai/ai_gui.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ai/ai_gui.hpp b/src/ai/ai_gui.hpp
index 0a47e992b..3fe822879 100644
--- a/src/ai/ai_gui.hpp
+++ b/src/ai/ai_gui.hpp
@@ -18,7 +18,9 @@
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()
@@ -27,6 +29,7 @@ static inline void ShowAIConfigWindow()
}
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 */