OpenTTD Source 20241224-master-gee860a5c8e
|
Handling of loading sounds. More...
#include "stdafx.h"
#include "debug.h"
#include "sound_type.h"
#include "soundloader_type.h"
#include "soundloader_func.h"
#include "string_func.h"
#include "newgrf_sound.h"
#include "random_access_file_type.h"
#include "safeguards.h"
Go to the source code of this file.
Functions | |
bool | LoadSoundData (SoundEntry &sound, bool new_format, SoundID sound_id, const std::string &name) |
static bool | LoadBasesetSound (SoundEntry &sound, bool new_format, SoundID sound_id) |
bool | LoadSound (SoundEntry &sound, SoundID sound_id) |
Handling of loading sounds.
Definition in file soundloader.cpp.
|
static |
Definition at line 53 of file soundloader.cpp.
bool LoadSound | ( | SoundEntry & | sound, |
SoundID | sound_id | ||
) |
Definition at line 65 of file soundloader.cpp.
bool LoadSoundData | ( | SoundEntry & | sound, |
bool | new_format, | ||
SoundID | sound_id, | ||
const std::string & | name | ||
) |
Definition at line 23 of file soundloader.cpp.