tunnel
[gbajam21] / src / data.h
index 3f92927..aa604be 100644 (file)
@@ -1,6 +1,15 @@
 #ifndef DATA_H_
 #define DATA_H_
 
+#include <stdint.h>
 #include "data/aas_data.h"
 
+#define CONV_RGB24_RGB15(r, g, b) \
+       (((r) >> 3) | (((uint16_t)(g) & 0xf8) << 2) | (((uint16_t)(b) & 0xf8) << 7))
+
+extern unsigned char tuncross_pixels[];
+extern unsigned char tuncross_cmap[];
+
+extern uint32_t tunmap[];
+
 #endif /* DATA_H_ */