5 /*#include "data/snd.h"*/
7 #define CONV_RGB24_RGB15(r, g, b) \
8 (((r) >> 3) | (((uint16_t)(g) & 0xf8) << 2) | (((uint16_t)(b) & 0xf8) << 7))
11 #define CMAP_SPAWN0 240
13 #define SPRID(x, y) (SPRID_BASE + ((y) * 4) + (x) / 4)
17 SPRID_UILEFT = SPRID(0, 0),
18 SPRID_UIMID = SPRID(16, 0),
19 SPRID_UIRIGHT = SPRID(32, 0),
20 SPRID_UINUM = SPRID(48, 0),
21 SPRID_UISLASH = SPRID(120, 16),
22 SPRID_CROSS = SPRID(0, 16),
23 SPRID_UITGT = SPRID(16, 16),
24 SPRID_LEDOFF = SPRID(32, 16),
25 SPRID_LEDRED = SPRID(40, 16),
26 SPRID_LEDBLU = SPRID(48, 16),
27 SPRID_LEDGRN = SPRID(56, 16),
28 /*SPRID_ENEMY = SPRID(0, 64)*/
29 SPRID_ENEMY0 = SPRID(0, 32),
30 SPRID_HUSK = SPRID(112, 64)
33 extern unsigned char color_pixels[];
34 extern unsigned char color_cmap[];
35 extern unsigned char height_pixels[];
37 extern unsigned char spr_game_pixels[];
38 extern unsigned char spr_game_cmap[];