equal
deleted
inserted
replaced
17 #include "../squirrel_std.hpp" |
17 #include "../squirrel_std.hpp" |
18 #include "api/ai_controller.hpp" |
18 #include "api/ai_controller.hpp" |
19 #include "ai_factory.hpp" |
19 #include "ai_factory.hpp" |
20 #include "ai_squirrel.hpp" |
20 #include "ai_squirrel.hpp" |
21 |
21 |
22 /* Convert all AI related classes to Squirrel data */ |
22 /* Convert all AI related classes to Squirrel data. |
23 #define DEFINE_SQUIRREL_CLASS |
23 * Note: this line a marker in squirrel_export.sh. Do not change! */ |
24 #include "api/ai_abstractlist.hpp.sq" |
24 #include "api/ai_abstractlist.hpp.sq" |
25 #include "api/ai_accounting.hpp.sq" |
25 #include "api/ai_accounting.hpp.sq" |
26 #include "api/ai_base.hpp.sq" |
26 #include "api/ai_base.hpp.sq" |
27 #include "api/ai_cargo.hpp.sq" |
27 #include "api/ai_cargo.hpp.sq" |
28 #include "api/ai_company.hpp.sq" |
28 #include "api/ai_company.hpp.sq" |
41 #include "api/ai_town.hpp.sq" |
41 #include "api/ai_town.hpp.sq" |
42 #include "api/ai_townlist.hpp.sq" |
42 #include "api/ai_townlist.hpp.sq" |
43 #include "api/ai_townlist_valuator.hpp.sq" |
43 #include "api/ai_townlist_valuator.hpp.sq" |
44 #include "api/ai_transactionmode.hpp.sq" |
44 #include "api/ai_transactionmode.hpp.sq" |
45 #include "api/ai_vehicle.hpp.sq" |
45 #include "api/ai_vehicle.hpp.sq" |
46 #undef DEFINE_SQUIRREL_CLASS |
|
47 |
46 |
48 static FSquirrel iFSquirrel; ///< Tell the AI-core that we have an AI with which we like to play. |
47 static FSquirrel iFSquirrel; ///< Tell the AI-core that we have an AI with which we like to play. |
49 |
48 |
50 /** |
49 /** |
51 * Our tiny wrapper between C++ and Squirrel. |
50 * Our tiny wrapper between C++ and Squirrel. |