The Omega Update(TM) Part 3 (Rendering)

This commit is contained in:
2025-08-10 01:27:06 -04:00
parent b9c9105621
commit a48c72357a
26 changed files with 1250 additions and 1004 deletions

View File

@@ -34,6 +34,13 @@ void snapshots_init(Snapshots* self, Anm2* anm2, Anm2Reference* reference, Previ
self->preview = preview;
}
void snapshots_reset(Snapshots* self)
{
self->undoStack = SnapshotStack{};
self->redoStack = SnapshotStack{};
self->action.clear();
}
void snapshots_undo_stack_push(Snapshots* self, const Snapshot* snapshot)
{
_snapshot_stack_push(&self->undoStack, snapshot);