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
+5 -4
View File
@@ -4,10 +4,11 @@
#include <filesystem>
#include <unordered_map>
#include "filesystem_.h"
#include "file_.h"
#include "map_.h"
#include "time_.h"
#include "vector_.h"
#include "working_directory.h"
#include "xml_.h"
using namespace tinyxml2;
@@ -23,7 +24,7 @@ namespace anm2ed::anm2
{
XMLDocument document;
filesystem::File file(path, "rb");
File file(path, "rb");
if (!file)
{
if (errorString) *errorString = localize.get(ERROR_FILE_NOT_FOUND);
@@ -38,7 +39,7 @@ namespace anm2ed::anm2
return;
}
filesystem::WorkingDirectory workingDirectory(path, true);
WorkingDirectory workingDirectory(path, WorkingDirectory::FILE);
const XMLElement* element = document.RootElement();
@@ -65,7 +66,7 @@ namespace anm2ed::anm2
XMLDocument document;
document.InsertFirstChild(to_element(document));
filesystem::File file(path, "wb");
File file(path, "wb");
if (!file)
{
if (errorString) *errorString = localize.get(ERROR_FILE_NOT_FOUND);