repo.or.cz
/
rofl0r-openDOW.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
add empty spawn map for russia
[rofl0r-openDOW.git]
/
sprites
/
ws_vbar3.c
blob
cf2c1b3a8204621d9c5ab0bee2443a0611276c1e
1
#include
"../palpic.h"
2
#define PAL_COUNT 7
3
#define SPRITE_COUNT 4
4
#define WIDTH 3
5
#define HEIGHT 40
6
#define o 0
7
#define STRUCT_NAME ws_vbar3
8
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
,
PPF_TRANSPARENT
,
0
},
15
{
16
PRGB
(
0
,
0
,
0
),
17
PRGB
(
119
,
85
,
17
),
18
PRGB
(
187
,
153
,
85
),
19
PRGB
(
17
,
51
,
51
),
20
PRGB
(
255
,
221
,
85
),
21
PRGB
(
187
,
119
,
85
),
22
PRGB
(
255
,
255
,
221
),
23
24
},
25
{
26
/* sprite #000 */
27
o
,
o
,
o
,
28
o
,
o
,
o
,
29
1
,
2
,
1
,
30
3
,
1
,
3
,
31
1
,
4
,
1
,
32
5
,
6
,
5
,
33
2
,
6
,
2
,
34
2
,
6
,
2
,
35
4
,
6
,
2
,
36
4
,
6
,
2
,
37
/* sprite #001 */
38
4
,
6
,
2
,
39
4
,
6
,
2
,
40
2
,
6
,
2
,
41
2
,
6
,
2
,
42
5
,
6
,
5
,
43
1
,
4
,
1
,
44
1
,
6
,
1
,
45
6
,
2
,
4
,
46
o
,
o
,
o
,
47
o
,
o
,
o
,
48
/* sprite #002 */
49
3
,
2
,
3
,
50
3
,
2
,
3
,
51
1
,
4
,
1
,
52
1
,
6
,
1
,
53
5
,
6
,
5
,
54
5
,
6
,
5
,
55
2
,
6
,
2
,
56
2
,
6
,
2
,
57
4
,
6
,
2
,
58
4
,
6
,
2
,
59
/* sprite #003 */
60
4
,
6
,
2
,
61
4
,
6
,
2
,
62
2
,
6
,
2
,
63
2
,
6
,
2
,
64
5
,
6
,
5
,
65
5
,
6
,
5
,
66
1
,
6
,
1
,
67
1
,
4
,
1
,
68
3
,
2
,
3
,
69
3
,
2
,
3
,
70
71
},
72
};
73
74
#undef o
75
#undef PAL_COUNT
76
#undef SPRITE_COUNT
77
#undef WIDTH
78
#undef HEIGHT
79
#undef STRUCT_NAME
80