diff options
author | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-07-03 12:44:47 -0400 |
---|---|---|
committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-07-03 12:44:47 -0400 |
commit | c9c59dc34323a5e0b1886db5f845c8d41620826e (patch) | |
tree | 0d07de202a4437e02cc8c66178b1dfec5c2a1673 /constants/gfx_constants.asm | |
parent | 91dc3c9f9c8fd529bb6e8307b58b96efa0bec67e (diff) |
Reorganize constants/
To do: add comments associating constants with data and code
Diffstat (limited to 'constants/gfx_constants.asm')
-rw-r--r-- | constants/gfx_constants.asm | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/constants/gfx_constants.asm b/constants/gfx_constants.asm new file mode 100644 index 00000000..04671ecb --- /dev/null +++ b/constants/gfx_constants.asm @@ -0,0 +1,17 @@ +SCREEN_WIDTH EQU 20 +SCREEN_HEIGHT EQU 18 + +SCREEN_WIDTH_PIXELS EQU SCREEN_WIDTH * 8 +SCREEN_HEIGHT_PIXELS EQU SCREEN_HEIGHT * 8 + +BYTES_PER_TILE EQU 16 + +BG_MAP_WIDTH EQU 32 +BG_MAP_HEIGHT EQU 32 + +SPRITEBUFFERSIZE EQU 7*7 * 8 ; 7 * 7 (tiles) * 8 (bytes per tile) + +; HP bar +HP_BAR_GREEN EQU 0 +HP_BAR_YELLOW EQU 1 +HP_BAR_RED EQU 2 |