diff options
Diffstat (limited to 'include/gfx_macros.inc')
-rw-r--r-- | include/gfx_macros.inc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/include/gfx_macros.inc b/include/gfx_macros.inc index ad52e32..ee67fad 100644 --- a/include/gfx_macros.inc +++ b/include/gfx_macros.inc @@ -1,16 +1,16 @@ -RGB: macro +macro RGB rept _NARG / 3 dw palred (\1) + palgreen (\2) + palblue (\3) shift 3 endr endm -palred EQUS "(1 << 0) *" -palgreen EQUS "(1 << 5) *" -palblue EQUS "(1 << 10) *" +DEF palred EQUS "(1 << 0) *" +DEF palgreen EQUS "(1 << 5) *" +DEF palblue EQUS "(1 << 10) *" -palettes EQUS "* PALETTE_SIZE" -palette EQUS "+ PALETTE_SIZE *" -color EQUS "+ PAL_COLOR_SIZE *" +DEF palettes EQUS "* PALETTE_SIZE" +DEF palette EQUS "+ PALETTE_SIZE *" +DEF color EQUS "+ PAL_COLOR_SIZE *" -tiles EQUS "* $10" +DEF tiles EQUS "* $10" |