Overworld data helpers for the YAZE public API. More...
#include "zelda.h"
Go to the source code of this file.
Functions | |
| zelda3_overworld * | yaze_load_overworld (const zelda3_rom *rom) |
| Load the overworld from ROM. | |
| void | yaze_free_overworld (zelda3_overworld *overworld) |
| Free overworld data. | |
| const zelda3_overworld_map * | yaze_get_overworld_map (const zelda3_overworld *overworld, int map_index) |
| Get overworld map by index. | |
| int | yaze_get_overworld_map_count (const zelda3_overworld *overworld) |
| Get total number of overworld maps. | |
Overworld data helpers for the YAZE public API.
Definition in file yaze_overworld.h.
| zelda3_overworld * yaze_load_overworld | ( | const zelda3_rom * | rom | ) |
Load the overworld from ROM.
Loads and parses the overworld data from the ROM, including all maps, sprites, and related data structures.
| rom | The ROM to load the overworld from |
Definition at line 213 of file yaze.cc.
References zelda3_overworld_map::id, zelda3_overworld::impl, and zelda3_overworld::maps.
| void yaze_free_overworld | ( | zelda3_overworld * | overworld | ) |
Free overworld data.
| overworld | Pointer to overworld to free |
| const zelda3_overworld_map * yaze_get_overworld_map | ( | const zelda3_overworld * | overworld, |
| int | map_index ) |
Get overworld map by index.
| overworld | Overworld data |
| map_index | Map index (0-159 for most ROMs) |
| int yaze_get_overworld_map_count | ( | const zelda3_overworld * | overworld | ) |
Get total number of overworld maps.
| overworld | Overworld data |