equal
deleted
inserted
replaced
12 |
12 |
13 #include <squirrel.h> |
13 #include <squirrel.h> |
14 #include "../squirrel.hpp" |
14 #include "../squirrel.hpp" |
15 #include "../squirrel_helper.hpp" |
15 #include "../squirrel_helper.hpp" |
16 #include "../squirrel_class.hpp" |
16 #include "../squirrel_class.hpp" |
|
17 #include "../squirrel_std.hpp" |
17 #include "api/ai_controller.hpp" |
18 #include "api/ai_controller.hpp" |
18 #include "ai_factory.hpp" |
19 #include "ai_factory.hpp" |
19 #include "ai_squirrel.hpp" |
20 #include "ai_squirrel.hpp" |
20 |
21 |
21 /* Convert all AI related classes to Squirrel data */ |
22 /* Convert all AI related classes to Squirrel data */ |
182 /* Ignore AIFactory if we are really starting an AI */ |
183 /* Ignore AIFactory if we are really starting an AI */ |
183 this->engine->AddClassBegin("AIFactory"); |
184 this->engine->AddClassBegin("AIFactory"); |
184 this->engine->AddClassEnd(); |
185 this->engine->AddClassEnd(); |
185 |
186 |
186 /* Register all classes */ |
187 /* Register all classes */ |
|
188 squirrel_register_std(this->engine); |
187 SQAIBaseRegister(this->engine); |
189 SQAIBaseRegister(this->engine); |
188 SQAICargoRegister(this->engine); |
190 SQAICargoRegister(this->engine); |
189 SQAICompanyRegister(this->engine); |
191 SQAICompanyRegister(this->engine); |
190 SQAIControllerRegister(this->engine); |
192 SQAIControllerRegister(this->engine); |
191 SQAIExecModeRegister(this->engine); |
193 SQAIExecModeRegister(this->engine); |