Disasters, like submarines, skyrangers and their shadows, belong to this class. More...
#include <vehicle_base.h>
Public Member Functions | |
| DisasterVehicle () | |
| We don't want GCC to zero our struct! It already is zeroed and has an index! | |
| virtual | ~DisasterVehicle () |
| We want to 'destruct' the right class. | |
| const char * | GetTypeString () const |
| Get a string 'representation' of the vehicle type. | |
| void | UpdateDeltaXY (Direction direction) |
| Updates the x and y offsets and the size of the sprite used for this vehicle. | |
| bool | Tick () |
| Calls the tick handler of the vehicle. | |
Data Fields | |
| uint16 | image_override |
| VehicleID | big_ufo_destroyer_target |
Disasters, like submarines, skyrangers and their shadows, belong to this class.
Definition at line 671 of file vehicle_base.h.
| virtual DisasterVehicle::~DisasterVehicle | ( | ) | [inline, virtual] |
We want to 'destruct' the right class.
Definition at line 678 of file vehicle_base.h.
| const char* DisasterVehicle::GetTypeString | ( | ) | const [inline, virtual] |
Get a string 'representation' of the vehicle type.
Reimplemented from Vehicle.
Definition at line 680 of file vehicle_base.h.
| bool DisasterVehicle::Tick | ( | ) | [virtual] |
Calls the tick handler of the vehicle.
Reimplemented from Vehicle.
Definition at line 664 of file disaster_cmd.cpp.
References Vehicle::subtype.
| void DisasterVehicle::UpdateDeltaXY | ( | Direction | direction | ) | [virtual] |
Updates the x and y offsets and the size of the sprite used for this vehicle.
| direction | the direction the vehicle is facing |
Reimplemented from Vehicle.
Definition at line 965 of file disaster_cmd.cpp.
Referenced by InitializeDisasterVehicle().
1.6.1