Add z3_dungeon_room and yaze_load_all_rooms to public headers

This commit is contained in:
scawful
2024-12-29 09:59:52 -05:00
parent 8f9aac1952
commit 5050f358f0
2 changed files with 9 additions and 1 deletions

View File

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

View File

@@ -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));
};