Files @ r10781:758b3ae29fdd
Branch filter:

Location: cpp/openttd-patchpack/source/src/sound_func.h

peter1138
(svn r15114) -Codechange: Add support for 8 byte action7/9 data, used as a mask for GRFID checks.
/* $Id$ */

/** @file sound_func.h Functions related to sound. */

#ifndef SOUND_FUNC_H
#define SOUND_FUNC_H

#include "sound_type.h"
#include "vehicle_type.h"
#include "tile_type.h"

extern MusicFileSettings msf;

bool SoundInitialize(const char *filename);
uint GetNumOriginalSounds();

void SndPlayTileFx(SoundFx sound, TileIndex tile);
void SndPlayVehicleFx(SoundFx sound, const Vehicle *v);
void SndPlayFx(SoundFx sound);
void SndCopyToPool();

#endif /* SOUND_FUNC_H */