OpenTTD: src/effectvehicle_func.h Source File

OpenTTD

- Main Page
- Related Pages
- Modules
- Namespaces
- Data Structures
- Files

- File List
- Globals

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
18 enum EffectVehicleType {
19 EV_CHIMNEY_SMOKE = 0,
20 EV_STEAM_SMOKE = 1,
21 EV_DIESEL_SMOKE = 2,
22 EV_ELECTRIC_SPARK = 3,
23 EV_CRASH_SMOKE = 4,
24 EV_EXPLOSION_LARGE = 5,
25 EV_BREAKDOWN_SMOKE = 6,
26 EV_EXPLOSION_SMALL = 7,
27 EV_BULLDOZER = 8,
28 EV_BUBBLE = 9,
29 EV_BREAKDOWN_SMOKE_AIRCRAFT = 10,
30 EV_COPPER_MINE_SMOKE = 11,
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 */