common syms in window.c, because why not

This commit is contained in:
PikalaxALT 2018-02-03 10:19:56 -05:00
parent d52f52fa73
commit f39053ee30
4 changed files with 17 additions and 10 deletions

5
common_syms/window.txt Normal file
View File

@ -0,0 +1,5 @@
filler_03002F58
filler_03002F5C
gUnknown_03002F60
filler_03002F64
gUnknown_03002F70

View File

@ -68,5 +68,11 @@ void BlitBitmapRectToWindow4BitTo8Bit(u8 windowId, u8 *pixels, u16 srcX, u16 src
void CopyWindowToVram8Bit(u8 windowId, u8 mode); void CopyWindowToVram8Bit(u8 windowId, u8 mode);
extern struct Window gWindows[]; extern struct Window gWindows[];
extern void* gUnknown_03002F70[];
extern u32 filler_03002F58;
extern u32 filler_03002F5C;
extern u32 filler_03002F64;
extern u8 gUnknown_03002F60;
#endif // GUARD_WINDOW_H #endif // GUARD_WINDOW_H

View File

@ -2,8 +2,11 @@
#include "window.h" #include "window.h"
#include "malloc.h" #include "malloc.h"
extern u8 gUnknown_03002F60; u32 filler_03002F58;
extern void* gUnknown_03002F70[]; u32 filler_03002F5C;
u8 gUnknown_03002F60;
u32 filler_03002F64;
void *gUnknown_03002F70[4];
extern u32 gUnneededFireRedVariable; extern u32 gUnneededFireRedVariable;
#define WINDOWS_MAX 32 #define WINDOWS_MAX 32

View File

@ -1,14 +1,7 @@
.space 0x8 .space 0x8
.include "main.o" .include "main.o"
.include "bg.o" .include "bg.o"
.include "window.o"
.align 4
gUnknown_03002F60: @ 3002F60
.space 0x10
gUnknown_03002F70: @ 3002F70
.space 0x10
.include "text.o" .include "text.o"
.include "sprite.o" .include "sprite.o"
.include "link.o" .include "link.o"