load quest enemies when starting BB quest

This commit is contained in:
Martin Michelsen
2023-06-19 18:33:19 -07:00
parent 8db058871f
commit 9a6c0b6c9a
3 changed files with 35 additions and 0 deletions
+7
View File
@@ -45,6 +45,13 @@ struct QuestCategoryIndex {
class Quest {
public:
struct DATSectionHeader {
le_uint32_t type; // 1 = objects, 2 = enemies. There are other types too
le_uint32_t section_size; // Includes this header
le_uint32_t area;
le_uint32_t data_size;
} __attribute__((packed));
enum class FileFormat {
BIN_DAT = 0,
BIN_DAT_UNCOMPRESSED,