do not process turrets when in editor mode
[rofl0r-openDOW.git] / sprites / crosshair4.c
blobdd70ef08b6d5d36ba246467f8383fe5f30f1d2c7
1 #include "../palpic.h"
2 #define PAL_COUNT 2
3 #define SPRITE_COUNT 1
4 #define WIDTH 9
5 #define HEIGHT 9
6 #define STRUCT_NAME crosshair4
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, PPF_TRANSPARENT, 0 },
15 PRGB( 0, 0, 0),
16 PRGB(255, 148, 21),
20 /* sprite #000 */
21 0, 0, 0, 1, 0, 1, 0, 0, 0,
22 0, 0, 0, 1, 0, 1, 0, 0, 0,
23 0, 0, 1, 0, 0, 0, 1, 0, 0,
24 1, 1, 0, 0, 0, 0, 0, 1, 1,
25 0, 0, 0, 0, 1, 0, 0, 0, 0,
26 1, 1, 0, 0, 0, 0, 0, 1, 1,
27 0, 0, 1, 0, 0, 0, 1, 0, 0,
28 0, 0, 0, 1, 0, 1, 0, 0, 0,
29 0, 0, 0, 1, 0, 1, 0, 0, 0,
34 #undef PAL_COUNT
35 #undef SPRITE_COUNT
36 #undef WIDTH
37 #undef HEIGHT
38 #undef STRUCT_NAME