Refactor + render animation tweaks + updated frame properties + bug fixes
This commit is contained in:
@@ -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"))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user