src/sound_func.h
author peter1138
Mon, 07 Jan 2008 22:38:30 +0000
changeset 8218 e6c5291965d4
parent 8157 1505def01945
permissions -rw-r--r--
(svn r11781) -Codechange: variable scope and initialization
/* $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 */