mirror of
https://github.com/zeldaret/tmc
synced 2026-06-11 21:19:02 -04:00
more game.c
This commit is contained in:
@@ -9,6 +9,7 @@ extern u32 GetTileTypeByEntity(struct Entity_*);
|
||||
extern u32 GetTileTypeByPos(s32 x, s32 y, u32 layer);
|
||||
extern u32 GetTileType(u32 pos, u32 layer);
|
||||
extern void SetTile(u32 index, u32 position, u32 layer);
|
||||
extern void sub_08000108(void);
|
||||
extern u32 sub_080002D0(struct Entity_*);
|
||||
extern void LoadResourceAsync(const void*, u32, u32);
|
||||
extern void sub_08001242(struct Entity_*);
|
||||
|
||||
@@ -43,6 +43,8 @@ void MemCopy(const void* src, void* dest, u32 size);
|
||||
*/
|
||||
void ReadKeyInput(void);
|
||||
|
||||
void zMallocInit(void);
|
||||
|
||||
/**
|
||||
* Allocate memory on heap.
|
||||
*
|
||||
|
||||
+2
-1
@@ -55,7 +55,8 @@ typedef struct {
|
||||
} Main;
|
||||
|
||||
typedef struct {
|
||||
/*0x00*/ u16 nextToLoad;
|
||||
/*0x00*/ u8 nextToLoad;
|
||||
/*0x01*/ u8 _1;
|
||||
/*0x02*/ u8 lastState;
|
||||
/*0x03*/ u8 field_0x3;
|
||||
/*0x04*/ u8 state;
|
||||
|
||||
@@ -280,6 +280,7 @@ extern u16 gWalletSizes[];
|
||||
extern PlayerState gPlayerState;
|
||||
extern Entity gPlayerEntity;
|
||||
|
||||
u32 sub_080705AC(void);
|
||||
void SetPlayerControl(PlayerControlMode mode);
|
||||
void ResetPlayer(void);
|
||||
void ResetPlayerVelocity(void);
|
||||
|
||||
@@ -192,9 +192,13 @@ typedef enum {
|
||||
extern void SetTileType(u32, u32, u32);
|
||||
extern void InitScreenShake(u32 time, u32 magnitude);
|
||||
|
||||
void sub_0804AFF4(void);
|
||||
void LoadRoom(void);
|
||||
void SetCurrentRoomPropertyList(u32 area, u32 room);
|
||||
extern void* GetCurrentRoomProperty(u32);
|
||||
extern void LoadRoomTileEntities();
|
||||
|
||||
void sub_0804B3C4(void*);
|
||||
void sub_0804B0B0(u32 arg0, u32 arg1);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user