Extract ui.h

This commit is contained in:
Tal Hayon
2022-04-06 11:03:32 +03:00
parent 4a7f862bcb
commit 01067740c1
12 changed files with 25 additions and 12 deletions
-1
View File
@@ -53,7 +53,6 @@ extern struct_02019EE0 gMapDataBottomSpecial;
extern void sub_08056FEC(u32, struct_020227E8*);
extern u32 sub_0805F46C(u32, Font*);
extern void RecoverUI(u32 bottomPt, u32 topPt);
extern void ClearTilemaps(void);
extern void sub_0805194C(u32);
extern WStruct* sub_0805F2C8(void);
-2
View File
@@ -24,7 +24,6 @@ extern void CreateMinishEntrance(u32 tile);
extern u32 CreateRandomItemDrop(Entity*, u32);
extern void DrawDirect(u32, u32);
extern void DrawEntities(void);
extern void DrawUIElements(void);
extern bool32 EntityWithinDistance(Entity*, s32, s32, s32);
extern void FlushSprites(void);
extern LayerStruct* GetLayerByIndex(u32);
@@ -79,7 +78,6 @@ extern void sub_08016AD2(Entity*);
extern u32 sub_0801766C(Entity*);
extern void sub_0801AFE4(void);
extern void UpdateUIElements(void);
extern void sub_0801C25C(void);
extern void sub_0801E104(void);
extern void sub_08027870(Entity*);
extern void sub_08030118(u32);
+15
View File
@@ -0,0 +1,15 @@
#ifndef UI_H
#define UI_H
#include "global.h"
extern void DrawUIElements(void);
extern void CreateUIElement(u32, u32);
extern u32 sub_0801C2F0(u32, u32);
extern void sub_0801C25C(void);
extern void DrawUI(void);
extern void InitUI(bool32);
extern void RefreshUI(void);
extern void RecoverUI(u32 bottomPt, u32 topPt);
#endif