summaryrefslogtreecommitdiff
path: root/src/ai/api/ai_tilelist.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_tilelist.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_tilelist.hpp')
-rw-r--r--src/ai/api/ai_tilelist.hpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/ai/api/ai_tilelist.hpp b/src/ai/api/ai_tilelist.hpp
index ddfcd8eb4..803429a60 100644
--- a/src/ai/api/ai_tilelist.hpp
+++ b/src/ai/api/ai_tilelist.hpp
@@ -21,9 +21,6 @@
*/
class AITileList : public AIList {
public:
- /** Get the name of this class to identify it towards squirrel. */
- static const char *GetClassName() { return "AITileList"; }
-
/**
* Adds the rectangle between tile_from and tile_to to the to-be-evaluated tiles.
* @param tile_from One corner of the tiles to add.
@@ -64,9 +61,6 @@ 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"; }
-
/**
* @param industry_id The industry to create the AITileList around.
* @param radius The radius of the station you will be using.
@@ -83,9 +77,6 @@ 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"; }
-
/**
* @param industry_id The industry to create the AITileList around.
* @param radius The radius of the station you will be using.
@@ -102,9 +93,6 @@ 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"; }
-
/**
* @param station_id The station to create the AITileList for.
* @param station_type The StationType to create the AIList for.