1 /*
2  * This file is part of OpenTTD.
3  * 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.
4  * 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.
5  * 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/>.
6  */
7 
8 /** @file effectvehicle_func.h Functions related to effect vehicles. */
9 
10 #ifndef EFFECTVEHICLE_FUNC_H
11 #define EFFECTVEHICLE_FUNC_H
12 
13 #include "vehicle_type.h"
14 
15 /** Effect vehicle types */
16 enum EffectVehicleType {
17 	EV_CHIMNEY_SMOKE            =  0, ///< Smoke of power plant (industry).
18 	EV_STEAM_SMOKE              =  1, ///< Smoke of steam engines.
19 	EV_DIESEL_SMOKE             =  2, ///< Smoke of diesel engines.
20 	EV_ELECTRIC_SPARK           =  3, ///< Sparcs of electric engines.
21 	EV_CRASH_SMOKE              =  4, ///< Smoke of disasters.
22 	EV_EXPLOSION_LARGE          =  5, ///< Various explosions.
23 	EV_BREAKDOWN_SMOKE          =  6, ///< Smoke of broken vehicles except aircraft.
24 	EV_EXPLOSION_SMALL          =  7, ///< Various explosions.
25 	EV_BULLDOZER                =  8, ///< Bulldozer at roadworks.
26 	EV_BUBBLE                   =  9, ///< Bubble of bubble generator (industry).
27 	EV_BREAKDOWN_SMOKE_AIRCRAFT = 10, ///< Smoke of broken aircraft.
28 	EV_COPPER_MINE_SMOKE        = 11, ///< Smoke at copper mine.
29 	EV_END
30 };
31 
32 EffectVehicle *CreateEffectVehicle(int x, int y, int z, EffectVehicleType type);
33 EffectVehicle *CreateEffectVehicleAbove(int x, int y, int z, EffectVehicleType type);
34 EffectVehicle *CreateEffectVehicleRel(const Vehicle *v, int x, int y, int z, EffectVehicleType type);
35 
36 #endif /* EFFECTVEHICLE_FUNC_H */
37