effectvehicle_base.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00012 #ifndef EFFECTVEHICLE_BASE_H
00013 #define EFFECTVEHICLE_BASE_H
00014
00015 #include "vehicle_base.h"
00016
00025 struct EffectVehicle : public SpecializedVehicle<EffectVehicle, VEH_EFFECT> {
00026 uint16 animation_state;
00027 byte animation_substate;
00028
00030 EffectVehicle() : SpecializedVehicle<EffectVehicle, VEH_EFFECT>() {}
00032 virtual ~EffectVehicle() {}
00033
00034 const char *GetTypeString() const { return "special vehicle"; }
00035 void UpdateDeltaXY(Direction direction);
00036 bool Tick();
00037 };
00038
00039 #define FOR_ALL_EFFECTVEHICLES(var) FOR_ALL_VEHICLES_OF_TYPE(EffectVehicle, var)
00040
00041 #endif