Saved undo data as structures.

This commit is contained in:
Leonardo Zide
2026-02-11 20:15:26 -08:00
parent 576f9fe13e
commit fb71e545a9
17 changed files with 443 additions and 519 deletions
+4 -1
View File
@@ -1,9 +1,12 @@
#include "lc_global.h"
#include "object.h"
lcObjectId lcObject::mNextId;
lcObject::lcObject(lcObjectType ObjectType)
: mObjectType(ObjectType)
: mObjectType(ObjectType), mId(mNextId)
{
mNextId = static_cast<lcObjectId>(static_cast<uint32_t>(mNextId) + 1);
}
lcObject::~lcObject()