projects
/
gbajam22
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
converting to 16bpp
[gbajam22]
/
src
/
data.h
1
#ifndef DATA_H_
2
#define DATA_H_
3
4
#include <stdint.h>
5
/*#include "data/snd.h"*/
6
7
#define CONV_RGB24_RGB15(r, g, b) \
8
(((r) >> 3) | (((uint16_t)(g) & 0xf8) << 2) | (((uint16_t)(b) & 0xf8) << 7))
9
10
#define VOX_SZ 256
11
12
extern uint16_t color_pixels[];
13
extern uint8_t height_pixels[];
14
15
#endif /* DATA_H_ */