diff --git a/incl/dungeon.h b/incl/dungeon.h index d476e1f7..92852a67 100644 --- a/incl/dungeon.h +++ b/incl/dungeon.h @@ -54,8 +54,14 @@ typedef enum z3_dungeon_background2 { DarkRoom } z3_dungeon_background2; +typedef struct z3_dungeon_room { + z3_dungeon_background2 bg2; + z3_dungeon_destination pits; + z3_dungeon_destination stairs[4]; +} z3_dungeon_room; + #ifdef __cplusplus } #endif -#endif // YAZE_BASE_DUNGEON_H_ +#endif // YAZE_BASE_DUNGEON_H_ diff --git a/incl/yaze.h b/incl/yaze.h index 68f0ce61..a736b55b 100644 --- a/incl/yaze.h +++ b/incl/yaze.h @@ -65,6 +65,8 @@ snes_color yaze_get_color_from_paletteset(const z3_rom* rom, int palette_set, z3_overworld* yaze_load_overworld(const z3_rom* rom); +z3_dungeon_room* yaze_load_all_rooms(const z3_rom* rom); + struct yaze_command_registry { void (*register_command)(const char* name, void (*command)(void)); };