The Update(TM), Part 2

This commit is contained in:
2025-08-09 00:32:14 -04:00
parent fe8bdae9a8
commit b9c9105621
29 changed files with 2656 additions and 1987 deletions

View File

@@ -3,13 +3,15 @@
#include "anm2.h"
#include "preview.h"
#define SNAPSHOT_STACK_MAX 100
#define SNAPSHOT_STACK_MAX 1000
#define SNAPSHOT_ACTION "Action"
struct Snapshot
{
Anm2 anm2;
Anm2Reference reference;
f32 time = 0.0f;
std::string action = SNAPSHOT_ACTION;
};
struct SnapshotStack
@@ -23,6 +25,7 @@ struct Snapshots
Anm2* anm2 = nullptr;
Preview* preview = nullptr;
Anm2Reference* reference = nullptr;
std::string action = SNAPSHOT_ACTION;
SnapshotStack undoStack;
SnapshotStack redoStack;
};