TiTRIS

unfinished Tetris clone for TI-nspire CX
git clone git://squid-tech.com/TiTRIS.git
Log | Files | Refs | README

commit d834be27eb826f89917bcf2a7344b72b914eeca0
parent a9a1edc6a34c04e80af8a8985b13aea75b5816df
Author: joshiemoore <jxm5210@g.rit.edu>
Date:   Thu, 27 Sep 2018 22:20:37 -0400

Define 32-bit piece color enum

Diffstat:
MGAME_CONSTANTS.h | 10+++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/GAME_CONSTANTS.h b/GAME_CONSTANTS.h @@ -32,6 +32,14 @@ enum PIECE { }; // piece colors - +enum COLORS { + 0xFF0000FF, // I - RED + 0xFF00FFFF, // J - MAGENTA + 0xFFFF00FF, // L - YELLOW + 0x00FFFFFF, // O - CYAN + 0x0000FFFF, // S - BLUE + 0xC0C0C0FF, // T - SILVER + 0x00FF00FF // Z - GREEN +} #endif