diff options
author | rubidium <rubidium@openttd.org> | 2008-04-20 10:13:54 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-04-20 10:13:54 +0000 |
commit | f55ffd14bdaa85f9eb7c22c442f46169f63137be (patch) | |
tree | 417e4bd30794e812ee9200d90aec95d9c7d5dc14 /src/vehicle_base.h | |
parent | 12ae3a2194011c7260da8286b7dc527eaacb1329 (diff) | |
download | openttd-f55ffd14bdaa85f9eb7c22c442f46169f63137be.tar.xz |
(svn r12803) -Cleanup: rename SpecialVehicle to EffectVehicle to have a uniform naming of the thing instead of using both names for the same thing.
Diffstat (limited to 'src/vehicle_base.h')
-rw-r--r-- | src/vehicle_base.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/vehicle_base.h b/src/vehicle_base.h index 806dc2dc7..33d4b8696 100644 --- a/src/vehicle_base.h +++ b/src/vehicle_base.h @@ -169,7 +169,7 @@ struct VehicleRoad { RoadTypes compatible_roadtypes; }; -struct VehicleSpecial { +struct VehicleEffect { uint16 animation_state; byte animation_substate; }; @@ -313,7 +313,7 @@ public: VehicleRail rail; VehicleAir air; VehicleRoad road; - VehicleSpecial special; + VehicleEffect effect; VehicleDisaster disaster; VehicleShip ship; } u; @@ -547,12 +547,12 @@ public: * - bulldozer (road works) * - bubbles (industry) */ -struct SpecialVehicle : public Vehicle { +struct EffectVehicle : public Vehicle { /** Initializes the Vehicle to a special vehicle */ - SpecialVehicle() { this->type = VEH_SPECIAL; } + EffectVehicle() { this->type = VEH_EFFECT; } /** We want to 'destruct' the right class. */ - virtual ~SpecialVehicle() {} + virtual ~EffectVehicle() {} const char *GetTypeString() const { return "special vehicle"; } void UpdateDeltaXY(Direction direction); |