#pragma once #include #include #include "db_files/FileBase.pat" #include "db_files/Common.hexpat" #include "db_files/AllChunks.pat" FileHeader file_header @ 0x0; TableOfContents toc @ file_header.toc_offset; TOCEntry brlist_toc = get_toc_entry(toc, "BRLIST"); TOCEntry scrmodules_toc = get_toc_entry(toc, "ScrModules"); Chunk ai_room_db @ get_offset(toc, "AI_ROOM_DB"); Chunk ai_acuity_sets @ get_offset(toc, "AIACS"); Chunk ai_conversations @ get_offset(toc, "AICONVERSE"); Chunk ai_creature_sizes @ get_offset(toc, "AICRTSZ"); Chunk ai_gamesys_path_options @ get_offset(toc, "AIGPTHVAR"); Chunk ai_hear_stat @ get_offset(toc, "AIHearStat"); Chunk ai_path_var @ get_offset(toc, "AIPATHVAR"); Chunk ai_sound_tweaks @ get_offset(toc, "AISNDTWK"); Chunk ambient @ get_offset(toc, "AMBIENT"); Chunk bash @ get_offset(toc, "BASH"); Chunk br_head @ get_offset(toc, "BRHEAD"); Chunk br_list @ get_offset(toc, "BRLIST"); Chunk brush_version @ get_offset(toc, "BRVER"); Chunk cell_motion @ get_offset(toc, "CELL_MOTION"); Chunk celestial_object_var_1 @ get_offset(toc, "CELOBJVAR1"); Chunk celestial_object_var_2 @ get_offset(toc, "CELOBJVAR2"); Chunk celestial_object_var_3 @ get_offset(toc, "CELOBJVAR3"); Chunk cloud_object_var @ get_offset(toc, "CLOUDOBJVAR"); Chunk dark_combat @ get_offset(toc, "DARKCOMBAT"); Chunk dark_miss @ get_offset(toc, "DARKMISS"); Chunk distant_art_var @ get_offset(toc, "DISTOBJVAR"); Chunk dark_settings @ get_offset(toc, "DRKSET"); Chunk env_map_var @ get_offset(toc, "ENVMAPVAR"); Chunk family @ get_offset(toc, "FAMILY"); 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 map_i_src @ get_offset(toc, "MAPISRC"); Chunk mission_eax @ get_offset(toc, "MissionEAX"); 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"); Chunk script_modules @ get_offset(toc, "ScrModules"); Chunk sky_mode @ get_offset(toc, "SKYMODE"); Chunk sky_object_var @ get_offset(toc, "SKYOBJVAR"); Chunk mision_song_params @ get_offset(toc, "SONGPARAMS"); Chunk star_object_var @ get_offset(toc, "STAROBJVAR"); Chunk ti_list @ get_offset(toc, "TILIST"); Chunk texture_list @ get_offset(toc, "TXLIST"); Chunk texture_patch_database @ get_offset(toc, "TXTPAT_DB"); Chunk water_banks @ get_offset(toc, "WATERBANKS"); Chunk weather_var @ get_offset(toc, "WEATHERVAR"); Chunk world_rep @ get_offset(toc, "WREXT");