# newgrf_sound.cpp File Reference

`#include "stdafx.h"`
`#include "openttd.h"`
`#include "oldpool.h"`
`#include "engine.h"`
`#include "newgrf_callbacks.h"`
`#include "newgrf_engine.h"`
`#include "newgrf_sound.h"`
`#include "vehicle_base.h"`
`#include "sound_func.h"`

Go to the source code of this file.

## Functions
FileEntry * | AllocateFileEntry ()
void | InitializeSoundPool ()
FileEntry * | GetSound (uint index)
uint | GetNumSounds ()
bool | PlayVehicleSound (const Vehicle *v, VehicleSoundEvent event)
bool | PlayHouseSound (uint16 sound_id, TileIndex tile)
## Variables
static uint | _sound_count = 0

## Detailed Description

Definition in file newgrf_sound.cpp.