Files @ r12290:442d5d533a57
Branch filter:

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

smatz
(svn r16717) -Codechange: make IsFrontEngine() member of Train
/* $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);

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

#endif /* SOUND_FUNC_H */