mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-08 15:30:14 +00:00
BgSpot03Taki (#414)
* Migrate data, fix header, add undefined symbol, decompile Init function * Decompiled Destroy function * Decompiled func_808ADEF0 and adjusted struct some * Decompiled Update function * Fixed sInitChain stuff * Preliminary Draw function decompilation * Replaced code with OPEN_DISPS and CLOSE_DISPS and some hex with decimal * Working on Draw function still * More permuter test stuff * Got Draw matching except for one little TwoTex issue * Added NON_MATCHING * Removed false alarm * Got most of the functions decompiled; 1 non-matching, 1 not started * Ran format.sh on file * These two symbols should be arrays * Got func_808ADAE0 mostly decompiled * Got func_808ADAE0 fully decompiled! * Removed necessary files (except _Draw) * Successfully decompiled Draw function * Decompiled Draw function + Added proper includes to spec * Removed Draw function assembly * Moved func_800F46E0 prototype to functions.h * Renamed unk_174 to bufferIndex * Replaced state constants with enum * Renamed func_808ADAE0 to BgSpot03Taki_ApplyOpeningAlpha * Renamed func_808ADAE0 to BgSpot03Taki_ApplyOpeningAlpha * Made changes as per pull request comments Co-authored-by: fig02 <fig02srl@gmail.com>
This commit is contained in:
parent
85cf70bcd3
commit
4dfc9d3c3c
13 changed files with 163 additions and 655 deletions
|
@ -1,20 +0,0 @@
|
|||
.include "macro.inc"
|
||||
|
||||
# assembler directives
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
.set gp=64 # allow use of 64-bit general purpose registers
|
||||
|
||||
.section .data
|
||||
|
||||
.balign 16
|
||||
|
||||
glabel Bg_Spot03_Taki_InitVars
|
||||
.word 0x011F0100, 0x00000030, 0x01120000, 0x00000178
|
||||
.word BgSpot03Taki_Init
|
||||
.word BgSpot03Taki_Destroy
|
||||
.word BgSpot03Taki_Update
|
||||
.word BgSpot03Taki_Draw
|
||||
glabel D_808AE3B0
|
||||
.word 0x48500064, 0x00000000, 0x00000000, 0x00000000
|
||||
|
|
@ -1,13 +0,0 @@
|
|||
.include "macro.inc"
|
||||
|
||||
# assembler directives
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
.set gp=64 # allow use of 64-bit general purpose registers
|
||||
|
||||
.section .rodata
|
||||
|
||||
.balign 16
|
||||
|
||||
glabel D_808AE410
|
||||
.incbin "baserom/ovl_Bg_Spot03_Taki", 0x930, 0x00000060
|
Loading…
Add table
Add a link
Reference in a new issue