Files @ r5459:3ecf8d683b5b
Branch filter:

Location: cpp/openttd-patchpack/source/newgrf_sound.h

miham
(svn r7723) WebTranslator2 update to 2007-01-01 19:13:54
german - 1 changed by moewe2 (1)
greek - 63 changed by gonik (63)
slovak - 3 fixed, 4 changed by lengyel (7)
/* $Id$ */

#ifndef NEWGRF_SOUND_H
#define NEWGRF_SOUND_H

typedef enum VehicleSoundEvents {
	VSE_START        = 1,
	VSE_TUNNEL       = 2,
	VSE_BREAKDOWN    = 3,
	VSE_RUNNING      = 4,
	VSE_TOUCHDOWN    = 5,
	VSE_TRAIN_EFFECT = 6,
	VSE_RUNNING_16   = 7,
	VSE_STOPPED_16   = 8,
	VSE_LOAD_UNLOAD  = 9,
} VehicleSoundEvent;


FileEntry *AllocateFileEntry(void);
void InitializeSoundPool(void);
FileEntry *GetSound(uint index);
uint GetNumSounds(void);
bool PlayVehicleSound(const Vehicle *v, VehicleSoundEvent event);

#endif /* NEWGRF_SOUND_H */