diff --git a/deps/iw4-open-formats b/deps/iw4-open-formats index fcc7936f..6af596a0 160000 --- a/deps/iw4-open-formats +++ b/deps/iw4-open-formats @@ -1 +1 @@ -Subproject commit fcc7936f9a33c55d5a08d2d607f931b960c24d9a +Subproject commit 6af596a010eebf727e5d914bf9a01903c14ae128 diff --git a/src/Game/Structs.hpp b/src/Game/Structs.hpp index f488d115..090637d6 100644 --- a/src/Game/Structs.hpp +++ b/src/Game/Structs.hpp @@ -3016,7 +3016,7 @@ namespace Game struct FxElemVisualState { - char color[4]; + unsigned char color[4]; float rotationDelta; float rotationTotal; float size[2]; @@ -3693,6 +3693,27 @@ namespace Game float coeffs[4]; }; + struct DpvsPlanes + { + DpvsPlane* planes; + int count; + }; + + struct DpvsClipPlaneSet + { + DpvsPlane* planes[16]; + unsigned int count; + }; + + struct DpvsStaticCellCmd + { + DpvsPlane* planes; + GfxAabbTree* tree; + char planeCount; + char frustumPlaneCount; + unsigned __int16 sceneViewType; + }; + struct GfxPortal { GfxPortalWritable writable;