summaryrefslogtreecommitdiff
path: root/src/ai/api/ai_event.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_event.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_event.hpp')
-rw-r--r--src/ai/api/ai_event.hpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/ai/api/ai_event.hpp b/src/ai/api/ai_event.hpp
index 4b3b2cf94..cbd5134f8 100644
--- a/src/ai/api/ai_event.hpp
+++ b/src/ai/api/ai_event.hpp
@@ -21,9 +21,6 @@
*/
class AIEvent : public AIObject {
public:
- /** Get the name of this class to identify it towards squirrel. */
- static const char *GetClassName() { return "AIEvent"; }
-
/**
* The type of event. Needed to lookup the detailed class.
*/
@@ -81,12 +78,6 @@ protected:
class AIEventController : public AIObject {
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"; }
-
- /**
* Check if there is an event waiting.
* @return true if there is an event on the stack.
*/