chore: rename pauseable to pausable

This commit is contained in:
Jan 2024-10-06 16:33:40 +02:00
parent 8620ce864c
commit a3b9d2693c
No known key found for this signature in database
GPG Key ID: 44B581F78FF5C57C
2 changed files with 4 additions and 4 deletions

View File

@ -6228,7 +6228,7 @@ namespace T6
unsigned int distanceLpf : 1; // 2
unsigned int doppler : 1; // 3
unsigned int isBig : 1; // 4
unsigned int pauseable : 1; // 5
unsigned int pausable : 1; // 5
unsigned int isMusic : 1; // 6
unsigned int stopOnEntDeath : 1; // 7
unsigned int timescale : 1; // 8

View File

@ -404,7 +404,7 @@ namespace
void WriteColumnPitchHertz(CsvOutputStream& stream, const uint16_t value)
{
const auto hertz = static_cast<float>(value) / static_cast<float>(std::numeric_limits<int16_t>::max());
const auto hertz = static_cast<float>(value) / static_cast<float>(std::numeric_limits<uint16_t>::max());
const auto cents = std::clamp(HertzToCents(hertz), -2400.0f, 1200.0f);
stream.WriteColumn(std::format("{:.4g}", cents));
}
@ -605,8 +605,8 @@ namespace
// Timescale
WriteColumnEnum(stream, alias.flags.timescale, SOUND_NO_YES);
// Pauseable
WriteColumnEnum(stream, alias.flags.pauseable, SOUND_NO_YES);
// Pausable
WriteColumnEnum(stream, alias.flags.pausable, SOUND_NO_YES);
// StopOnEntDeath
WriteColumnEnum(stream, alias.flags.stopOnEntDeath, SOUND_NO_YES);