src/ai/api/ai_object.hpp
branchnoai
changeset 9814 be51ea0adc29
parent 9760 265fdd2130c3
child 9829 80fbe02a4184
--- a/src/ai/api/ai_object.hpp	Tue Mar 25 12:09:42 2008 +0000
+++ b/src/ai/api/ai_object.hpp	Tue Mar 25 12:12:45 2008 +0000
@@ -9,6 +9,13 @@
 #include "../../functions.h"
 #include "../../misc/countedptr.hpp"
 
+#ifndef _SQUIRREL_H_
+/* Life becomes easier when we can tell about a function it needs the VM, but
+ *  without really including 'squirrel.h'. */
+typedef void* HSQUIRRELVM;
+typedef int SQInteger;
+#endif
+
 /**
  * The callback function for Mode-classes.
  */