Skip to content

map.h

EntryList

typedef EntryList source

MapSettings

struct MapSettings source

Fields other than main, entryList, entryCount, background, and tattle are initialised when the map loads.

Fields

modelTreeRoot: structModelNode*

hitAssetCollisionOffset: s32

hitAssetZoneOffset: s32

main: EvtScript*

entryList: EntryList*

entryCount: s32

modelNameList: char**

colliderNameList: char**

zoneNameList: char**

background: BackgroundHeader*

tattle: union { ... }

MapInit

typedef MapInit source

MapConfig

struct MapConfig source
Fields

id: char*See MAP_ID_MAX_LEN.

settings: MapSettings*

dmaStart: void*

dmaEnd: void*

dmaDest: void*

bgName: char*

init: MapInitReturn true to skip normal asset (shape/hit/bg/tex) loading.

songVariation: s80 or 1. See [bgm_get_map_default_variation].

sfxReverb: s8

AreaConfig

struct AreaConfig source
Fields

mapCount: s32

maps: MapConfig*

id: char*"area_xxx"

name: char*JP debug name.

get_current_map_settings

MapSettings* get_current_map_settings() source

wMapTexName

extern char wMapTexName[] source

wMapHitName

extern char wMapHitName[] source

wMapShapeName

extern char wMapShapeName[] source

wMapBgName

extern char wMapBgName[] source

gAreas

extern AreaConfig gAreas[29] source

Zero-terminated.

EVS_NpcHitRecoil

extern EvtScript EVS_NpcHitRecoil source

EVS_800936C0

extern EvtScript EVS_800936C0 source