Refactor + render animation tweaks + updated frame properties + bug fixes

This commit is contained in:
2025-12-17 23:02:00 -05:00
parent b4b4fe3714
commit 119bbc4081
63 changed files with 1964 additions and 1701 deletions
+4 -3
View File
@@ -1,7 +1,8 @@
#include "anm2.h"
#include "filesystem_.h"
#include "map_.h"
#include "path_.h"
#include "working_directory.h"
using namespace anm2ed::types;
using namespace anm2ed::util;
@@ -22,7 +23,7 @@ namespace anm2ed::anm2
labels.emplace_back(localize.get(BASIC_NONE));
for (auto& [id, sound] : content.sounds)
{
auto pathString = filesystem::path_to_utf8(sound.path);
auto pathString = path::to_utf8(sound.path);
labels.emplace_back(std::vformat(localize.get(FORMAT_SOUND), std::make_format_args(id, pathString)));
}
return labels;
@@ -57,7 +58,7 @@ namespace anm2ed::anm2
return false;
}
filesystem::WorkingDirectory workingDirectory(directory);
WorkingDirectory workingDirectory(directory);
for (auto element = document.FirstChildElement("Sound"); element; element = element->NextSiblingElement("Sound"))
{