Adding of _t to (u)int types, and WChar to char32_t

See: eaae0bb5e
This commit is contained in:
Jonathan G Rennison
2024-01-07 16:41:53 +00:00
parent 55d78a23be
commit 97e6f3062e
655 changed files with 7555 additions and 7555 deletions

View File

@@ -14,11 +14,11 @@ struct SoundEntry {
class RandomAccessFile *file;
size_t file_offset;
size_t file_size;
uint16 rate;
uint8 bits_per_sample;
uint8 channels;
uint8 volume;
uint8 priority;
uint16_t rate;
uint8_t bits_per_sample;
uint8_t channels;
uint8_t volume;
uint8_t priority;
byte grf_container_ver; ///< NewGRF container version if the sound is from a NewGRF.
};
@@ -115,7 +115,7 @@ enum SoundFx {
/** The number of sounds in the original sample.cat */
static const uint ORIGINAL_SAMPLE_COUNT = 73;
typedef uint16 SoundID;
typedef uint16_t SoundID;
static const SoundID INVALID_SOUND = 0xFFFF;