From 92244638ef485619010157685b9d679280bb89d5 Mon Sep 17 00:00:00 2001 From: aap Date: Sat, 26 May 2018 10:07:19 +0200 Subject: [PATCH] added Atomic;set\getFlags --- src/rwobjects.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/rwobjects.h b/src/rwobjects.h index 0c3a2ad..87a2420 100755 --- a/src/rwobjects.h +++ b/src/rwobjects.h @@ -487,6 +487,8 @@ struct Atomic if(this->renderCB == nil) this->renderCB = defaultRenderCB; }; + void setFlags(uint32 flags) { this->object.object.flags = flags; } + uint32 getFlags(void) { return this->object.object.flags; } static Atomic *streamReadClump(Stream *stream, FrameList_ *frameList, Geometry **geometryList); bool streamWriteClump(Stream *stream, FrameList_ *frmlst);