Added SBB and CBB defines for SE/tile bases to remove their magic numbers

This commit is contained in:
MeirGavish
2025-07-09 00:40:59 +03:00
parent 2805018463
commit 2a92b3ecaa
3 changed files with 95 additions and 81 deletions
+12
View File
@@ -1,6 +1,18 @@
#ifndef GAME_H
#define GAME_H
// TODO: Move to dedicated header?
/* Reminder:
* Screen Base Block is the base for the screenblock entries i.e. tilemap
* Character Base Block is the base for the tiles themselves
*/
#define MAIN_BG_SBB 31
#define MAIN_BG_CBB 1
#define TTE_SBB 30
#define TTE_CBB 0
#define AFFINE_BG_SBB 2
#define AFFINE_BG_CBB 2
#define MAX_HAND_SIZE 16
#define MAX_DECK_SIZE 52
#define MAX_SELECTION_SIZE 5