mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-08 15:30:14 +00:00
ovl_Obj_Lightswitch OK and documented (#373)
* ovl_Obj_Lightswitch OK * ovl_Obj_Lightswitch documented * Removed unneeded prototypes * Minor cleanup * Cleanup, names * Use color array for more sane SetEnvColor * enum styling Co-authored-by: Roman971 <32455037+Roman971@users.noreply.github.com> * more enum styling * globalCtx2 meme * XxxInit -> SetupXxx Co-authored-by: Roman971 <32455037+Roman971@users.noreply.github.com>
This commit is contained in:
parent
2a9225763b
commit
a7beb8814b
29 changed files with 466 additions and 1486 deletions
|
@ -1,33 +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 Obj_Lightswitch_InitVars
|
||||
.word 0x01500000, 0x00000010, 0x012A0000, 0x000001C4
|
||||
.word ObjLightswitch_Init
|
||||
.word ObjLightswitch_Destroy
|
||||
.word ObjLightswitch_Update
|
||||
.word ObjLightswitch_Draw
|
||||
glabel D_80B97F20
|
||||
.word 0x00000000, 0x00000000, 0x00000000, 0x00200000, 0x00000000, 0x00010100, 0x00000000, 0x00000000, 0x00130064
|
||||
glabel D_80B97F44
|
||||
.word 0x0A000939, 0x20000000, 0x00000001
|
||||
.word D_80B97F20
|
||||
glabel D_80B97F54
|
||||
.word 0x0000000C, 0x003CFF00
|
||||
glabel D_80B97F5C
|
||||
.word 0x06000C20, 0x06000420, 0x06001420
|
||||
glabel D_80B97F68
|
||||
.word 0xC4D56000, 0x4452C000, 0xC3340000
|
||||
glabel D_80B97F74
|
||||
.word 0x00000000, 0x00000000, 0x00000000
|
||||
glabel D_80B97F80
|
||||
.word 0xC8500064, 0xB0F403E8, 0xB0F801F4, 0x30FC03E8
|
||||
|
|
@ -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_80B98100
|
||||
.incbin "baserom/ovl_Obj_Lightswitch", 0x1560, 0x00000170
|
Loading…
Add table
Add a link
Reference in a new issue