diff options
Diffstat (limited to 'include/gfx_macros.inc')
-rw-r--r-- | include/gfx_macros.inc | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/include/gfx_macros.inc b/include/gfx_macros.inc new file mode 100644 index 0000000..ad52e32 --- /dev/null +++ b/include/gfx_macros.inc @@ -0,0 +1,16 @@ +RGB: macro + 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) *" + +palettes EQUS "* PALETTE_SIZE" +palette EQUS "+ PALETTE_SIZE *" +color EQUS "+ PAL_COLOR_SIZE *" + +tiles EQUS "* $10" |