(svn r11719) -Codechange: split sound.h in a header with types and one with functions.

This commit is contained in:
rubidium
2007-12-29 09:24:26 +00:00
parent 6ae9302708
commit e5e75bd8f8
39 changed files with 63 additions and 54 deletions

22
src/sound_func.h Normal file
View File

@@ -0,0 +1,22 @@
/* $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 */