mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-09 00:00:44 +00:00
z_bg_spot15_rrbox OK (#375)
* Initial work on spot15_rrbox * Few functions done with OK * Added destroy function * Fixed up struct, made actionFunc and completed more functions * Another function * Another function * Another function * Another function * Another function * Another function * Another function * Another function * Another function * Another function * Another function * Another function * File entirely working * Replaced padding with better variables * Replaced more padding * Ran format script and some other minor layout changes * Removed assembly files * Made update function consistent with other base functions * Renamed variable * Removed data file * Updated reloc location in spec * Removed old reloc file * Made init chain static * Minor fixes * Fixed various minor issues * More minor cleanup * Even more minor cleanup * Minor cleanup * More minor cleanup * Minor fix * Fixed up more variable names * Apply suggestions from code review Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com> * More cleanup Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>
This commit is contained in:
parent
b9b5724dec
commit
c864ce0de2
28 changed files with 340 additions and 980 deletions
|
@ -1,28 +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 D_808B4590
|
||||
.word 0x00000000
|
||||
glabel Bg_Spot15_Rrbox_InitVars
|
||||
.word 0x01070100, 0x00000000, 0x00F00000, 0x00000184
|
||||
.word BgSpot15Rrbox_Init
|
||||
.word BgSpot15Rrbox_Destroy
|
||||
.word BgSpot15Rrbox_Update
|
||||
.word BgSpot15Rrbox_Draw
|
||||
glabel D_808B45B4
|
||||
.word 0xC8500064, 0xB0F403E8, 0xB0F801F4, 0x30FC03E8
|
||||
glabel D_808B45C4
|
||||
.word 0x44408000, 0x44BA4000, 0xC3958000, 0x44408000, 0x44C1C000, 0xC3958000
|
||||
glabel D_808B45DC
|
||||
.word 0x41EFEB85, 0x3C23D70A, 0xC1EFEB85, 0xC1EFEB85, 0x3C23D70A, 0xC1EFEB85, 0xC1EFEB85, 0x3C23D70A, 0x41EFEB85, 0x41EFEB85, 0x3C23D70A, 0x41EFEB85, 0x00000000, 0x3C23D70A, 0x00000000
|
||||
glabel D_808B4618
|
||||
.word 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_808B4710
|
||||
.incbin "baserom/ovl_Bg_Spot15_Rrbox", 0xDB0, 0x00000140
|
Loading…
Add table
Add a link
Reference in a new issue