Add z3_dungeon_room and yaze_load_all_rooms to public headers
This commit is contained in:
@@ -54,8 +54,14 @@ typedef enum z3_dungeon_background2 {
|
|||||||
DarkRoom
|
DarkRoom
|
||||||
} z3_dungeon_background2;
|
} 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
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // YAZE_BASE_DUNGEON_H_
|
#endif // YAZE_BASE_DUNGEON_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_overworld* yaze_load_overworld(const z3_rom* rom);
|
||||||
|
|
||||||
|
z3_dungeon_room* yaze_load_all_rooms(const z3_rom* rom);
|
||||||
|
|
||||||
struct yaze_command_registry {
|
struct yaze_command_registry {
|
||||||
void (*register_command)(const char* name, void (*command)(void));
|
void (*register_command)(const char* name, void (*command)(void));
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user