--- a/src/ai/core/ai_controller.hpp Thu Mar 15 13:28:11 2007 +0000
+++ b/src/ai/core/ai_controller.hpp Thu Mar 15 13:36:45 2007 +0000
@@ -35,3 +35,12 @@
};
#endif /* AI_CONTROLLER_HPP */
+
+#ifdef SQUIRREL_CLASS
+void SQAIControllerRegister(SquirrelEngine *engine) {
+ DefSQClass <AIControllerSquirrel> SQAIController("AIController");
+ SQAIController.PreRegister(engine);
+ SQAIController.DefSQFunction(engine, &AIControllerSquirrel::GetTick, "GetTick");
+ SQAIController.PostRegister(engine);
+}
+#endif /* SQUIRREL_CLASS */