From ef507ffd1e1d50875fef3dfd2a4b970426ca3882 Mon Sep 17 00:00:00 2001 From: Phillip Stephens Date: Sun, 12 Mar 2023 14:09:37 -0700 Subject: [PATCH] Minor fixes, add CModCondData --- CGameAreaResource.bt | 8 +------- Run.bt | 6 ++++++ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/CGameAreaResource.bt b/CGameAreaResource.bt index 9da651a..436a242 100644 --- a/CGameAreaResource.bt +++ b/CGameAreaResource.bt @@ -2,6 +2,7 @@ #define _CGAMEAREARESOURCE #include "CDataEnumObject.bt" +#include "SAtlasLookup.bt" typedef enum { @@ -797,13 +798,6 @@ struct Docks { } }; -struct SAtlasLookup { - uint unkA; - uint unkB; - uint unkC; - uint unkD; -}; - struct BakedLightning { uint flags; if ((flags & 1) != 0) { diff --git a/Run.bt b/Run.bt index 48f0d66..ef5ae40 100644 --- a/Run.bt +++ b/Run.bt @@ -11,7 +11,9 @@ if (!exists(isDKCTF)) { // Meta #include "CGraphicsModel.bt" #include "MaterialArchive.bt" + #include "CGameAreaResource.bt" + #include "Meta.bt" #include "NTextureFormat.bt" @@ -29,6 +31,7 @@ if (!exists(isDKCTF)) { #include "CMaterialInstanceResource.bt" #include "CPakFile.bt" #include "CReflectionProbeData.bt" +#include "CModCondData.bt" #include "CUniverseInfo.bt" #include "CVectorField.bt" #include "MessageTable.bt" @@ -89,6 +92,9 @@ typedef struct { case "CLSN": CCollisionTree aaboxCollisionTree(form.size, kCOL_AABox); break; + case "MCON": + CModCondData modCond; + break; case "CHPR": FCharInf charInfo; break;