1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-07-03 22:44:30 +00:00

Bg_Gnd_Iceblock and Bg_Ice_Objects (sliding ice blocks) (#534)

* Darkmeiro decompilation

Bg_Gnd_Darkmeiro decompiled, matched, and documented.

* give this a shot

* fix conflict

* one more try

* could be useful

* whoops

* ZAP2 stuff

* ZAP why

* ZAP again

* a good start

* done

* Log

* formatting

* thisx

Co-authored-by: petrie911 <pmontag@DESKTOP-LG8A167.localdomain>
This commit is contained in:
petrie911 2020-12-29 12:11:11 -06:00 committed by GitHub
parent 21e367a7cb
commit 695bc37be4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
34 changed files with 544 additions and 2154 deletions

View file

@ -1,18 +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 .bss
.balign 16
glabel D_8087AC40
.space 0x01
glabel D_8087AC41
.space 0x01
glabel D_8087AC42
.space 0x0E

View file

@ -1,30 +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_Gnd_Iceblock_InitVars
.word 0x01B70600, 0x00000030, 0x01790000, 0x00000174
.word BgGndIceblock_Init
.word BgGndIceblock_Destroy
.word BgGndIceblock_Update
.word BgGndIceblock_Draw
glabel D_8087A740
.word 0xFAFAFAFF
glabel D_8087A744
.word 0xB4B4B4FF
glabel D_8087A748
.word 0x00000000, 0x00000000, 0x00000000
glabel D_8087A754
.word 0x48500064
glabel D_8087A758
.word 0x00000000, 0x00000202, 0x02020303, 0x03040404, 0x06060606, 0x06060000
glabel D_8087A770
.word 0x05040302, 0x01000504, 0x02010601, 0x00050302, 0x05040302, 0x01000000, 0x00000000, 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_8087A920
.incbin "baserom/ovl_Bg_Gnd_Iceblock", 0xE80, 0x00000320

View file

@ -1,70 +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_80890490
.word 0xFAFAFAFF
glabel D_80890494
.word 0xB4B4B4FF
glabel D_80890498
.word 0x00000000, 0x00000000, 0x00000000
glabel Bg_Ice_Objects_InitVars
.word 0x00D60600, 0x00000000, 0x006B0000, 0x00000174
.word BgIceObjects_Init
.word BgIceObjects_Destroy
.word BgIceObjects_Update
.word BgIceObjects_Draw
glabel D_808904C4
.word 0x48500064
glabel D_808904C8
.byte 0xFB, 0xDC
glabel D_808904CA
.byte 0xFB, 0x50
glabel D_808904CC
.word 0xFB28FA95, 0xF9D4F970, 0xF90C0000
glabel D_808904D8
.byte 0xFD, 0xBC
glabel D_808904DA
.byte 0xFD, 0x6C
glabel D_808904DC
.word 0xFCF4FCCC, 0xFCA4FC7C, 0xFBC10000
glabel D_808904E8
.byte 0xFD, 0xBC
glabel D_808904EA
.byte 0xFB, 0xC1
glabel D_808904EC
.byte 0xFC, 0xF4
glabel D_808904EE
.byte 0xFB, 0x14
glabel D_808904F0
.byte 0xFE, 0xAC
glabel D_808904F2
.byte 0xFC, 0xCC
glabel D_808904F4
.byte 0xFE, 0xFC
glabel D_808904F6
.byte 0xFB, 0x14, 0xFE, 0xAC, 0xFC, 0xA4, 0xFD, 0x6C, 0xFB, 0x14, 0xFE, 0xAC, 0xFD, 0x1C
glabel D_80890504
.byte 0xFC, 0xA4
glabel D_80890506
.byte 0xF9, 0xD4
glabel D_80890508
.byte 0xFB, 0x28
glabel D_8089050A
.byte 0xF9, 0x0C
glabel D_8089050C
.byte 0xFC, 0xA4
glabel D_8089050E
.byte 0xF9, 0x70
glabel D_80890510
.byte 0xFC, 0xA4
glabel D_80890512
.byte 0xF9, 0x70, 0xFA, 0x95, 0xF9, 0x70, 0xFC, 0xA4, 0xFB, 0x50, 0xFC, 0xA4, 0xF8, 0xF8

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_80890540
.incbin "baserom/ovl_Bg_Ice_Objects", 0xD30, 0x00000200