OpenTTD Source 20241224-master-gee860a5c8e
soundloader.cpp File Reference

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)
 

Detailed Description

Handling of loading sounds.

Definition in file soundloader.cpp.

Function Documentation

◆ LoadBasesetSound()

static bool LoadBasesetSound ( SoundEntry sound,
bool  new_format,
SoundID  sound_id 
)
static

Definition at line 53 of file soundloader.cpp.

◆ LoadSound()

bool LoadSound ( SoundEntry sound,
SoundID  sound_id 
)

Definition at line 65 of file soundloader.cpp.

◆ LoadSoundData()

bool LoadSoundData ( SoundEntry sound,
bool  new_format,
SoundID  sound_id,
const std::string &  name 
)

Definition at line 23 of file soundloader.cpp.