diff -r d583b3eb60e0 -r e8d8d8894f23 src/ai/api/ai_controller.hpp --- a/src/ai/api/ai_controller.hpp Tue Feb 26 18:39:33 2008 +0000 +++ b/src/ai/api/ai_controller.hpp Tue Feb 26 21:35:22 2008 +0000 @@ -69,7 +69,14 @@ * @post the value of GetTick() will be changed exactly 'ticks' in value after * calling this. */ - void Sleep(uint ticks); + static void Sleep(uint ticks); + + /** + * Print a message to the AI log. + * @param error_msg If true, it is marked as error message. + * @param message The message you want to log. + */ + static void Print(bool error_msg, const char *message); }; #endif /* AI_CONTROLLER_HPP */