...Anm2Ed 2.0

This commit is contained in:
2025-11-13 22:06:09 -05:00
parent 51bf4c2012
commit c57c32aca8
36 changed files with 1003 additions and 333 deletions

View File

@@ -13,6 +13,14 @@ using namespace glm;
namespace anm2ed
{
Document::Document(Anm2& anm2, const std::string& path)
{
this->anm2 = std::move(anm2);
this->path = path;
clean();
change(Document::ALL);
}
Document::Document(const std::string& path, bool isNew, std::string* errorString)
{
if (isNew)
@@ -176,6 +184,10 @@ namespace anm2ed
case ANIMATIONS:
animations_set();
break;
case FRAMES:
events_set();
sounds_set();
break;
case ALL:
layers_set();
nulls_set();