From 018504648edeb8ea3d3558e0be8975b803bd8b0a Mon Sep 17 00:00:00 2001 From: Phillip Stephens Date: Wed, 15 Feb 2023 12:24:09 -0800 Subject: [PATCH] Add WMDL header --- CGraphicsModel.bt | 17 ++++++++++++++++- CRenderOctree.bt | 27 +++++++++++++++++++++++++++ Run.bt | 1 + 3 files changed, 44 insertions(+), 1 deletion(-) create mode 100644 CRenderOctree.bt diff --git a/CGraphicsModel.bt b/CGraphicsModel.bt index 321a24a..bd5eb40 100644 --- a/CGraphicsModel.bt +++ b/CGraphicsModel.bt @@ -3,6 +3,7 @@ #include "CAABox.bt" #include "CEvalSystem.bt" #include "CVector4i.bt" +#include "CRenderOctree.bt" struct SModelAnimatedUVData { CEvalSystem evalSystem; @@ -92,6 +93,10 @@ struct SSkinnedModelHeader { uint data[dataCount]; }; +struct SWorldModelHeader { + uchar unk; +}; + typedef struct{ char type[4]; char format[4]; @@ -343,7 +348,6 @@ typedef struct { struct SMeshLoadInformation { uint meshCount; CRenderMesh meshes[meshCount]; - uint unk; }; typedef struct { @@ -351,6 +355,17 @@ typedef struct { local uint pos