You've already forked ultrasm64-2
mirror of
https://github.com/HackerN64/ultrasm64-2.git
synced 2026-01-21 10:38:08 -08:00
Refresh 2
This commit is contained in:
@@ -9,12 +9,18 @@
|
||||
.set K2BASE, 0xC0000000
|
||||
.set SCREEN_WIDTH, 320
|
||||
.set SCREEN_HEIGHT, 240
|
||||
.set PTR_WIDTH, 4
|
||||
|
||||
.macro glabel label
|
||||
.global \label
|
||||
.balign 4
|
||||
\label:
|
||||
.endm
|
||||
|
||||
.macro .word32 x
|
||||
.word \x
|
||||
.endm
|
||||
|
||||
# F3D vertex
|
||||
.macro vertex x, y, z, u, v, r=0xFF, g=0xFF, b=0xFF, a=0xFF
|
||||
.hword \x, \y, \z, 0, \u, \v
|
||||
@@ -105,8 +111,8 @@ binid
|
||||
.endm
|
||||
|
||||
.macro dialog_entry w1, w2, w3, w4
|
||||
.word \w1
|
||||
.word32 \w1
|
||||
.byte (\w2 >> 24), 0x00
|
||||
.hword (\w2 & 0xFFFF), (\w3 >> 16), 0x0000
|
||||
.long \w4
|
||||
.word \w4
|
||||
.endm
|
||||
|
||||
Reference in New Issue
Block a user