Create structs for HotRegions and MultiBrush

This commit is contained in:
Jarrod Doyle 2024-08-17 10:55:35 +01:00
parent e7bf306211
commit 9a1cd9b755
Signed by: Jayrude
GPG Key ID: 38B57B16E7C0ADF7
4 changed files with 18 additions and 3 deletions

View File

@ -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"

View File

@ -4,7 +4,6 @@
#include <std/io.pat>
#include "db_files/FileBase.pat"
#include "db_files/Common.hexpat"
#include "db_files/AllChunks.pat"
FileHeader file_header @ 0x0;
@ -41,10 +40,10 @@ Chunk<FileType> file_type @ get_offset(toc, "FILE_TYPE");
Chunk<FlowTex> flow_tex @ get_offset(toc, "FLOW_TEX");
Chunk<FogZoneVar> fog_zone_var @ get_offset(toc, "FOGZONEVAR");
Chunk<AccousticsProperty> gamesys_eax @ get_offset(toc, "GameSysEAX");
Chunk<NameNum::Table> hot_regions @ get_offset(toc, "HotRegions");
Chunk<HotRegions> hot_regions @ get_offset(toc, "HotRegions");
Chunk<MapISrc> map_i_src @ get_offset(toc, "MAPISRC");
Chunk<AccousticsProperty> mission_eax @ get_offset(toc, "MissionEAX");
Chunk<NameNum::Table> multibrush @ get_offset(toc, "MultiBrush");
Chunk<MultiBrush> multibrush @ get_offset(toc, "MultiBrush");
Chunk<RendParams> rend_params @ get_offset(toc, "RENDPARAMS");
Chunk<RoomDb> room_db @ get_offset(toc, "ROOM_DB");
Chunk<RoomEax> room_eax @ get_offset(toc, "ROOM_EAX");

View File

@ -0,0 +1,7 @@
#pragma once
#include "db_files/Common.hexpat"
struct HotRegions {
NameNum::Table name_num;
};

View File

@ -0,0 +1,7 @@
#pragma once
#include "db_files/Common.hexpat"
struct MultiBrush {
NameNum::Table name_num;
};