From 56690b7b6d124aff8ffacca8b829bd1acbc867f4 Mon Sep 17 00:00:00 2001 From: Phillip Stephens Date: Fri, 17 Feb 2023 01:56:32 -0800 Subject: [PATCH] Add DCLN, and CBAH --- CAABoxCollisionTree.bt | 66 ---------------- CAudioBusHierarchy.bt | 30 ++++++++ CCollisionTree.bt | 166 +++++++++++++++++++++++++++++++++++++++++ CDataEnumObject.bt | 16 ++++ COBBox.bt | 12 +++ Run.bt | 17 ++++- 6 files changed, 238 insertions(+), 69 deletions(-) delete mode 100644 CAABoxCollisionTree.bt create mode 100644 CAudioBusHierarchy.bt create mode 100644 CCollisionTree.bt create mode 100644 CDataEnumObject.bt create mode 100644 COBBox.bt diff --git a/CAABoxCollisionTree.bt b/CAABoxCollisionTree.bt deleted file mode 100644 index c41632e..0000000 --- a/CAABoxCollisionTree.bt +++ /dev/null @@ -1,66 +0,0 @@ -#ifndef _CAABOXCOLLISIONTREE -#define _CAABOXCOLLISIONTREE - -#include "CTransform4f.bt" - -struct CCollisionMaterial { - uint orientation; - uint materialType; - uint worldType; - uint behaviorList; - uint filterList; -}; - -struct CIndexedTriangle { - uint idx1; - uint idx2; - uint idx3; - ushort material; - ushort unk2; -}; - -struct CollisionMaterialVector { - uint count; - CCollisionMaterial collisionMaterials[count]; -}; - -struct VertexVector { - uint count; - CVector3f vertices[count]; -}; - -struct IndexedTriangleVector { - uint count; - CIndexedTriangle tris[count]; -}; - -struct ModConData { - char id[16]; - CTransform4f xf; - ushort unk; -}; - -struct CAABoxCollisionTree(uint64 size) { - local uint64 start