mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-03 06:24:30 +00:00
Decompile ovl_Bg_Spot16_Doughnut (#187)
* Decompile ovl_Bg_Spot16_Doughnut * Ran formatter * Shorten float values Co-authored-by: Roman971 <32455037+Roman971@users.noreply.github.com> * Fix last float values * Rename Update2 and Draw2 Co-authored-by: Roman971 <32455037+Roman971@users.noreply.github.com>
This commit is contained in:
parent
d7c9d8d86f
commit
b2df45ae06
12 changed files with 145 additions and 491 deletions
|
@ -1,22 +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_Spot16_Doughnut_InitVars
|
||||
.word 0x00E50600, 0x00000000, 0x017A0000, 0x00000154
|
||||
.word BgSpot16Doughnut_Init
|
||||
.word BgSpot16Doughnut_Destroy
|
||||
.word BgSpot16Doughnut_Update
|
||||
.word BgSpot16Doughnut_Draw
|
||||
glabel D_808B6A10
|
||||
.word 0xB0F4157C, 0xB0F81388, 0x30FC1388
|
||||
glabel D_808B6A1C
|
||||
.word 0x00000000, 0x004600D2, 0x012C0000, 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_808B6B20
|
||||
.incbin "baserom/ovl_Bg_Spot16_Doughnut", 0x6E0, 0x000000A0
|
Loading…
Add table
Add a link
Reference in a new issue