diff options
author | glx <glx@openttd.org> | 2009-01-25 19:06:00 +0000 |
---|---|---|
committer | glx <glx@openttd.org> | 2009-01-25 19:06:00 +0000 |
commit | 062f32a1868f3a72ab54c0097059d937ab30ce38 (patch) | |
tree | e92b8bce8a6e198fc26860c8b75a4188cb2cd7c4 /src/ai/api/ai_event_types.hpp | |
parent | fc965a75dcd040194db16802ee0b4d7ae4efe86d (diff) | |
download | openttd-062f32a1868f3a72ab54c0097059d937ab30ce38.tar.xz |
(svn r15270) -Change [API CHANGE]: remove AIEventTest
Diffstat (limited to 'src/ai/api/ai_event_types.hpp')
-rw-r--r-- | src/ai/api/ai_event_types.hpp | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/src/ai/api/ai_event_types.hpp b/src/ai/api/ai_event_types.hpp index 6fbf5be3f..75bef42a1 100644 --- a/src/ai/api/ai_event_types.hpp +++ b/src/ai/api/ai_event_types.hpp @@ -13,39 +13,6 @@ #include "ai_subsidy.hpp" /** - * Event Test: a simple test event, to see if the event system is working. - * Triggered via AIEventController::Test(); - */ -class AIEventTest : public AIEvent { -public: - static const char *GetClassName() { return "AIEventTest"; } - - /** - * @param test A test value. - */ - AIEventTest(uint test) : - AIEvent(AI_ET_TEST), - test(test) - {} - - /** - * Convert an AIEvent to the real instance. - * @param instance The instance to convert. - * @return The converted instance. - */ - static AIEventTest *Convert(AIEvent *instance) { return (AIEventTest *)instance; } - - /** - * Return the test value. - * @return The test value. - */ - uint GetTest() { return this->test; } - -private: - uint test; -}; - -/** * Event Vehicle Crash, indicating a vehicle of yours is crashed. * It contains both the crash site as the vehicle crashed. It has a nice * helper that creates a new vehicle in a depot with the same type |