mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-04-20 00:02:55 +00:00
Fix more whitespace
This commit is contained in:
parent
4ff138c67b
commit
8d41e28a52
@ -179,7 +179,8 @@ bool LoadSoundAlias(MemoryManager* memory, SndAlias* alias, const ParsedCsvRow&
|
|||||||
alias->flags.pauseable = row.GetValue("pause") == "yes";
|
alias->flags.pauseable = row.GetValue("pause") == "yes";
|
||||||
alias->flags.stopOnDeath = row.GetValue("stop_on_death") == "yes";
|
alias->flags.stopOnDeath = row.GetValue("stop_on_death") == "yes";
|
||||||
|
|
||||||
alias->duckGroup = static_cast<decltype(alias->duckGroup)>(GetValueIndex(row.GetValue("duck_group"), SOUND_DUCK_GROUPS, std::extent_v<decltype(SOUND_DUCK_GROUPS)>));
|
alias->duckGroup =
|
||||||
|
static_cast<decltype(alias->duckGroup)>(GetValueIndex(row.GetValue("duck_group"), SOUND_DUCK_GROUPS, std::extent_v<decltype(SOUND_DUCK_GROUPS)>));
|
||||||
alias->flags.volumeGroup = GetValueIndex(row.GetValue("group"), SOUND_GROUPS, std::extent_v<decltype(SOUND_GROUPS)>);
|
alias->flags.volumeGroup = GetValueIndex(row.GetValue("group"), SOUND_GROUPS, std::extent_v<decltype(SOUND_GROUPS)>);
|
||||||
alias->flags.fluxType = GetValueIndex(row.GetValue("move_type"), SOUND_MOVE_TYPES, std::extent_v<decltype(SOUND_MOVE_TYPES)>);
|
alias->flags.fluxType = GetValueIndex(row.GetValue("move_type"), SOUND_MOVE_TYPES, std::extent_v<decltype(SOUND_MOVE_TYPES)>);
|
||||||
alias->flags.loadType = GetValueIndex(row.GetValue("type"), SOUND_LOAD_TYPES, std::extent_v<decltype(SOUND_LOAD_TYPES)>);
|
alias->flags.loadType = GetValueIndex(row.GetValue("type"), SOUND_LOAD_TYPES, std::extent_v<decltype(SOUND_LOAD_TYPES)>);
|
||||||
|
@ -540,13 +540,13 @@ class AssetDumperSndBank::Internal
|
|||||||
{
|
{
|
||||||
const auto& alias = aliasList.head[j];
|
const auto& alias = aliasList.head[j];
|
||||||
std::string extension = "";
|
std::string extension = "";
|
||||||
|
|
||||||
if (alias.assetId && alias.assetFileName)
|
if (alias.assetId && alias.assetFileName)
|
||||||
{
|
{
|
||||||
if (dumpedAssets.find(alias.assetId) == dumpedAssets.end())
|
if (dumpedAssets.find(alias.assetId) == dumpedAssets.end())
|
||||||
{
|
{
|
||||||
std::optional<snd_asset_format> format = DumpSndAlias(alias);
|
std::optional<snd_asset_format> format = DumpSndAlias(alias);
|
||||||
|
|
||||||
if (format.has_value())
|
if (format.has_value())
|
||||||
{
|
{
|
||||||
extension = ConvertSndFormatToExtension(format.value());
|
extension = ConvertSndFormatToExtension(format.value());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user