Compare commits

..

No commits in common. "523f94206b6cab4e2457492cc7b10eae53b106d3" and "bcf7013cdbd3ee29023bf6682a7dc010ea8f0fb0" have entirely different histories.

4 changed files with 4 additions and 17 deletions

View File

@ -36,13 +36,13 @@
- [X] MAPISRC - [X] MAPISRC
- [X] MissionEAX - [X] MissionEAX
- [X] MultiBrush - [X] MultiBrush
- [X] ObjVec - [ ] ObjVec
- [X] OBJ_MAP - [ ] OBJ_MAP
- [ ] PHYS_SYSTEM - [ ] PHYS_SYSTEM
- [ ] PLAYER - [ ] PLAYER
- [ ] PLAYERCAM - [ ] PLAYERCAM
- [ ] QUEST_DB - [ ] QUEST_DB
- [X] Relations - [ ] Relations
- [X] RENDPARAMS - [X] RENDPARAMS
- [X] ROOM_DB - [X] ROOM_DB
- [X] ROOM_EAX - [X] ROOM_EAX

View File

@ -31,7 +31,6 @@
#include "db_files/chunks/Mission_GameSysEAX.hexpat" #include "db_files/chunks/Mission_GameSysEAX.hexpat"
#include "db_files/chunks/MultiBrush.hexpat" #include "db_files/chunks/MultiBrush.hexpat"
#include "db_files/chunks/OBJ_MAP.hexpat" #include "db_files/chunks/OBJ_MAP.hexpat"
#include "db_files/chunks/ObjVec.hexpat"
#include "db_files/chunks/P$_.hexpat" #include "db_files/chunks/P$_.hexpat"
#include "db_files/chunks/Relations.hexpat" #include "db_files/chunks/Relations.hexpat"
#include "db_files/chunks/RENDPARAMS.hexpat" #include "db_files/chunks/RENDPARAMS.hexpat"

View File

@ -70,7 +70,6 @@ struct TOCEntry {
("MissionEAX"): Chunk<AccousticsProperty> mission_eax @ offset; ("MissionEAX"): Chunk<AccousticsProperty> mission_eax @ offset;
("MultiBrush"): Chunk<MultiBrush> multibrush @ offset; ("MultiBrush"): Chunk<MultiBrush> multibrush @ offset;
("OBJ_MAP"): Chunk<ObjMap> obj_map @ offset; ("OBJ_MAP"): Chunk<ObjMap> obj_map @ offset;
("ObjVec"): Chunk<ObjVec> obj_vec @ offset;
("Relations"): Chunk<Relations> relations @ offset; ("Relations"): Chunk<Relations> relations @ offset;
("RENDPARAMS"): Chunk<RendParams> rend_params @ offset; ("RENDPARAMS"): Chunk<RendParams> rend_params @ offset;
("ROOM_DB"): Chunk<RoomDb> room_db @ offset; ("ROOM_DB"): Chunk<RoomDb> room_db @ offset;
@ -93,13 +92,10 @@ struct TOCEntry {
// if (std::string::starts_with(name, "LD$")) { // if (std::string::starts_with(name, "LD$")) {
// std::print("LD: {}", name); // std::print("LD: {}", name);
// } // }
else if (std::string::starts_with(name, "L$")) { if (std::string::starts_with(name, "L$")) {
Chunk<LinkMap> link_chunk @ offset [[name(name)]]; Chunk<LinkMap> link_chunk @ offset [[name(name)]];
// std::print("L: {}", name); // std::print("L: {}", name);
} }
else {
std::print("Didn't load chunk: {}", name);
}
} }
} }
}; };

View File

@ -1,8 +0,0 @@
#pragma once
struct ObjVec {
s32 min_id;
s32 max_id;
s32 byte_count = (max_id - min_id) / 8;
u8 bitmap[byte_count] [[comment("Each bit indicates whether that ID is being used.")]];
};