mirror of
https://github.com/Xeeynamo/sotn-decomp.git
synced 2024-10-07 02:24:01 +00:00
nz0 data (#1324)
This commit is contained in:
parent
782fdfd32e
commit
866942689c
@ -33,7 +33,8 @@ segments:
|
||||
align: 4
|
||||
subalign: 4
|
||||
subsegments:
|
||||
- [0x0, data]
|
||||
- [0x0, .data, d_0]
|
||||
- [0x40, data]
|
||||
- [0x164, layers, rooms]
|
||||
- [0x47C, data]
|
||||
- [0x15A0, .data, collision]
|
||||
|
35
src/st/nz0/d_0.c
Normal file
35
src/st/nz0/d_0.c
Normal file
@ -0,0 +1,35 @@
|
||||
#include "nz0.h"
|
||||
|
||||
void Update(void);
|
||||
void HitDetection(void);
|
||||
void UpdateRoomPosition(void);
|
||||
void InitRoomEntities(s32 objLayoutId);
|
||||
extern RoomHeader g_Rooms[];
|
||||
extern s16** g_SpriteBanks[];
|
||||
extern void* g_Cluts[];
|
||||
extern RoomDef g_TileLayers[];
|
||||
extern void* g_EntityGfxs[];
|
||||
void UpdateStageEntities(void);
|
||||
|
||||
extern u8** D_801A6E8C;
|
||||
extern s32* D_801A6FCC;
|
||||
extern s32* D_801A7304;
|
||||
|
||||
Overlay g_StageOverlay = {
|
||||
/* 0x00 */ Update,
|
||||
/* 0x04 */ HitDetection,
|
||||
/* 0x08 */ UpdateRoomPosition,
|
||||
/* 0x0C */ InitRoomEntities,
|
||||
/* 0x10 */ g_Rooms,
|
||||
/* 0x14 */ 0x8018002C,
|
||||
/* 0x18 */ g_Cluts,
|
||||
/* 0x1C */ g_pStObjLayoutHorizontal,
|
||||
/* 0x20 */ g_TileLayers,
|
||||
/* 0x24 */ g_EntityGfxs,
|
||||
/* 0x28 */ UpdateStageEntities,
|
||||
/* 0x2C */ NULL,
|
||||
/* 0x30 */ &D_801A6E8C,
|
||||
/* 0x34 */ &D_801A6FCC,
|
||||
/* 0x38 */ &D_801A7304,
|
||||
/* 0x3C */ 0x801A79E4,
|
||||
};
|
Loading…
Reference in New Issue
Block a user