Dungeon room helpers for the YAZE public API. More...
#include "zelda.h"
Go to the source code of this file.
Functions | |
| zelda3_dungeon_room * | yaze_load_all_rooms (const zelda3_rom *rom, int *room_count) |
| Load all dungeon rooms from ROM. | |
| const zelda3_dungeon_room * | yaze_load_room (const zelda3_rom *rom, int room_id) |
| Load a specific dungeon room. | |
| void | yaze_free_rooms (zelda3_dungeon_room *rooms, int room_count) |
| Free dungeon room data. | |
Dungeon room helpers for the YAZE public API.
Definition in file yaze_dungeon.h.
| zelda3_dungeon_room * yaze_load_all_rooms | ( | const zelda3_rom * | rom, |
| int * | room_count ) |
Load all dungeon rooms from ROM.
Loads and parses all dungeon room data from the ROM.
| rom | The ROM to load rooms from |
| room_count | Pointer to store the number of rooms loaded |
Definition at line 236 of file yaze.cc.
References zelda3_dungeon_room::id.
| const zelda3_dungeon_room * yaze_load_room | ( | const zelda3_rom * | rom, |
| int | room_id ) |
Load a specific dungeon room.
| rom | ROM to load from |
| room_id | Room ID to load (0-295 for most ROMs) |
| void yaze_free_rooms | ( | zelda3_dungeon_room * | rooms, |
| int | room_count ) |
Free dungeon room data.
| rooms | Array of rooms to free |
| room_count | Number of rooms in array |