(svn r23295) -Codechange: put ImportLibrary in AIController (and document the parameters for NoAI docs)
This commit is contained in:
@@ -15,6 +15,7 @@ void SQAIController_Register(Squirrel *engine)
|
||||
{
|
||||
DefSQClass <AIController> SQAIController("AIController");
|
||||
SQAIController.PreRegister(engine);
|
||||
|
||||
SQAIController.DefSQStaticMethod(engine, &AIController::GetTick, "GetTick", 1, ".");
|
||||
SQAIController.DefSQStaticMethod(engine, &AIController::GetOpsTillSuspend, "GetOpsTillSuspend", 1, ".");
|
||||
SQAIController.DefSQStaticMethod(engine, &AIController::SetCommandDelay, "SetCommandDelay", 2, ".i");
|
||||
@@ -22,5 +23,9 @@ void SQAIController_Register(Squirrel *engine)
|
||||
SQAIController.DefSQStaticMethod(engine, &AIController::GetSetting, "GetSetting", 2, ".s");
|
||||
SQAIController.DefSQStaticMethod(engine, &AIController::GetVersion, "GetVersion", 1, ".");
|
||||
SQAIController.DefSQStaticMethod(engine, &AIController::Print, "Print", 3, ".bs");
|
||||
|
||||
SQAIController.PostRegister(engine);
|
||||
|
||||
/* Register the import statement to the global scope */
|
||||
SQAIController.DefSQStaticMethod(engine, &AIController::Import, "import", 4, ".ssi");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user