1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-08-08 15:30:14 +00:00

BgMizuWater OK (#359)

* BgMizuWater OK

* Renaming

* Fix formatting

* Cleanup, use new gfx functions

* Fix stack issue

* PR fixes

* Apply suggestions from code review

Co-authored-by: Roman971 <32455037+Roman971@users.noreply.github.com>

* PR fixes

* More PR fixes

* Fix formatting

Co-authored-by: Roman971 <32455037+Roman971@users.noreply.github.com>
This commit is contained in:
kroemker 2020-09-27 03:06:30 +02:00 committed by GitHub
parent c864ce0de2
commit 0dca636f4a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 334 additions and 1019 deletions

View file

@ -1,27 +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_808A0510
.word 0x00000000
glabel D_808A0514
.word 0x00000000, 0x0000001E, 0x00000000, 0x0000001D, 0xFFFFFEC0, 0x0000001C, 0xFFFFFCF4
glabel Bg_Mizu_Water_InitVars
.word 0x00650100, 0x00000030, 0x00590000, 0x00000160
.word BgMizuWater_Init
.word BgMizuWater_Destroy
.word BgMizuWater_Update
.word BgMizuWater_Draw
.word 0x00000000, 0x42DC0000
glabel D_808A0558
.word 0x00000002, 0x00000003, 0x00000005, 0x00000007, 0x0000000C, 0x00000014, 0x00000015, 0x00000016
glabel D_808A0578
.word 0x40500001, 0x00000000

View file

@ -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_808A0640
.incbin "baserom/ovl_Bg_Mizu_Water", 0xD90, 0x00000140