diff options
author | xCrystal <rgr.crystal@gmail.com> | 2018-02-17 19:11:28 +0100 |
---|---|---|
committer | xCrystal <rgr.crystal@gmail.com> | 2018-02-17 19:11:28 +0100 |
commit | ccb7c0c359dd1aa4475c9f51b37f7b5faabc1e34 (patch) | |
tree | a3a84c089d9ba93cd7312b460d82005d24596515 /src/constants/gfx_constants.asm | |
parent | c58266dc318f79bf5479868d7b2b6c067365fee0 (diff) |
Create sprite_buffer_struct
Diffstat (limited to 'src/constants/gfx_constants.asm')
-rw-r--r-- | src/constants/gfx_constants.asm | 17 |
1 files changed, 17 insertions, 0 deletions
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 |