OpenTTD
sound_func.h
Go to the documentation of this file.
1 /* $Id: sound_func.h 22202 2011-03-05 18:00:48Z rubidium $ */
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 SOUND_FUNC_H
13 #define SOUND_FUNC_H
14 
15 #include "sound_type.h"
16 #include "vehicle_type.h"
17 #include "tile_type.h"
18 
19 void SndPlayTileFx(SoundID sound, TileIndex tile);
20 void SndPlayVehicleFx(SoundID sound, const Vehicle *v);
21 void SndPlayFx(SoundID sound);
22 void SndCopyToPool();
23 
24 #endif /* SOUND_FUNC_H */
Vehicle data structure.
Definition: vehicle_base.h:212
uint32 TileIndex
The index/ID of a Tile.
Definition: tile_type.h:80
Types related to vehicles.
Types related to sounds.
Types related to tiles.