diff -r 0a2377009af4 -r ef9e171617a3 src/ai/core/ai_controller.hpp --- 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 SQAIController("AIController"); + SQAIController.PreRegister(engine); + SQAIController.DefSQFunction(engine, &AIControllerSquirrel::GetTick, "GetTick"); + SQAIController.PostRegister(engine); +} +#endif /* SQUIRREL_CLASS */