From ccb7c0c359dd1aa4475c9f51b37f7b5faabc1e34 Mon Sep 17 00:00:00 2001 From: xCrystal Date: Sat, 17 Feb 2018 19:11:28 +0100 Subject: Create sprite_buffer_struct --- src/constants/gfx_constants.asm | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/constants/gfx_constants.asm (limited to 'src/constants/gfx_constants.asm') diff --git a/src/constants/gfx_constants.asm b/src/constants/gfx_constants.asm new file mode 100644 index 0000000..fbcbdda --- /dev/null +++ b/src/constants/gfx_constants.asm @@ -0,0 +1,17 @@ +; screen size +SCREEN_WIDTH EQU 20 ; tiles +SCREEN_HEIGHT EQU 18 ; tiles + +; background map size +BG_MAP_WIDTH EQU 32 ; tiles +BG_MAP_HEIGHT EQU 32 ; tiles + +; cgb palette size +CGB_PAL_SIZE EQU 8 ; bytes + +; tile size +TILE_SIZE EQU 16 ; bytes + +; wram sprite buffer +SPRITE_BUFFER_CAPACITY EQU 16 ; sprites +SPRITE_DATA_LENGTH EQU 16 ; bytes of data per sprite -- cgit v1.2.3