CorsixTH engine (the C++ part)
Open source implementation of Theme Hospital
Loading...
Searching...
No Matches
Functions | Variables
th_sound.cpp File Reference
#include "th_sound.h"
#include "config.h"
#include <SDL_mixer.h>
#include <SDL_rwops.h>
#include <algorithm>
#include <chrono>
#include <cmath>
#include <cstring>
#include <new>
#include "th.h"

Functions

constexpr uint32_t fourcc (const char c1, const char c2, const char c3, const char c4)
 

Variables

constexpr size_t archive_header_size = 234
 
constexpr size_t archive_header_table_position_offset = 50
 
constexpr size_t archive_header_table_length_offset = 58
 
constexpr size_t sound_entry_size = 32
 
constexpr size_t sound_entry_position_offset = 18
 
constexpr size_t sound_entry_length_offset = 26
 

Function Documentation

◆ fourcc()

constexpr uint32_t fourcc ( const char  c1,
const char  c2,
const char  c3,
const char  c4 
)
constexpr

Variable Documentation

◆ archive_header_size

constexpr size_t archive_header_size = 234
constexpr

◆ archive_header_table_length_offset

constexpr size_t archive_header_table_length_offset = 58
constexpr

◆ archive_header_table_position_offset

constexpr size_t archive_header_table_position_offset = 50
constexpr

◆ sound_entry_length_offset

constexpr size_t sound_entry_length_offset = 26
constexpr

◆ sound_entry_position_offset

constexpr size_t sound_entry_position_offset = 18
constexpr

◆ sound_entry_size

constexpr size_t sound_entry_size = 32
constexpr