summaryrefslogtreecommitdiff
path: root/src/ai/api/ai_vehiclelist.hpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-11-13 20:52:39 +0000
committerrubidium <rubidium@openttd.org>2011-11-13 20:52:39 +0000
commit3f7eb71b17da7840678c68953729aff156cc500b (patch)
tree5d71bc9aae9a9bc39ae15c1794f85d7e14987628 /src/ai/api/ai_vehiclelist.hpp
parentb7a655bf4cafc68e14cade593e8b1aca7f04f7dd (diff)
downloadopenttd-3f7eb71b17da7840678c68953729aff156cc500b.tar.xz
(svn r23210) -Codechange: generate the GetClassName function for the AI classes programmatically
Diffstat (limited to 'src/ai/api/ai_vehiclelist.hpp')
-rw-r--r--src/ai/api/ai_vehiclelist.hpp17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/ai/api/ai_vehiclelist.hpp b/src/ai/api/ai_vehiclelist.hpp
index cce400839..e6b01c360 100644
--- a/src/ai/api/ai_vehiclelist.hpp
+++ b/src/ai/api/ai_vehiclelist.hpp
@@ -21,8 +21,6 @@
*/
class AIVehicleList : public AIList {
public:
- /** Get the name of this class to identify it towards squirrel. */
- static const char *GetClassName() { return "AIVehicleList"; }
AIVehicleList();
};
@@ -32,9 +30,6 @@ public:
*/
class AIVehicleList_Station : public AIList {
public:
- /** Get the name of this class to identify it towards squirrel. */
- static const char *GetClassName() { return "AIVehicleList_Station"; }
-
/**
* @param station_id The station to get the list of vehicles from, which have orders to it.
* @pre AIBaseStation::IsValidBaseStation(station_id)
@@ -52,9 +47,6 @@ public:
*/
class AIVehicleList_Depot : public AIList {
public:
- /** Get the name of this class to identify it towards squirrel. */
- static const char *GetClassName() { return "AIVehicleList_Depot"; }
-
/**
* @param tile The tile of the depot to get the list of vehicles from, which have orders to it.
*/
@@ -67,9 +59,6 @@ public:
*/
class AIVehicleList_SharedOrders : public AIList {
public:
- /** Get the name of this class to identify it towards squirrel. */
- static const char *GetClassName() { return "AIVehicleList_SharedOrders"; }
-
/**
* @param vehicle_id The vehicle that the rest shared orders with.
*/
@@ -82,9 +71,6 @@ public:
*/
class AIVehicleList_Group : public AIList {
public:
- /** Get the name of this class to identify it towards squirrel. */
- static const char *GetClassName() { return "AIVehicleList_Group"; }
-
/**
* @param group_id The ID of the group the vehicles are in.
*/
@@ -97,9 +83,6 @@ public:
*/
class AIVehicleList_DefaultGroup : public AIList {
public:
- /** Get the name of this class to identify it towards squirrel. */
- static const char *GetClassName() { return "AIVehicleList_DefaultGroup"; }
-
/**
* @param vehicle_type The VehicleType to get the list of vehicles for.
*/