From 3e509e1b1d508f0553faf863fccaf44494ff0754 Mon Sep 17 00:00:00 2001 From: momo5502 Date: Fri, 24 Mar 2017 23:59:11 +0100 Subject: [PATCH] [Structs] Adjust a few things --- src/Game/Structs.hpp | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/src/Game/Structs.hpp b/src/Game/Structs.hpp index 0d7b2804..5c1e15b6 100644 --- a/src/Game/Structs.hpp +++ b/src/Game/Structs.hpp @@ -2473,8 +2473,7 @@ namespace Game unsigned __int16 collAabbCount; int brushContents; int terrainContents; - float mins[3]; - float maxs[3]; + Bounds bounds; int leafBrushNode; }; @@ -2494,8 +2493,7 @@ namespace Game struct cmodel_t { - float mins[3]; - float maxs[3]; + Bounds bounds; float radius; cLeaf_t leaf; }; @@ -2589,7 +2587,6 @@ namespace Game unsigned __int16 childCount; }; - struct clipMap_t { const char* name; @@ -2957,8 +2954,7 @@ namespace Game struct GfxAabbTree { - float mins[3]; - float maxs[3]; + Bounds bounds; unsigned __int16 childCount; unsigned __int16 surfaceCount; unsigned __int16 startSurfIndex; @@ -2993,8 +2989,7 @@ namespace Game struct GfxStaticModelInst { - float mins[3]; - float maxs[3]; + Bounds bounds; float lightingOrigin[3]; }; @@ -3129,8 +3124,7 @@ namespace Game struct GfxCell { - float mins[3]; - float maxs[3]; + Bounds bounds; int portalCount; GfxPortal *portals; char reflectionProbeCount; @@ -3162,8 +3156,7 @@ namespace Game struct GfxBrushModelWritable { - float mins[3]; - float maxs[3]; + Bounds bounds; }; struct GfxBrushModel