src/ai/ai_threads.h
branchnoai
changeset 9444 fd27df7ca2a0
parent 9441 03da911c8d5f
child 9724 b39bc69bb2f2
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/ai/ai_threads.h	Fri Mar 16 22:00:07 2007 +0000
@@ -0,0 +1,17 @@
+/* $Id$ */
+
+/** @file ai_threads.h declaration of functions for the AI threading system */
+
+#ifndef AI_THREADS_H
+#define AI_THREADS_H
+
+class AIController;
+
+void AI_StartPlayer(PlayerID player, AIController *controller);
+void AI_SuspendPlayer(PlayerID player, int timeout);
+void AI_RunTick(PlayerID player);
+void AI_StopPlayer(PlayerID player);
+
+bool AI_GetCallbackResult(PlayerID player);
+
+#endif /* AI_THREADS_H */