[Maintenance] Introduce color component constants

YuugenMagan will need them.

Part of P0207, funded by GhostPhanom.
This commit is contained in:
nmlgc 2022-07-20 19:33:33 +02:00
parent a10fe95b31
commit c99f824f97
1 changed files with 4 additions and 0 deletions

4
pc98.h
View File

@ -84,6 +84,10 @@ typedef unsigned int utram_y_t;
typedef bool page_t;
#define COLOR_COUNT 16
#define COMPONENT_R 0
#define COMPONENT_G 1
#define COMPONENT_B 2
#define COMPONENT_COUNT 3
// The 16-color mode supports 4 bits per RGB component, for a total of