mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-05-09 14:04:57 +00:00
chore: rename pauseable to pausable
This commit is contained in:
parent
8620ce864c
commit
a3b9d2693c
@ -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
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user