do not process turrets when in editor mode
[rofl0r-openDOW.git] / sprites / ws_hbar6.c
bloba2856beadafb5971336427482131cf1326f1c7f3
1 #include "../palpic.h"
2 #define PAL_COUNT 6
3 #define SPRITE_COUNT 2
4 #define WIDTH 6
5 #define HEIGHT 6
6 #define o 0
7 #define STRUCT_NAME ws_hbar6
9 static const struct {
10 struct palpic header;
11 prgb palette[PAL_COUNT];
12 uint8_t data[WIDTH * HEIGHT];
13 } STRUCT_NAME = {
14 { {'p', 'P', 'i', 'C', }, 1, PAL_COUNT, SPRITE_COUNT, WIDTH, HEIGHT, 0, 0 },
16 PRGB( 17, 51, 51),
17 PRGB(119, 85, 17),
18 PRGB(187, 119, 85),
19 PRGB(187, 153, 85),
20 PRGB(255, 221, 85),
21 PRGB(255, 255, 221),
25 /* sprite #000 */
26 o, 1, 1, 2, 3, 3,
27 2, 3, 4, 5, 5, 5,
28 o, 1, 1, 2, 3, 3,
29 /* sprite #001 */
30 3, 3, 2, 1, 1, o,
31 5, 5, 5, 4, 3, 2,
32 3, 3, 2, 1, 1, o,
37 #undef o
38 #undef PAL_COUNT
39 #undef SPRITE_COUNT
40 #undef WIDTH
41 #undef HEIGHT
42 #undef STRUCT_NAME