mirror of
https://github.com/zeldaret/tmc
synced 2026-07-08 14:36:41 -04:00
room.c
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
|
||||
#include "global.h"
|
||||
|
||||
|
||||
typedef struct {
|
||||
u8 areaMetadata;
|
||||
u8 locationIndex;
|
||||
@@ -13,6 +14,9 @@ typedef struct {
|
||||
u8 filler3[7];
|
||||
u8 fadeOut;
|
||||
u8 filler2[14];
|
||||
u8 filler4[0x835];
|
||||
u32 musicIndex;
|
||||
u32 pMusicIndex;
|
||||
} Area;
|
||||
|
||||
extern Area gArea;
|
||||
|
||||
@@ -31,6 +31,8 @@ extern Entity* GetEmptyEntity(void);
|
||||
extern u32 GetTileTypeByPos(s32 x, s32 y, u32 layer);
|
||||
extern void _DmaZero(void* src, u32 count);
|
||||
extern void EraseAllEntities(void);
|
||||
extern void SetTile(u32, u32, u32);
|
||||
extern void SetDirtTile(u32);
|
||||
|
||||
// Unidentified
|
||||
extern void sub_0806ED78(Entity*);
|
||||
@@ -112,4 +114,23 @@ extern void sub_080575C8(u32);
|
||||
extern void sub_08057688(void);
|
||||
extern void sub_080580B0(u32);
|
||||
extern void sub_080751E8(u32, u32, void*);
|
||||
extern void sub_08052CA4(u32, u32, u32, u32);
|
||||
extern void sub_08052878(void);
|
||||
extern void sub_0808091C(u32*, u32);
|
||||
extern void sub_0805BC4C(void);
|
||||
extern void sub_0807BB68(u32*, u32, u32);
|
||||
extern void sub_08054570(void);
|
||||
extern void sub_08059278(void);
|
||||
extern void sub_0804C128(u32);
|
||||
extern void sub_08058324(u32);
|
||||
extern void sub_0804C2F0(void);
|
||||
extern void sub_0801AFE4(void);
|
||||
extern u32 sub_08060354(void);
|
||||
extern void sub_08057E64(void);
|
||||
extern void LoadAssetAsync(void*, u32, u32);
|
||||
extern void LoadPalettesByPaletteGroupIndex(u32);
|
||||
extern void sub_0809F814(u32);
|
||||
extern void sub_080300E8(void);
|
||||
extern void sub_0801DA90(u32);
|
||||
extern void sub_08058D34(void);
|
||||
#endif
|
||||
|
||||
+4
-1
@@ -44,10 +44,13 @@ typedef struct {
|
||||
u8 filler4[48];
|
||||
u8 filler5[28];
|
||||
u32 greatFairyState;
|
||||
u8 field_0x68[9];
|
||||
u32* field_0x6c;
|
||||
u32 field_0x70;
|
||||
u32 field_0x74;
|
||||
u32 field_0x78;
|
||||
} RoomVars;
|
||||
|
||||
|
||||
//Packets used to store which entities to load in a room
|
||||
typedef struct {
|
||||
u8 entityType;
|
||||
|
||||
Reference in New Issue
Block a user