From a3b9d2693c61afa521b6d5722613e64059a1e3ce Mon Sep 17 00:00:00 2001 From: Jan Date: Sun, 6 Oct 2024 16:33:40 +0200 Subject: [PATCH] chore: rename pauseable to pausable --- src/Common/Game/T6/T6_Assets.h | 2 +- src/ObjWriting/Game/T6/AssetDumpers/AssetDumperSndBank.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Common/Game/T6/T6_Assets.h b/src/Common/Game/T6/T6_Assets.h index 89394044..fca7250e 100644 --- a/src/Common/Game/T6/T6_Assets.h +++ b/src/Common/Game/T6/T6_Assets.h @@ -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 diff --git a/src/ObjWriting/Game/T6/AssetDumpers/AssetDumperSndBank.cpp b/src/ObjWriting/Game/T6/AssetDumpers/AssetDumperSndBank.cpp index a1e6ea9d..b7cea999 100644 --- a/src/ObjWriting/Game/T6/AssetDumpers/AssetDumperSndBank.cpp +++ b/src/ObjWriting/Game/T6/AssetDumpers/AssetDumperSndBank.cpp @@ -404,7 +404,7 @@ namespace void WriteColumnPitchHertz(CsvOutputStream& stream, const uint16_t value) { - const auto hertz = static_cast(value) / static_cast(std::numeric_limits::max()); + const auto hertz = static_cast(value) / static_cast(std::numeric_limits::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);