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 #define DEFINE_SQUIRREL_CLASS |
24 #include "api/ai_abstractlist.hpp" |
24 #include "api/ai_abstractlist.hpp.sq" |
25 #include "api/ai_accounting.hpp" |
25 #include "api/ai_accounting.hpp.sq" |
26 #include "api/ai_base.hpp" |
26 #include "api/ai_base.hpp.sq" |
27 #include "api/ai_cargo.hpp" |
27 #include "api/ai_cargo.hpp.sq" |
28 #include "api/ai_company.hpp" |
28 #include "api/ai_company.hpp.sq" |
29 #include "api/ai_controller.hpp" |
29 #include "api/ai_controller.hpp.sq" |
30 #include "api/ai_execmode.hpp" |
30 #include "api/ai_execmode.hpp.sq" |
31 #include "api/ai_industry.hpp" |
31 #include "api/ai_industry.hpp.sq" |
32 #include "api/ai_list.hpp" |
32 #include "api/ai_list.hpp.sq" |
33 #include "api/ai_map.hpp" |
33 #include "api/ai_map.hpp.sq" |
34 #include "api/ai_order.hpp" |
34 #include "api/ai_order.hpp.sq" |
35 #include "api/ai_road.hpp" |
35 #include "api/ai_road.hpp.sq" |
36 #include "api/ai_settings.hpp" |
36 #include "api/ai_settings.hpp.sq" |
37 #include "api/ai_sign.hpp" |
37 #include "api/ai_sign.hpp.sq" |
38 #include "api/ai_testmode.hpp" |
38 #include "api/ai_testmode.hpp.sq" |
39 #include "api/ai_tilelist.hpp" |
39 #include "api/ai_tilelist.hpp.sq" |
40 #include "api/ai_tilelist_valuator.hpp" |
40 #include "api/ai_tilelist_valuator.hpp.sq" |
41 #include "api/ai_town.hpp" |
41 #include "api/ai_town.hpp.sq" |
42 #include "api/ai_townlist.hpp" |
42 #include "api/ai_townlist.hpp.sq" |
43 #include "api/ai_townlist_valuator.hpp" |
43 #include "api/ai_townlist_valuator.hpp.sq" |
44 #include "api/ai_transactionmode.hpp" |
44 #include "api/ai_transactionmode.hpp.sq" |
45 #include "api/ai_vehicle.hpp" |
45 #include "api/ai_vehicle.hpp.sq" |
46 #undef DEFINE_SQUIRREL_CLASS |
46 #undef DEFINE_SQUIRREL_CLASS |
47 |
47 |
48 static FSquirrel iFSquirrel; ///< Tell the AI-core that we have an AI with which we like to play. |
48 static FSquirrel iFSquirrel; ///< Tell the AI-core that we have an AI with which we like to play. |
49 |
49 |
50 /** |
50 /** |