From 9a1cd9b7551326419775dc6d04708a22d6a56bdb Mon Sep 17 00:00:00 2001 From: Jarrod Doyle Date: Sat, 17 Aug 2024 10:55:35 +0100 Subject: [PATCH] Create structs for HotRegions and MultiBrush --- patterns/db_files/AllChunks.pat | 2 ++ patterns/db_files/CowFile.hexpat | 5 ++--- patterns/db_files/chunks/HotRegions.hexpat | 7 +++++++ patterns/db_files/chunks/MultiBrush.hexpat | 7 +++++++ 4 files changed, 18 insertions(+), 3 deletions(-) create mode 100644 patterns/db_files/chunks/HotRegions.hexpat create mode 100644 patterns/db_files/chunks/MultiBrush.hexpat diff --git a/patterns/db_files/AllChunks.pat b/patterns/db_files/AllChunks.pat index 57e654b..99927df 100644 --- a/patterns/db_files/AllChunks.pat +++ b/patterns/db_files/AllChunks.pat @@ -25,8 +25,10 @@ #include "db_files/chunks/FILE_TYPE.hexpat" #include "db_files/chunks/FLOW_TEX.hexpat" #include "db_files/chunks/FOGZONEVAR.hexpat" +#include "db_files/chunks/HotRegions.hexpat" #include "db_files/chunks/MAPISRC.hexpat" #include "db_files/chunks/Mission_GameSysEAX.hexpat" +#include "db_files/chunks/MultiBrush.hexpat" #include "db_files/chunks/RENDPARAMS.hexpat" #include "db_files/chunks/ROOM_DB.hexpat" #include "db_files/chunks/ROOM_EAX.hexpat" diff --git a/patterns/db_files/CowFile.hexpat b/patterns/db_files/CowFile.hexpat index f484207..60bf4aa 100644 --- a/patterns/db_files/CowFile.hexpat +++ b/patterns/db_files/CowFile.hexpat @@ -4,7 +4,6 @@ #include #include "db_files/FileBase.pat" -#include "db_files/Common.hexpat" #include "db_files/AllChunks.pat" FileHeader file_header @ 0x0; @@ -41,10 +40,10 @@ Chunk file_type @ get_offset(toc, "FILE_TYPE"); Chunk flow_tex @ get_offset(toc, "FLOW_TEX"); Chunk fog_zone_var @ get_offset(toc, "FOGZONEVAR"); Chunk gamesys_eax @ get_offset(toc, "GameSysEAX"); -Chunk hot_regions @ get_offset(toc, "HotRegions"); +Chunk hot_regions @ get_offset(toc, "HotRegions"); Chunk map_i_src @ get_offset(toc, "MAPISRC"); Chunk mission_eax @ get_offset(toc, "MissionEAX"); -Chunk multibrush @ get_offset(toc, "MultiBrush"); +Chunk multibrush @ get_offset(toc, "MultiBrush"); Chunk rend_params @ get_offset(toc, "RENDPARAMS"); Chunk room_db @ get_offset(toc, "ROOM_DB"); Chunk room_eax @ get_offset(toc, "ROOM_EAX"); diff --git a/patterns/db_files/chunks/HotRegions.hexpat b/patterns/db_files/chunks/HotRegions.hexpat new file mode 100644 index 0000000..b8953ec --- /dev/null +++ b/patterns/db_files/chunks/HotRegions.hexpat @@ -0,0 +1,7 @@ +#pragma once + +#include "db_files/Common.hexpat" + +struct HotRegions { + NameNum::Table name_num; +}; \ No newline at end of file diff --git a/patterns/db_files/chunks/MultiBrush.hexpat b/patterns/db_files/chunks/MultiBrush.hexpat new file mode 100644 index 0000000..9959b85 --- /dev/null +++ b/patterns/db_files/chunks/MultiBrush.hexpat @@ -0,0 +1,7 @@ +#pragma once + +#include "db_files/Common.hexpat" + +struct MultiBrush { + NameNum::Table name_num; +}; \ No newline at end of file