src/ai/api/ai_controller.hpp.sq
author rubidium
Tue, 15 Apr 2008 15:34:02 +0000
branchnoai
changeset 10190 6e4a90ed8830
parent 9782 e8d8d8894f23
child 10643 970417eef395
permissions -rw-r--r--
(svn r12721) [NoAI] -Fix: also check articulated parts when determinine the capacity of an unbuilt vehicle.
#include "ai_controller.hpp"

void SQAIController_Register(Squirrel *engine) {
	DefSQClass <AIControllerSquirrel> SQAIController("AIController");
	SQAIController.PreRegister(engine);
	SQAIController.DefSQMethod(engine, &AIControllerSquirrel::GetTick, "GetTick", 1, "x");
	SQAIController.DefSQStaticMethod(engine, &AIControllerSquirrel::Sleep, "Sleep", 2, "xi");
	SQAIController.DefSQStaticMethod(engine, &AIControllerSquirrel::Print, "Print", 3, "xbs");
	SQAIController.PostRegister(engine);
}