do not process turrets when in editor mode
[rofl0r-openDOW.git] / sprites / bullet.c
blobb4e29594d1b28bf18c95ac037daee66b2e3b12c3
1 #include "../palpic.h"
2 #define PAL_COUNT 3
3 #define SPRITE_COUNT 3
4 #define WIDTH 2
5 #define HEIGHT 6
6 #define STRUCT_NAME bullet
8 static const struct {
9 struct palpic header;
10 prgb palette[PAL_COUNT];
11 uint8_t data[WIDTH * HEIGHT];
12 } STRUCT_NAME = {
13 { {'p', 'P', 'i', 'C', }, 1, PAL_COUNT, SPRITE_COUNT, WIDTH, HEIGHT, 0, 0 },
15 PRGB( 0, 0, 0),
16 PRGB(254, 254, 254),
17 PRGB(255, 148, 21),
21 /* sprite #000 */
22 0, 0,
23 0, 0,
24 /* sprite #001 */
25 1, 1,
26 1, 1,
27 /* sprite #002 */
28 2, 2,
29 2, 2,
34 #undef PAL_COUNT
35 #undef SPRITE_COUNT
36 #undef WIDTH
37 #undef HEIGHT
38 #undef STRUCT_NAME