diff options
| author | KiritoDv <kiritodev01@gmail.com> | 2024-01-31 11:17:29 -0600 |
|---|---|---|
| committer | Lywx <kiritodev01@gmail.com> | 2024-01-31 12:05:40 -0600 |
| commit | 7c93abed9a0fd82de1b5b05abf27e60d245c3509 (patch) | |
| tree | 5f4ff74d3ba29b2f372f260b75fa770e336fe507 /src/Companion.cpp | |
| parent | 6e5414f704cc26c9d45649188d1b6e51fcad46c3 (diff) | |
Added auto texture size calculation
Diffstat (limited to 'src/Companion.cpp')
| -rw-r--r-- | src/Companion.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/Companion.cpp b/src/Companion.cpp index ba0df34..ae568ef 100644 --- a/src/Companion.cpp +++ b/src/Companion.cpp @@ -64,12 +64,14 @@ void Companion::ExtractNode(YAML::Node& node, std::string& name, SWrapper* binar auto type = GetSafeNode<std::string>(node, "type"); std::transform(type.begin(), type.end(), type.begin(), ::toupper); + spdlog::set_pattern(regular); if(node["offset"]) { auto offset = node["offset"].as<uint32_t>(); - SPDLOG_INFO("[{}] Processing {} at 0x{:X}", type, name, offset); + SPDLOG_INFO("- [{}] Processing {} at 0x{:X}", type, name, offset); } else { - SPDLOG_INFO("[{}] Processing {}", type, name); + SPDLOG_INFO("- [{}] Processing {}", type, name); } + spdlog::set_pattern(line); auto factory = this->GetFactory(type); if(!factory.has_value()){ @@ -97,6 +99,9 @@ void Companion::ExtractNode(YAML::Node& node, std::string& name, SWrapper* binar std::replace(doutput.begin(), doutput.end(), '\\', '/'); this->gAssetDependencies[this->gCurrentFile][fst].second = true; this->ExtractNode(snd.first, doutput, binary); + spdlog::set_pattern(regular); + SPDLOG_INFO("------------------------------------------------"); + spdlog::set_pattern(line); } switch (this->gConfig.exporterType) { |
