diff --git a/src/ai/api/ai_abstractlist.hpp b/src/ai/api/ai_abstractlist.hpp index e2c0a92b91..a0b97f8f7f 100644 --- a/src/ai/api/ai_abstractlist.hpp +++ b/src/ai/api/ai_abstractlist.hpp @@ -24,6 +24,7 @@ class AIAbstractListSorter; */ class AIAbstractList : public AIObject { public: + /** Get the name of this class to identify it towards squirrel. */ static const char *GetClassName() { return "AIAbstractList"; } /** Type of sorter */ diff --git a/src/ai/api/ai_accounting.hpp b/src/ai/api/ai_accounting.hpp index 216ddabdda..1d4fc90857 100644 --- a/src/ai/api/ai_accounting.hpp +++ b/src/ai/api/ai_accounting.hpp @@ -29,6 +29,7 @@ */ class AIAccounting : public AIObject { public: + /** Get the name of this class to identify it towards squirrel. */ static const char *GetClassName() { return "AIAccounting"; } /** diff --git a/src/ai/api/ai_airport.hpp b/src/ai/api/ai_airport.hpp index d43eecafde..a058209c64 100644 --- a/src/ai/api/ai_airport.hpp +++ b/src/ai/api/ai_airport.hpp @@ -19,6 +19,7 @@ */ class AIAirport : public AIObject { public: + /** Get the name of this class to identify it towards squirrel. */ static const char *GetClassName() { return "AIAirport"; } /** diff --git a/src/ai/api/ai_base.hpp b/src/ai/api/ai_base.hpp index bf49b38131..d17bb05bdd 100644 --- a/src/ai/api/ai_base.hpp +++ b/src/ai/api/ai_base.hpp @@ -25,6 +25,7 @@ */ class AIBase : public AIObject { public: + /** Get the name of this class to identify it towards squirrel. */ static const char *GetClassName() { return "AIBase"; } /** diff --git a/src/ai/api/ai_basestation.hpp b/src/ai/api/ai_basestation.hpp index 2e6bb90264..aadc5fbed1 100644 --- a/src/ai/api/ai_basestation.hpp +++ b/src/ai/api/ai_basestation.hpp @@ -20,6 +20,7 @@ */ class AIBaseStation : public AIObject { public: + /** Get the name of this class to identify it towards squirrel. */ static const char *GetClassName() { return "AIBaseStation"; } /** diff --git a/src/ai/api/ai_bridge.hpp b/src/ai/api/ai_bridge.hpp index 19e6bbed1d..7a1842a379 100644 --- a/src/ai/api/ai_bridge.hpp +++ b/src/ai/api/ai_bridge.hpp @@ -41,6 +41,7 @@ public: ERR_BRIDGE_HEADS_NOT_ON_SAME_HEIGHT, // [STR_ERROR_BRIDGEHEADS_NOT_SAME_HEIGHT] }; + /** Get the name of this class to identify it towards squirrel. */ static const char *GetClassName() { return "AIBridge"; } /** diff --git a/src/ai/api/ai_bridgelist.hpp b/src/ai/api/ai_bridgelist.hpp index d94100efd6..3e9da60b74 100644 --- a/src/ai/api/ai_bridgelist.hpp +++ b/src/ai/api/ai_bridgelist.hpp @@ -20,6 +20,7 @@ */ class AIBridgeList : public AIAbstractList { public: + /** Get the name of this class to identify it towards squirrel. */ static const char *GetClassName() { return "AIBridgeList"; } AIBridgeList(); }; @@ -30,6 +31,7 @@ public: */ class AIBridgeList_Length : public AIAbstractList { public: + /** Get the name of this class to identify it towards squirrel. */ static const char *GetClassName() { return "AIBridgeList_Length"; } /** diff --git a/src/ai/api/ai_cargo.hpp b/src/ai/api/ai_cargo.hpp index 819d0399a0..4d7ad777b9 100644 --- a/src/ai/api/ai_cargo.hpp +++ b/src/ai/api/ai_cargo.hpp @@ -19,6 +19,7 @@ */ class AICargo : public AIObject { public: + /** Get the name of this class to identify it towards squirrel. */ static const char *GetClassName() { return "AICargo"; } /** diff --git a/src/ai/api/ai_cargolist.hpp b/src/ai/api/ai_cargolist.hpp index 8f30e9eef2..2cac3e0c20 100644 --- a/src/ai/api/ai_cargolist.hpp +++ b/src/ai/api/ai_cargolist.hpp @@ -20,6 +20,7 @@ */ class AICargoList : public AIAbstractList { public: + /** Get the name of this class to identify it towards squirrel. */ static const char *GetClassName() { return "AICargoList"; } AICargoList(); }; @@ -30,6 +31,7 @@ public: */ class AICargoList_IndustryAccepting : public AIAbstractList { public: + /** Get the name of this class to identify it towards squirrel. */ static const char *GetClassName() { return "AICargoList_IndustryAccepting"; } /** @@ -44,6 +46,7 @@ public: */ class AICargoList_IndustryProducing : public AIAbstractList { public: + /** Get the name of this class to identify it towards squirrel. */ static const char *GetClassName() { return "AICargoList_IndustryProducing"; } /** diff --git a/src/ai/api/ai_company.hpp b/src/ai/api/ai_company.hpp index a4b52d9a72..263271fc11 100644 --- a/src/ai/api/ai_company.hpp +++ b/src/ai/api/ai_company.hpp @@ -19,6 +19,7 @@ */ class AICompany : public AIObject { public: + /** Get the name of this class to identify it towards squirrel. */ static const char *GetClassName() { return "AICompany"; } /** Different constants related to CompanyID. */ diff --git a/src/ai/api/ai_controller.hpp b/src/ai/api/ai_controller.hpp index a857886e06..03dd77ef42 100644 --- a/src/ai/api/ai_controller.hpp +++ b/src/ai/api/ai_controller.hpp @@ -24,6 +24,7 @@ class AIController { friend class AIInstance; public: + /** Get the name of this class to identify it towards squirrel. */ static const char *GetClassName() { return "AIController"; } /** diff --git a/src/ai/api/ai_date.hpp b/src/ai/api/ai_date.hpp index 00d7e97819..3bb22f9937 100644 --- a/src/ai/api/ai_date.hpp +++ b/src/ai/api/ai_date.hpp @@ -26,6 +26,7 @@ */ class AIDate : public AIObject { public: + /** Get the name of this class to identify it towards squirrel. */ static const char *GetClassName() { return "AIDate"; } /** diff --git a/src/ai/api/ai_depotlist.hpp b/src/ai/api/ai_depotlist.hpp index 1574826d9a..ac1cdee465 100644 --- a/src/ai/api/ai_depotlist.hpp +++ b/src/ai/api/ai_depotlist.hpp @@ -21,6 +21,7 @@ */ class AIDepotList : public AIAbstractList { public: + /** Get the name of this class to identify it towards squirrel. */ static const char *GetClassName() { return "AIDepotList"; } /** diff --git a/src/ai/api/ai_engine.hpp b/src/ai/api/ai_engine.hpp index 62cfcbc4d6..b126734a8a 100644 --- a/src/ai/api/ai_engine.hpp +++ b/src/ai/api/ai_engine.hpp @@ -23,6 +23,7 @@ */ class AIEngine : public AIObject { public: + /** Get the name of this class to identify it towards squirrel. */ static const char *GetClassName() { return "AIEngine"; } /** diff --git a/src/ai/api/ai_enginelist.hpp b/src/ai/api/ai_enginelist.hpp index 992f02ff15..f52dd371d6 100644 --- a/src/ai/api/ai_enginelist.hpp +++ b/src/ai/api/ai_enginelist.hpp @@ -21,6 +21,7 @@ */ class AIEngineList : public AIAbstractList { public: + /** Get the name of this class to identify it towards squirrel. */ static const char *GetClassName() { return "AIEngineList"; } /** diff --git a/src/ai/api/ai_error.hpp b/src/ai/api/ai_error.hpp index 607eafbf45..e26944eaef 100644 --- a/src/ai/api/ai_error.hpp +++ b/src/ai/api/ai_error.hpp @@ -43,6 +43,7 @@ */ class AIError : public AIObject { public: + /** Get the name of this class to identify it towards squirrel. */ static const char *GetClassName() { return "AIError"; } /** diff --git a/src/ai/api/ai_event.hpp b/src/ai/api/ai_event.hpp index dd12dfbcaa..ed77d95b37 100644 --- a/src/ai/api/ai_event.hpp +++ b/src/ai/api/ai_event.hpp @@ -21,6 +21,7 @@ */ class AIEvent : public AIObject { public: + /** Get the name of this class to identify it towards squirrel. */ static const char *GetClassName() { return "AIEvent"; } /** @@ -81,6 +82,7 @@ public: /** * The name of the class, needed by several sub-processes. */ + /** Get the name of this class to identify it towards squirrel. */ static const char *GetClassName() { return "AIEventController"; } /** diff --git a/src/ai/api/ai_event_types.hpp b/src/ai/api/ai_event_types.hpp index 826b93950e..7be1136e3f 100644 --- a/src/ai/api/ai_event_types.hpp +++ b/src/ai/api/ai_event_types.hpp @@ -22,6 +22,7 @@ */ class AIEventVehicleCrashed : public AIEvent { public: + /** Get the name of this class to identify it towards squirrel. */ static const char *GetClassName() { return "AIEventVehicleCrashed"; } /** @@ -84,6 +85,7 @@ private: */ class AIEventSubsidyOffer : public AIEvent { public: + /** Get the name of this class to identify it towards squirrel. */ static const char *GetClassName() { return "AIEventSubsidyOffer"; } /** @@ -116,6 +118,7 @@ private: */ class AIEventSubsidyOfferExpired : public AIEvent { public: + /** Get the name of this class to identify it towards squirrel. */ static const char *GetClassName() { return "AIEventSubsidyOfferExpired"; } /** @@ -148,6 +151,7 @@ private: */ class AIEventSubsidyAwarded : public AIEvent { public: + /** Get the name of this class to identify it towards squirrel. */ static const char *GetClassName() { return "AIEventSubsidyAwarded"; } /** @@ -180,6 +184,7 @@ private: */ class AIEventSubsidyExpired : public AIEvent { public: + /** Get the name of this class to identify it towards squirrel. */ static const char *GetClassName() { return "AIEventSubsidyExpired"; } /** @@ -214,6 +219,7 @@ private: */ class AIEventEnginePreview : public AIEvent { public: + /** Get the name of this class to identify it towards squirrel. */ static const char *GetClassName() { return "AIEventEnginePreview"; } /** @@ -298,6 +304,7 @@ private: */ class AIEventCompanyNew : public AIEvent { public: + /** Get the name of this class to identify it towards squirrel. */ static const char *GetClassName() { return "AIEventCompanyNew"; } /** @@ -331,6 +338,7 @@ private: */ class AIEventCompanyInTrouble : public AIEvent { public: + /** Get the name of this class to identify it towards squirrel. */ static const char *GetClassName() { return "AIEventCompanyInTrouble"; } /** @@ -363,6 +371,7 @@ private: */ class AIEventCompanyAskMerger : public AIEvent { public: + /** Get the name of this class to identify it towards squirrel. */ static const char *GetClassName() { return "AIEventCompanyAskMerger"; } /** @@ -412,6 +421,7 @@ private: */ class AIEventCompanyMerger : public AIEvent { public: + /** Get the name of this class to identify it towards squirrel. */ static const char *GetClassName() { return "AIEventCompanyMerger"; } /** @@ -456,6 +466,7 @@ private: */ class AIEventCompanyBankrupt : public AIEvent { public: + /** Get the name of this class to identify it towards squirrel. */ static const char *GetClassName() { return "AIEventCompanyBankrupt"; } /** @@ -488,6 +499,7 @@ private: */ class AIEventVehicleLost : public AIEvent { public: + /** Get the name of this class to identify it towards squirrel. */ static const char *GetClassName() { return "AIEventVehicleLost"; } /** @@ -520,6 +532,7 @@ private: */ class AIEventVehicleWaitingInDepot : public AIEvent { public: + /** Get the name of this class to identify it towards squirrel. */ static const char *GetClassName() { return "AIEventVehicleWaitingInDepot"; } /** @@ -552,6 +565,7 @@ private: */ class AIEventVehicleUnprofitable : public AIEvent { public: + /** Get the name of this class to identify it towards squirrel. */ static const char *GetClassName() { return "AIEventVehicleUnprofitable"; } /** @@ -584,6 +598,7 @@ private: */ class AIEventIndustryOpen : public AIEvent { public: + /** Get the name of this class to identify it towards squirrel. */ static const char *GetClassName() { return "AIEventIndustryOpen"; } /** @@ -616,6 +631,7 @@ private: */ class AIEventIndustryClose : public AIEvent { public: + /** Get the name of this class to identify it towards squirrel. */ static const char *GetClassName() { return "AIEventIndustryClose"; } /** @@ -648,6 +664,7 @@ private: */ class AIEventEngineAvailable : public AIEvent { public: + /** Get the name of this class to identify it towards squirrel. */ static const char *GetClassName() { return "AIEventEngineAvailable"; } /** @@ -680,6 +697,7 @@ private: */ class AIEventStationFirstVehicle : public AIEvent { public: + /** Get the name of this class to identify it towards squirrel. */ static const char *GetClassName() { return "AIEventStationFirstVehicle"; } /** @@ -721,6 +739,7 @@ private: */ class AIEventDisasterZeppelinerCrashed : public AIEvent { public: + /** Get the name of this class to identify it towards squirrel. */ static const char *GetClassName() { return "AIEventDisasterZeppelinerCrashed"; } /** @@ -753,6 +772,7 @@ private: */ class AIEventDisasterZeppelinerCleared : public AIEvent { public: + /** Get the name of this class to identify it towards squirrel. */ static const char *GetClassName() { return "AIEventDisasterZeppelinerCleared"; } /** diff --git a/src/ai/api/ai_execmode.hpp b/src/ai/api/ai_execmode.hpp index 6fb2f8cef1..f5d2a53984 100644 --- a/src/ai/api/ai_execmode.hpp +++ b/src/ai/api/ai_execmode.hpp @@ -23,6 +23,7 @@ */ class AIExecMode : public AIObject { public: + /** Get the name of this class to identify it towards squirrel. */ static const char *GetClassName() { return "AIExecMode"; } private: diff --git a/src/ai/api/ai_gamesettings.hpp b/src/ai/api/ai_gamesettings.hpp index 4be80c40c2..a38debe6da 100644 --- a/src/ai/api/ai_gamesettings.hpp +++ b/src/ai/api/ai_gamesettings.hpp @@ -37,6 +37,7 @@ */ class AIGameSettings : public AIObject { public: + /** Get the name of this class to identify it towards squirrel. */ static const char *GetClassName() { return "AIGameSettings"; } /** diff --git a/src/ai/api/ai_group.hpp b/src/ai/api/ai_group.hpp index 0a3aa9f089..593bdb5595 100644 --- a/src/ai/api/ai_group.hpp +++ b/src/ai/api/ai_group.hpp @@ -20,6 +20,7 @@ */ class AIGroup : public AIObject { public: + /** Get the name of this class to identify it towards squirrel. */ static const char *GetClassName() { return "AIGroup"; } /** diff --git a/src/ai/api/ai_grouplist.hpp b/src/ai/api/ai_grouplist.hpp index 4629ad8bba..a2651cc1d5 100644 --- a/src/ai/api/ai_grouplist.hpp +++ b/src/ai/api/ai_grouplist.hpp @@ -21,6 +21,7 @@ */ class AIGroupList : public AIAbstractList { public: + /** Get the name of this class to identify it towards squirrel. */ static const char *GetClassName() { return "AIGroupList"; } AIGroupList(); }; diff --git a/src/ai/api/ai_industry.hpp b/src/ai/api/ai_industry.hpp index d5eaac817f..0d662d2b65 100644 --- a/src/ai/api/ai_industry.hpp +++ b/src/ai/api/ai_industry.hpp @@ -19,6 +19,7 @@ */ class AIIndustry : public AIObject { public: + /** Get the name of this class to identify it towards squirrel. */ static const char *GetClassName() { return "AIIndustry"; } /** diff --git a/src/ai/api/ai_industrylist.hpp b/src/ai/api/ai_industrylist.hpp index 3fcfb17f80..8f7854165c 100644 --- a/src/ai/api/ai_industrylist.hpp +++ b/src/ai/api/ai_industrylist.hpp @@ -20,6 +20,7 @@ */ class AIIndustryList : public AIAbstractList { public: + /** Get the name of this class to identify it towards squirrel. */ static const char *GetClassName() { return "AIIndustryList"; } AIIndustryList(); }; @@ -30,6 +31,7 @@ public: */ class AIIndustryList_CargoAccepting : public AIAbstractList { public: + /** Get the name of this class to identify it towards squirrel. */ static const char *GetClassName() { return "AIIndustryList_CargoAccepting"; } /** @@ -45,6 +47,7 @@ public: */ class AIIndustryList_CargoProducing : public AIAbstractList { public: + /** Get the name of this class to identify it towards squirrel. */ static const char *GetClassName() { return "AIIndustryList_CargoProducing"; } /** diff --git a/src/ai/api/ai_industrytype.hpp b/src/ai/api/ai_industrytype.hpp index 94f8d1705e..2d0e48b317 100644 --- a/src/ai/api/ai_industrytype.hpp +++ b/src/ai/api/ai_industrytype.hpp @@ -21,6 +21,7 @@ */ class AIIndustryType : public AIObject { public: + /** Get the name of this class to identify it towards squirrel. */ static const char *GetClassName() { return "AIIndustryType"; } /** diff --git a/src/ai/api/ai_industrytypelist.hpp b/src/ai/api/ai_industrytypelist.hpp index ce6860b77d..a2b1700656 100644 --- a/src/ai/api/ai_industrytypelist.hpp +++ b/src/ai/api/ai_industrytypelist.hpp @@ -21,6 +21,7 @@ */ class AIIndustryTypeList : public AIAbstractList { public: + /** Get the name of this class to identify it towards squirrel. */ static const char *GetClassName() { return "AIIndustryTypeList"; } AIIndustryTypeList(); }; diff --git a/src/ai/api/ai_list.hpp b/src/ai/api/ai_list.hpp index 9379972088..1bd114aa23 100644 --- a/src/ai/api/ai_list.hpp +++ b/src/ai/api/ai_list.hpp @@ -20,6 +20,7 @@ */ class AIList : public AIAbstractList { public: + /** Get the name of this class to identify it towards squirrel. */ static const char *GetClassName() { return "AIList"; } public: diff --git a/src/ai/api/ai_log.hpp b/src/ai/api/ai_log.hpp index 641059fbc6..c144166447 100644 --- a/src/ai/api/ai_log.hpp +++ b/src/ai/api/ai_log.hpp @@ -23,6 +23,7 @@ class AILog : public AIObject { friend class AIController; public: + /** Get the name of this class to identify it towards squirrel. */ static const char *GetClassName() { return "AILog"; } #ifndef EXPORT_SKIP diff --git a/src/ai/api/ai_map.hpp b/src/ai/api/ai_map.hpp index 5aba3722ff..316a3590ed 100644 --- a/src/ai/api/ai_map.hpp +++ b/src/ai/api/ai_map.hpp @@ -22,6 +22,7 @@ class AIMap : public AIObject { public: static const int TILE_INVALID = (int)INVALID_TILE; ///< Invalid TileIndex. + /** Get the name of this class to identify it towards squirrel. */ static const char *GetClassName() { return "AIMap"; } /** diff --git a/src/ai/api/ai_marine.hpp b/src/ai/api/ai_marine.hpp index a1a0a092e0..e324e27f3e 100644 --- a/src/ai/api/ai_marine.hpp +++ b/src/ai/api/ai_marine.hpp @@ -20,6 +20,7 @@ */ class AIMarine : public AIObject { public: + /** Get the name of this class to identify it towards squirrel. */ static const char *GetClassName() { return "AIMarine"; } /** diff --git a/src/ai/api/ai_order.hpp b/src/ai/api/ai_order.hpp index 2c80f31abd..4bdd3f5607 100644 --- a/src/ai/api/ai_order.hpp +++ b/src/ai/api/ai_order.hpp @@ -20,6 +20,7 @@ */ class AIOrder : public AIObject { public: + /** Get the name of this class to identify it towards squirrel. */ static const char *GetClassName() { return "AIOrder"; } /** diff --git a/src/ai/api/ai_rail.hpp b/src/ai/api/ai_rail.hpp index 79f12d2159..8b858c0ad8 100644 --- a/src/ai/api/ai_rail.hpp +++ b/src/ai/api/ai_rail.hpp @@ -21,6 +21,7 @@ */ class AIRail : public AIObject { public: + /** Get the name of this class to identify it towards squirrel. */ static const char *GetClassName() { return "AIRail"; } /** diff --git a/src/ai/api/ai_railtypelist.hpp b/src/ai/api/ai_railtypelist.hpp index 8be8760530..6ee6a7cd55 100644 --- a/src/ai/api/ai_railtypelist.hpp +++ b/src/ai/api/ai_railtypelist.hpp @@ -20,6 +20,7 @@ */ class AIRailTypeList : public AIAbstractList { public: + /** Get the name of this class to identify it towards squirrel. */ static const char *GetClassName() { return "AIRailTypeList"; } AIRailTypeList(); }; diff --git a/src/ai/api/ai_road.hpp b/src/ai/api/ai_road.hpp index 705a316f34..0dda93e334 100644 --- a/src/ai/api/ai_road.hpp +++ b/src/ai/api/ai_road.hpp @@ -21,6 +21,7 @@ */ class AIRoad : public AIObject { public: + /** Get the name of this class to identify it towards squirrel. */ static const char *GetClassName() { return "AIRoad"; } /** diff --git a/src/ai/api/ai_sign.hpp b/src/ai/api/ai_sign.hpp index 4fba829a0f..518f1782bb 100644 --- a/src/ai/api/ai_sign.hpp +++ b/src/ai/api/ai_sign.hpp @@ -21,6 +21,7 @@ */ class AISign : public AIObject { public: + /** Get the name of this class to identify it towards squirrel. */ static const char *GetClassName() { return "AISign"; } /** diff --git a/src/ai/api/ai_signlist.hpp b/src/ai/api/ai_signlist.hpp index c12904706c..be6986d56d 100644 --- a/src/ai/api/ai_signlist.hpp +++ b/src/ai/api/ai_signlist.hpp @@ -20,6 +20,7 @@ */ class AISignList : public AIAbstractList { public: + /** Get the name of this class to identify it towards squirrel. */ static const char *GetClassName() { return "AISignList"; } AISignList(); }; diff --git a/src/ai/api/ai_station.hpp b/src/ai/api/ai_station.hpp index 9a8abf7fcf..68ead640c4 100644 --- a/src/ai/api/ai_station.hpp +++ b/src/ai/api/ai_station.hpp @@ -22,6 +22,7 @@ */ class AIStation : public AIBaseStation { public: + /** Get the name of this class to identify it towards squirrel. */ static const char *GetClassName() { return "AIStation"; } /** diff --git a/src/ai/api/ai_stationlist.hpp b/src/ai/api/ai_stationlist.hpp index 5bc5681af9..bbe8b0902e 100644 --- a/src/ai/api/ai_stationlist.hpp +++ b/src/ai/api/ai_stationlist.hpp @@ -21,6 +21,7 @@ */ class AIStationList : public AIAbstractList { public: + /** Get the name of this class to identify it towards squirrel. */ static const char *GetClassName() { return "AIStationList"; } /** @@ -35,6 +36,7 @@ public: */ class AIStationList_Vehicle : public AIAbstractList { public: + /** Get the name of this class to identify it towards squirrel. */ static const char *GetClassName() { return "AIStationList_Vehicle"; } /** diff --git a/src/ai/api/ai_subsidy.hpp b/src/ai/api/ai_subsidy.hpp index a15c39e7d9..2993c867e1 100644 --- a/src/ai/api/ai_subsidy.hpp +++ b/src/ai/api/ai_subsidy.hpp @@ -20,6 +20,7 @@ */ class AISubsidy : public AIObject { public: + /** Get the name of this class to identify it towards squirrel. */ static const char *GetClassName() { return "AISubsidy"; } /** diff --git a/src/ai/api/ai_subsidylist.hpp b/src/ai/api/ai_subsidylist.hpp index 988898d921..4b8adf2fc2 100644 --- a/src/ai/api/ai_subsidylist.hpp +++ b/src/ai/api/ai_subsidylist.hpp @@ -20,6 +20,7 @@ */ class AISubsidyList : public AIAbstractList { public: + /** Get the name of this class to identify it towards squirrel. */ static const char *GetClassName() { return "AISubsidyList"; } AISubsidyList(); }; diff --git a/src/ai/api/ai_testmode.hpp b/src/ai/api/ai_testmode.hpp index 992cb42b5b..a5596727e4 100644 --- a/src/ai/api/ai_testmode.hpp +++ b/src/ai/api/ai_testmode.hpp @@ -25,6 +25,7 @@ */ class AITestMode : public AIObject { public: + /** Get the name of this class to identify it towards squirrel. */ static const char *GetClassName() { return "AITestMode"; } private: diff --git a/src/ai/api/ai_tile.hpp b/src/ai/api/ai_tile.hpp index 5b68549310..b74c5b9f7e 100644 --- a/src/ai/api/ai_tile.hpp +++ b/src/ai/api/ai_tile.hpp @@ -21,6 +21,7 @@ */ class AITile : public AIObject { public: + /** Get the name of this class to identify it towards squirrel. */ static const char *GetClassName() { return "AITile"; } /** diff --git a/src/ai/api/ai_tilelist.hpp b/src/ai/api/ai_tilelist.hpp index f3d0755e26..f4fb9b3e31 100644 --- a/src/ai/api/ai_tilelist.hpp +++ b/src/ai/api/ai_tilelist.hpp @@ -21,6 +21,7 @@ */ class AITileList : public AIAbstractList { public: + /** Get the name of this class to identify it towards squirrel. */ static const char *GetClassName() { return "AITileList"; } /** @@ -63,6 +64,7 @@ public: */ class AITileList_IndustryAccepting : public AITileList { public: + /** Get the name of this class to identify it towards squirrel. */ static const char *GetClassName() { return "AITileList_IndustryAccepting"; } /** @@ -81,6 +83,7 @@ public: */ class AITileList_IndustryProducing : public AITileList { public: + /** Get the name of this class to identify it towards squirrel. */ static const char *GetClassName() { return "AITileList_IndustryProducing"; } /** @@ -99,6 +102,7 @@ public: */ class AITileList_StationType : public AITileList { public: + /** Get the name of this class to identify it towards squirrel. */ static const char *GetClassName() { return "AITileList_StationType"; } /** diff --git a/src/ai/api/ai_town.hpp b/src/ai/api/ai_town.hpp index 68119aee02..83c9b2fa42 100644 --- a/src/ai/api/ai_town.hpp +++ b/src/ai/api/ai_town.hpp @@ -20,6 +20,7 @@ */ class AITown : public AIObject { public: + /** Get the name of this class to identify it towards squirrel. */ static const char *GetClassName() { return "AITown"; } /** diff --git a/src/ai/api/ai_townlist.hpp b/src/ai/api/ai_townlist.hpp index aaded8a604..6a50019281 100644 --- a/src/ai/api/ai_townlist.hpp +++ b/src/ai/api/ai_townlist.hpp @@ -20,6 +20,7 @@ */ class AITownList : public AIAbstractList { public: + /** Get the name of this class to identify it towards squirrel. */ static const char *GetClassName() { return "AITownList"; } AITownList(); }; diff --git a/src/ai/api/ai_tunnel.hpp b/src/ai/api/ai_tunnel.hpp index 6c6c224907..0dac7e857b 100644 --- a/src/ai/api/ai_tunnel.hpp +++ b/src/ai/api/ai_tunnel.hpp @@ -20,6 +20,7 @@ */ class AITunnel : public AIObject { public: + /** Get the name of this class to identify it towards squirrel. */ static const char *GetClassName() { return "AITunnel"; } /** diff --git a/src/ai/api/ai_vehicle.hpp b/src/ai/api/ai_vehicle.hpp index 24bc8b4f20..d2c56c4abc 100644 --- a/src/ai/api/ai_vehicle.hpp +++ b/src/ai/api/ai_vehicle.hpp @@ -22,6 +22,7 @@ */ class AIVehicle : public AIObject { public: + /** Get the name of this class to identify it towards squirrel. */ static const char *GetClassName() { return "AIVehicle"; } /** diff --git a/src/ai/api/ai_vehiclelist.hpp b/src/ai/api/ai_vehiclelist.hpp index ac868ead34..8ea2618624 100644 --- a/src/ai/api/ai_vehiclelist.hpp +++ b/src/ai/api/ai_vehiclelist.hpp @@ -21,6 +21,7 @@ */ class AIVehicleList : public AIAbstractList { public: + /** Get the name of this class to identify it towards squirrel. */ static const char *GetClassName() { return "AIVehicleList"; } AIVehicleList(); }; @@ -31,6 +32,7 @@ public: */ class AIVehicleList_Station : public AIAbstractList { public: + /** Get the name of this class to identify it towards squirrel. */ static const char *GetClassName() { return "AIVehicleList_Station"; } /** @@ -50,6 +52,7 @@ public: */ class AIVehicleList_Depot : public AIAbstractList { public: + /** Get the name of this class to identify it towards squirrel. */ static const char *GetClassName() { return "AIVehicleList_Depot"; } /** @@ -64,6 +67,7 @@ public: */ class AIVehicleList_SharedOrders : public AIAbstractList { public: + /** Get the name of this class to identify it towards squirrel. */ static const char *GetClassName() { return "AIVehicleList_SharedOrders"; } /** @@ -78,6 +82,7 @@ public: */ class AIVehicleList_Group : public AIAbstractList { public: + /** Get the name of this class to identify it towards squirrel. */ static const char *GetClassName() { return "AIVehicleList_Group"; } /** @@ -92,6 +97,7 @@ public: */ class AIVehicleList_DefaultGroup : public AIAbstractList { public: + /** Get the name of this class to identify it towards squirrel. */ static const char *GetClassName() { return "AIVehicleList_DefaultGroup"; } /** diff --git a/src/ai/api/ai_waypoint.hpp b/src/ai/api/ai_waypoint.hpp index 2bbb0f4a49..1ba1b99ef9 100644 --- a/src/ai/api/ai_waypoint.hpp +++ b/src/ai/api/ai_waypoint.hpp @@ -21,6 +21,7 @@ */ class AIWaypoint : public AIBaseStation { public: + /** Get the name of this class to identify it towards squirrel. */ static const char *GetClassName() { return "AIWaypoint"; } /** diff --git a/src/ai/api/ai_waypointlist.hpp b/src/ai/api/ai_waypointlist.hpp index e7c322ece9..70e235d5cb 100644 --- a/src/ai/api/ai_waypointlist.hpp +++ b/src/ai/api/ai_waypointlist.hpp @@ -21,6 +21,7 @@ */ class AIWaypointList : public AIAbstractList { public: + /** Get the name of this class to identify it towards squirrel. */ static const char *GetClassName() { return "AIWaypointList"; } /** @@ -35,6 +36,7 @@ public: */ class AIWaypointList_Vehicle : public AIAbstractList { public: + /** Get the name of this class to identify it towards squirrel. */ static const char *GetClassName() { return "AIWaypointList_Vehicle"; } /**