From f851a0a3a929b8eedf1e3b36c5104ae124978439 Mon Sep 17 00:00:00 2001 From: rackover Date: Sun, 4 Apr 2021 12:25:48 +0200 Subject: [PATCH] Put DOBJ back --- src/Game/Structs.hpp | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/src/Game/Structs.hpp b/src/Game/Structs.hpp index dca0b1fa..effa3f6a 100644 --- a/src/Game/Structs.hpp +++ b/src/Game/Structs.hpp @@ -5130,6 +5130,38 @@ namespace Game unsigned __int16* cachedLightingHandle; }; + struct DSkelPartBits + { + int anim[6]; + int control[6]; + int worldCtrl[6]; + int skel[6]; + }; + + struct DSkel + { + DSkelPartBits partBits; + int timeStamp; + /*DObjAnimMat*/void* mat; + }; + + struct DObj + { + /*XAnimTree_s*/ void* tree; + unsigned __int16 duplicateParts; + unsigned __int16 entnum; + char duplicatePartsSize; + char numModels; + char numBones; + char flags; + unsigned int ignoreCollision; + volatile int locked; + DSkel skel; + float radius; + unsigned int hidePartBits[6]; + XModel** models; + }; + struct GfxSceneEntity { float lightingOrigin[3];