diff options
author | Cameron Hall <camthesaxman@users.noreply.github.com> | 2016-10-16 19:02:35 -0500 |
---|---|---|
committer | YamaArashi <YamaArashi@users.noreply.github.com> | 2016-10-16 17:02:35 -0700 |
commit | f2fb6f9b830888c649fca285bdfab5657c64ef35 (patch) | |
tree | 42e1ebe4dc161e0948652a2adfe707e76209f931 /include/gba/types.h | |
parent | 1125d78ad398411e690b1817624cbeeb5ae48144 (diff) |
decompile option menu and begin decompiling pokedex (#58)
* start decompiling pokedex
* fix up this darn struct
* decompile most of the option menu code
* decompile more code
* finish up with option menu
* minor cleanup
* fix some pokedex functions
* remove disassembly files
* actually remove disassembly files
* more decompilation
* decompile 2 more functions
* minor cleanup
* Update start_menu.c with CB2_InitPokedex
Diffstat (limited to 'include/gba/types.h')
-rw-r--r-- | include/gba/types.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/include/gba/types.h b/include/gba/types.h index 740c72d92..589d27b58 100644 --- a/include/gba/types.h +++ b/include/gba/types.h @@ -36,21 +36,21 @@ struct PlttData struct OamData { - u32 y:8; - u32 affineMode:2; - u32 objMode:2; - u32 mosaic:1; - u32 bpp:1; - u32 shape:2; - - u32 x:9; - u32 matrixNum:5; // bits 3/4 are h-flip/v-flip if not in affine mode - u32 size:2; - - u16 tileNum:10; - u16 priority:2; - u16 paletteNum:4; - u16 affineParam; + /*0x00*/ u32 y:8; + /*0x01*/ u32 affineMode:2; + u32 objMode:2; + u32 mosaic:1; + u32 bpp:1; + u32 shape:2; + + /*0x02*/ u32 x:9; + u32 matrixNum:5; // bits 3/4 are h-flip/v-flip if not in affine mode + u32 size:2; + + /*0x04*/ u16 tileNum:10; + u16 priority:2; + u16 paletteNum:4; + /*0x06*/ u16 affineParam; }; #define ST_OAM_OBJ_NORMAL 0 |