OpenTTD
effectvehicle_func.h
Go to the documentation of this file.
1 /* $Id: effectvehicle_func.h 22505 2011-05-28 09:45:12Z frosch $ */
2 
3 /*
4  * This file is part of OpenTTD.
5  * OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
6  * OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
7  * See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
8  */
9 
12 #ifndef EFFECTVEHICLE_FUNC_H
13 #define EFFECTVEHICLE_FUNC_H
14 
15 #include "vehicle_type.h"
16 
28  EV_BUBBLE = 9,
31  EV_END
32 };
33 
34 EffectVehicle *CreateEffectVehicle(int x, int y, int z, EffectVehicleType type);
35 EffectVehicle *CreateEffectVehicleAbove(int x, int y, int z, EffectVehicleType type);
36 EffectVehicle *CreateEffectVehicleRel(const Vehicle *v, int x, int y, int z, EffectVehicleType type);
37 
38 #endif /* EFFECTVEHICLE_FUNC_H */
Bulldozer at roadworks.
Sparcs of electric engines.
Various explosions.
Smoke of diesel engines.
Vehicle data structure.
Definition: vehicle_base.h:212
A special vehicle is one of the following:
Various explosions.
EffectVehicle * CreateEffectVehicleRel(const Vehicle *v, int x, int y, int z, EffectVehicleType type)
Create an effect vehicle above a particular vehicle.
EffectVehicle * CreateEffectVehicle(int x, int y, int z, EffectVehicleType type)
Create an effect vehicle at a particular location.
Bubble of bubble generator (industry).
Smoke of disasters.
Smoke of broken vehicles except aircraft.
Smoke at copper mine.
Smoke of steam engines.
Types related to vehicles.
Smoke of power plant (industry).
EffectVehicleType
Effect vehicle types.
Smoke of broken aircraft.
EffectVehicle * CreateEffectVehicleAbove(int x, int y, int z, EffectVehicleType type)
Create an effect vehicle above a particular location.