OpenTTD
|
All disaster vehicles. More...
#include "vehicle_base.h"
Go to the source code of this file.
Data Structures | |
struct | DisasterVehicle |
Disasters, like submarines, skyrangers and their shadows, belong to this class. More... |
Macros | |
#define | FOR_ALL_DISASTERVEHICLES(var) FOR_ALL_VEHICLES_OF_TYPE(DisasterVehicle, var) |
Iterate over disaster vehicles. |
Enumerations | |
enum | DisasterSubType { ST_ZEPPELINER, ST_ZEPPELINER_SHADOW, ST_SMALL_UFO, ST_SMALL_UFO_SHADOW, ST_AIRPLANE, ST_AIRPLANE_SHADOW, ST_HELICOPTER, ST_HELICOPTER_SHADOW, ST_HELICOPTER_ROTORS, ST_BIG_UFO, ST_BIG_UFO_SHADOW, ST_BIG_UFO_DESTROYER, ST_BIG_UFO_DESTROYER_SHADOW, ST_SMALL_SUBMARINE, ST_BIG_SUBMARINE } |
Different sub types of disaster vehicles. More... |
All disaster vehicles.
Definition in file disaster_vehicle.h.
#define FOR_ALL_DISASTERVEHICLES | ( | var | ) | FOR_ALL_VEHICLES_OF_TYPE(DisasterVehicle, var) |
Iterate over disaster vehicles.
var | The variable used to iterate over. |
Definition at line 60 of file disaster_vehicle.h.
Referenced by AfterLoadGame(), ReleaseDisastersTargetingIndustry(), and ReleaseDisastersTargetingVehicle().
enum DisasterSubType |
Different sub types of disaster vehicles.
ST_ZEPPELINER |
Zeppelin, crashes at airports. |
ST_ZEPPELINER_SHADOW |
Shadow of the zeppelin. |
ST_SMALL_UFO |
Small UFO, tries to find a road vehicle to destroy. |
ST_SMALL_UFO_SHADOW |
Shadow of small UFO. |
ST_AIRPLANE |
Airplane destroying an oil refinery. |
ST_AIRPLANE_SHADOW |
Shadow of airplane. |
ST_HELICOPTER |
Helicopter destroying a factory. |
ST_HELICOPTER_SHADOW |
Shadow of helicopter. |
ST_HELICOPTER_ROTORS |
Rotors of helicopter. |
ST_BIG_UFO |
Big UFO, finds a piece of railroad to "park" on. |
ST_BIG_UFO_SHADOW |
Shadow of the big UFO. |
ST_BIG_UFO_DESTROYER |
Aircraft the will bomb the big UFO. |
ST_BIG_UFO_DESTROYER_SHADOW |
Shadow of the aircraft. |
ST_SMALL_SUBMARINE |
Small submarine, pops up in the oceans but doesn't do anything. |
ST_BIG_SUBMARINE |
Big submarine, pops up in the oceans but doesn't do anything. |
Definition at line 18 of file disaster_vehicle.h.