src/ai/api/ai_controller.hpp.sq
author truebrain
Sat, 23 Feb 2008 14:49:31 +0000
branchnoai
changeset 9743 4c44aa6a8f43
parent 9596 8af5a1399842
child 9782 e8d8d8894f23
permissions -rw-r--r--
(svn r12223) [NoAI] -Fix r12221: look mom, I can break compilation!
9596
8af5a1399842 (svn r9629) [NoAI] -Codechange: move the squirrel export functions out of the API header files.
rubidium
parents:
diff changeset
     1
#include "ai_controller.hpp"
8af5a1399842 (svn r9629) [NoAI] -Codechange: move the squirrel export functions out of the API header files.
rubidium
parents:
diff changeset
     2
9743
4c44aa6a8f43 (svn r12223) [NoAI] -Fix r12221: look mom, I can break compilation!
truebrain
parents: 9596
diff changeset
     3
void SQAIController_Register(Squirrel *engine) {
9596
8af5a1399842 (svn r9629) [NoAI] -Codechange: move the squirrel export functions out of the API header files.
rubidium
parents:
diff changeset
     4
	DefSQClass <AIControllerSquirrel> SQAIController("AIController");
8af5a1399842 (svn r9629) [NoAI] -Codechange: move the squirrel export functions out of the API header files.
rubidium
parents:
diff changeset
     5
	SQAIController.PreRegister(engine);
8af5a1399842 (svn r9629) [NoAI] -Codechange: move the squirrel export functions out of the API header files.
rubidium
parents:
diff changeset
     6
	SQAIController.DefSQMethod(engine, &AIControllerSquirrel::GetTick, "GetTick");
8af5a1399842 (svn r9629) [NoAI] -Codechange: move the squirrel export functions out of the API header files.
rubidium
parents:
diff changeset
     7
	SQAIController.DefSQMethod(engine, &AIControllerSquirrel::Sleep,   "Sleep");
8af5a1399842 (svn r9629) [NoAI] -Codechange: move the squirrel export functions out of the API header files.
rubidium
parents:
diff changeset
     8
	SQAIController.PostRegister(engine);
8af5a1399842 (svn r9629) [NoAI] -Codechange: move the squirrel export functions out of the API header files.
rubidium
parents:
diff changeset
     9
}