diff --git a/src/console.c b/src/console.c index 8a682c524..6e49d7103 100644 --- a/src/console.c +++ b/src/console.c @@ -27,6 +27,7 @@ #include "lib/framework/frame.h" #include "lib/framework/input.h" #include "lib/gamelib/gtime.h" +#include "ai.h" #include "basedef.h" #include "lib/ivis_common/piedef.h" #include "lib/ivis_common/piestate.h" @@ -123,7 +124,6 @@ UDWORD getConsoleLineInfo ( void ); void permitNewConsoleMessages ( BOOL allow); int displayOldMessages ( void ); void setConsoleTextColor ( CONSOLE_TEXT_TYPE type ); -CONSOLE_TEXT_TYPE pickConsolePlayerTextType(UDWORD player1, UDWORD player2); /** Sets the system up */ void initConsoleMessages( void ) diff --git a/src/console.h b/src/console.h index 44961af89..e225d12db 100644 --- a/src/console.h +++ b/src/console.h @@ -96,6 +96,7 @@ extern void toggleConsoleDrop( void ); extern void printf_console(const char *pFormat, ...); /// Print to the ingame console in debug mode only extern void console(const char *pFormat, ...); /// Print allways to the ingame console extern CONSOLE_TEXT_TYPE pickConsolePlayerTextMode(UDWORD player1, UDWORD player2); +extern CONSOLE_TEXT_TYPE pickConsolePlayerTextType(UDWORD player1, UDWORD player2); /* Basic wrapper to sprintf - allows convenient printf style game info to be displayed */