(svn r23210) -Codechange: generate the GetClassName function for the AI classes programmatically

This commit is contained in:
rubidium
2011-11-13 20:52:39 +00:00
parent b7a655bf4c
commit 3f7eb71b17
101 changed files with 183 additions and 256 deletions

View File

@@ -21,9 +21,6 @@
*/
class AIStationList : public AIList {
public:
/** Get the name of this class to identify it towards squirrel. */
static const char *GetClassName() { return "AIStationList"; }
/**
* @param station_type The type of station to make a list of stations for.
*/
@@ -36,9 +33,6 @@ public:
*/
class AIStationList_Vehicle : public AIList {
public:
/** Get the name of this class to identify it towards squirrel. */
static const char *GetClassName() { return "AIStationList_Vehicle"; }
/**
* @param vehicle_id The vehicle to get the list of stations he has in its orders from.
*/