mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-04-20 00:02:55 +00:00
Fix whitespace
This commit is contained in:
parent
fe766a734f
commit
4ff138c67b
@ -75,7 +75,7 @@ bool AssetLoaderSoundBank::CanLoadFromRaw() const
|
|||||||
size_t GetValueIndex(const std::string& value, const std::string* lookupTable, size_t len)
|
size_t GetValueIndex(const std::string& value, const std::string* lookupTable, size_t len)
|
||||||
{
|
{
|
||||||
if (value.empty())
|
if (value.empty())
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
for (auto i = 0u; i < len; i++)
|
for (auto i = 0u; i < len; i++)
|
||||||
{
|
{
|
||||||
@ -140,7 +140,7 @@ bool LoadSoundAlias(MemoryManager* memory, SndAlias* alias, const ParsedCsvRow&
|
|||||||
alias->subtitle = memory->Dup(subtitle.data());
|
alias->subtitle = memory->Dup(subtitle.data());
|
||||||
|
|
||||||
alias->duck = Common::SND_HashName(row.GetValue("duck").data());
|
alias->duck = Common::SND_HashName(row.GetValue("duck").data());
|
||||||
|
|
||||||
alias->volMin = row.GetValueInt<decltype(alias->volMin)>("vol_min");
|
alias->volMin = row.GetValueInt<decltype(alias->volMin)>("vol_min");
|
||||||
alias->volMax = row.GetValueInt<decltype(alias->volMax)>("vol_max");
|
alias->volMax = row.GetValueInt<decltype(alias->volMax)>("vol_max");
|
||||||
alias->distMin = row.GetValueInt<decltype(alias->distMin)>("dist_min");
|
alias->distMin = row.GetValueInt<decltype(alias->distMin)>("dist_min");
|
||||||
|
@ -227,7 +227,7 @@ class AssetDumperSndBank::Internal
|
|||||||
{
|
{
|
||||||
// name
|
// name
|
||||||
stream.WriteColumn(alias->name);
|
stream.WriteColumn(alias->name);
|
||||||
|
|
||||||
// file
|
// file
|
||||||
stream.WriteColumn(alias->assetFileName ? alias->assetFileName + extension : "");
|
stream.WriteColumn(alias->assetFileName ? alias->assetFileName + extension : "");
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user