summaryrefslogtreecommitdiff
path: root/src/vehicle_base.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-04-20 11:12:07 +0000
committerrubidium <rubidium@openttd.org>2008-04-20 11:12:07 +0000
commit8186344628fb4d1c76c7e6d9994d1f18277a2412 (patch)
treedd68b4e6a0cf26c8d4091dc8be264021cfb88c35 /src/vehicle_base.h
parent40b19f39975731990f1c6687f99e2593f345e4f9 (diff)
downloadopenttd-8186344628fb4d1c76c7e6d9994d1f18277a2412.tar.xz
(svn r12804) -Codechange: move the effect vehicle handling out of vehicle.cpp
Diffstat (limited to 'src/vehicle_base.h')
-rw-r--r--src/vehicle_base.h27
1 files changed, 0 insertions, 27 deletions
diff --git a/src/vehicle_base.h b/src/vehicle_base.h
index 33d4b8696..4da76c125 100644
--- a/src/vehicle_base.h
+++ b/src/vehicle_base.h
@@ -539,33 +539,6 @@ public:
* v = new (v) Train();
*
* As side-effect the vehicle type is set correctly.
- *
- * A special vehicle is one of the following:
- * - smoke
- * - electric sparks for trains
- * - explosions
- * - bulldozer (road works)
- * - bubbles (industry)
- */
-struct EffectVehicle : public Vehicle {
- /** Initializes the Vehicle to a special vehicle */
- EffectVehicle() { this->type = VEH_EFFECT; }
-
- /** We want to 'destruct' the right class. */
- virtual ~EffectVehicle() {}
-
- const char *GetTypeString() const { return "special vehicle"; }
- void UpdateDeltaXY(Direction direction);
- void Tick();
-};
-
-/**
- * This class 'wraps' Vehicle; you do not actually instantiate this class.
- * You create a Vehicle using AllocateVehicle, so it is added to the pool
- * and you reinitialize that to a Train using:
- * v = new (v) Train();
- *
- * As side-effect the vehicle type is set correctly.
*/
struct DisasterVehicle : public Vehicle {
/** Initializes the Vehicle to a disaster vehicle */