Replace hardware_constants.asm with the community-standard hardware.inc 5.0 (#1186)
This commit is contained in:
@@ -19,18 +19,18 @@ DEF palred EQUS "(1 << 0) *"
|
||||
DEF palgreen EQUS "(1 << 5) *"
|
||||
DEF palblue EQUS "(1 << 10) *"
|
||||
|
||||
DEF palettes EQUS "* PALETTE_SIZE"
|
||||
DEF palette EQUS "+ PALETTE_SIZE *"
|
||||
DEF color EQUS "+ PAL_COLOR_SIZE *"
|
||||
DEF colors EQUS "* PAL_COLOR_SIZE"
|
||||
DEF palettes EQUS "* PAL_SIZE"
|
||||
DEF palette EQUS "+ PAL_SIZE *"
|
||||
DEF color EQUS "+ COLOR_SIZE *"
|
||||
DEF colors EQUS "* COLOR_SIZE"
|
||||
|
||||
DEF tiles EQUS "* LEN_2BPP_TILE"
|
||||
DEF tile EQUS "+ LEN_2BPP_TILE *"
|
||||
DEF tiles EQUS "* TILE_SIZE"
|
||||
DEF tile EQUS "+ TILE_SIZE *"
|
||||
|
||||
; extracts the middle two colors from a 2bpp binary palette
|
||||
; example usage:
|
||||
; INCBIN "foo.gbcpal", middle_colors
|
||||
DEF middle_colors EQUS "PAL_COLOR_SIZE, PAL_COLOR_SIZE * 2"
|
||||
DEF middle_colors EQUS "COLOR_SIZE, COLOR_SIZE * 2"
|
||||
|
||||
MACRO dbpixel
|
||||
if _NARG >= 4
|
||||
|
Reference in New Issue
Block a user