Go to the source code of this file.
Data Structures | |
struct | AssetHeader |
Macros | |
#define | ASSET_TABLE_ROM_START 0x1E40000 |
#define | ASSET_TABLE_HEADER_SIZE 0x20 |
#define | ASSET_TABLE_FIRST_ENTRY (ASSET_TABLE_ROM_START + ASSET_TABLE_HEADER_SIZE) |
#define | AREA(area, jp_name) { ARRAY_COUNT(area##_maps), area##_maps, "area_" #area, jp_name } |
#define | MAP(map) |
#define | MAP_WITH_INIT(map) |
Functions | |
void | fio_deserialize_state (void) |
Load game data from gCurrentSaveFile Performs version checking and supports potential migration between versions. | |
void | load_map_hit_asset (void) |
void | load_map_script_lib (void) |
void | load_map_by_IDs (s16 areaID, s16 mapID, s16 loadType) |
MapConfig * | get_current_map_config (void) |
MapSettings * | get_current_map_settings (void) |
NODISCARD s32 | get_map_IDs_by_name (const char *mapName, s16 *areaID, s16 *mapID) |
void | get_map_IDs_by_name_checked (const char *mapName, s16 *areaID, s16 *mapID) |
Same as get_map_IDs_by_name, but will panic if the map doesn't exist. | |
void * | load_asset_by_name (const char *assetName, u32 *decompressedSize) |
s32 | get_asset_offset (char *assetName, s32 *compressedSize) |
Variables | |
BSS MapConfig * | gMapConfig |
BSS MapSettings | gMapSettings |
char | wMapHitName [0x18] |
char | wMapShapeName [0x18] |
char | wMapTexName [0x18] |
char | wMapBgName [0x14] |
s32 | WorldReverbModeMapping [] = { 0, 1, 2, 3 } |
ShapeFile | gMapShapeData |
MapConfig | mac_maps [] |
Toad Town. | |
MapConfig | tik_maps [] |
Toad Town Tunnels. | |
MapConfig | kgr_maps [] |
Inside the Whale. | |
MapConfig | kmr_maps [] |
Goomba Region. | |
MapConfig | iwa_maps [] |
Mt. Rugged. | |
MapConfig | dro_maps [] |
Dry Dry Outpost. | |
MapConfig | sbk_maps [] |
Dry Dry Desert. | |
MapConfig | isk_maps [] |
Dry Dry Ruins. | |
MapConfig | trd_maps [] |
Koopa Bros. Fortress. | |
MapConfig | nok_maps [] |
Koopa Region. | |
MapConfig | hos_maps [] |
Star Region. | |
MapConfig | kpa_maps [] |
Bowser's Castle. | |
MapConfig | osr_maps [] |
Peach's Castle Grounds. | |
MapConfig | kkj_maps [] |
Peach's Castle. | |
MapConfig | jan_maps [] |
Jade Jungle. | |
MapConfig | mim_maps [] |
Forever Forest. | |
MapConfig | obk_maps [] |
Boo's Mansion. | |
MapConfig | arn_maps [] |
Gusty Gulch. | |
MapConfig | dgb_maps [] |
Tubba Blubba's Castle. | |
MapConfig | kzn_maps [] |
Mt. Lavalava. | |
MapConfig | flo_maps [] |
Flower Fields. | |
MapConfig | sam_maps [] |
Shiver Region. | |
MapConfig | pra_maps [] |
Crystal Palace. | |
MapConfig | omo_maps [] |
Shy Guy's Toy Box. | |
MapConfig | tst_maps [] |
Debug. | |
MapConfig | end_maps [] |
Credits. | |
MapConfig | mgm_maps [] |
Toad Town Playroom. | |
MapConfig | gv_maps [] |
Game Over. | |
AreaConfig | gAreas [] |
Zero-terminated. | |
#define ASSET_TABLE_FIRST_ENTRY (ASSET_TABLE_ROM_START + ASSET_TABLE_HEADER_SIZE) |
Definition at line 21 of file world.c.
Referenced by get_asset_offset(), and load_asset_by_name().
Definition at line 295 of file world.c.
Load game data from gCurrentSaveFile Performs version checking and supports potential migration between versions.
Definition at line 36 of file versioning.c.
Referenced by fio_load_game(), and load_map_by_IDs().
Definition at line 117 of file collision.c.
Referenced by load_map_by_IDs(), and restore_map_collision_data().
Definition at line 49 of file world.c.
Referenced by load_map_by_IDs(), state_step_end_battle(), and state_step_unpause().
Definition at line 53 of file world.c.
Referenced by state_step_change_map(), state_step_enter_world(), state_step_game_over(), and state_step_intro().
MapSettings * get_current_map_settings | ( | void | ) |
Definition at line 224 of file world.c.
Referenced by entity_BlueWarpPipe_set_player_move_to_center(), get_lava_reset_pos(), load_battle_hit_asset(), load_hit_data(), load_map_hit_asset(), state_step_end_battle(), and state_step_unpause().
Same as get_map_IDs_by_name, but will panic if the map doesn't exist.
Definition at line 247 of file world.c.
Referenced by btl_state_update_end_battle(), filemenu_yesno_handle_input(), goto_map(), and state_step_demo().
Definition at line 251 of file world.c.
Referenced by btl_state_update_normal_start(), load_battle_hit_asset(), load_map_bg(), load_map_by_IDs(), load_map_hit_asset(), pause_partners_load_portrait(), state_init_title_screen(), state_step_end_battle(), and state_step_unpause().
s32 get_asset_offset | ( | char * | assetName, |
s32 * | compressedSize ) |
Definition at line 273 of file world.c.
Referenced by btl_state_update_normal_start(), load_map_by_IDs(), and state_step_end_battle().
Definition at line 23 of file world.c.
Referenced by get_current_map_config(), and load_map_by_IDs().
BSS MapSettings gMapSettings |
Definition at line 24 of file world.c.
Referenced by get_current_map_settings(), and load_map_by_IDs().
char wMapHitName[0x18] |
Definition at line 26 of file world.c.
Referenced by load_map_by_IDs(), and load_map_hit_asset().
char wMapShapeName[0x18] |
Definition at line 27 of file world.c.
Referenced by load_map_by_IDs(), state_step_end_battle(), and state_step_unpause().
char wMapTexName[0x18] |
Definition at line 28 of file world.c.
Referenced by load_map_by_IDs(), and state_step_end_battle().
char wMapBgName[0x14] |
Definition at line 29 of file world.c.
Referenced by load_map_by_IDs().
s32 WorldReverbModeMapping[] = { 0, 1, 2, 3 } |
|
extern |
Definition at line 16 of file heaps.c.
Referenced by load_map_by_IDs().
MapConfig mac_maps[] |
Toad Town.
Definition at line 308 of file world.c.
MapConfig tik_maps[] |
Toad Town Tunnels.
Definition at line 321 of file world.c.
MapConfig kgr_maps[] |
Inside the Whale.
MapConfig kmr_maps[] |
Goomba Region.
Definition at line 355 of file world.c.
MapConfig iwa_maps[] |
Mt. Rugged.
MapConfig dro_maps[] |
Dry Dry Outpost.
MapConfig isk_maps[] |
Dry Dry Ruins.
Definition at line 451 of file world.c.
MapConfig trd_maps[] |
Koopa Bros. Fortress.
Definition at line 473 of file world.c.
MapConfig nok_maps[] |
Koopa Region.
Definition at line 489 of file world.c.
MapConfig hos_maps[] |
Star Region.
Definition at line 503 of file world.c.
MapConfig osr_maps[] |
Peach's Castle Grounds.
Definition at line 572 of file world.c.
MapConfig kkj_maps[] |
Peach's Castle.
Definition at line 583 of file world.c.
MapConfig jan_maps[] |
Jade Jungle.
Definition at line 613 of file world.c.
MapConfig mim_maps[] |
Forever Forest.
Definition at line 640 of file world.c.
MapConfig obk_maps[] |
Boo's Mansion.
Definition at line 657 of file world.c.
MapConfig arn_maps[] |
Gusty Gulch.
Definition at line 671 of file world.c.
MapConfig dgb_maps[] |
Tubba Blubba's Castle.
Definition at line 687 of file world.c.
MapConfig kzn_maps[] |
Mt. Lavalava.
Definition at line 711 of file world.c.
MapConfig flo_maps[] |
Flower Fields.
Definition at line 733 of file world.c.
MapConfig sam_maps[] |
Shiver Region.
Definition at line 758 of file world.c.
MapConfig omo_maps[] |
Shy Guy's Toy Box.
Definition at line 812 of file world.c.
MapConfig tst_maps[] |
Debug.
Definition at line 834 of file world.c.
MapConfig end_maps[] |
Credits.
MapConfig mgm_maps[] |
Toad Town Playroom.
MapConfig gv_maps[] |
Game Over.
AreaConfig gAreas[] |
Zero-terminated.
Definition at line 868 of file world.c.
Referenced by bgm_get_map_default_variation(), get_map_IDs_by_name(), load_map_by_IDs(), reset_player_status(), state_step_end_battle(), and state_step_unpause().