#include "stdafx.h"
#include "engine_base.h"
#include "newgrf.h"
#include "newgrf_engine.h"
#include "newgrf_sound.h"
#include "vehicle_base.h"
#include "sound_func.h"
#include "core/mem_func.hpp"
Go to the source code of this file.
Functions | |
| SoundEntry * | AllocateSound () |
| void | InitializeSoundPool () |
| SoundEntry * | GetSound (SoundID index) |
| uint | GetNumSounds () |
| bool | PlayVehicleSound (const Vehicle *v, VehicleSoundEvent event) |
| bool | PlayTileSound (const GRFFile *file, SoundID sound_id, TileIndex tile) |
Variables | |
|
static SmallVector< SoundEntry, ORIGINAL_SAMPLE_COUNT > | _sounds |
Definition in file newgrf_sound.cpp.
1.5.6