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
replace weaponshop sprite of M203 with MG42
[rofl0r-openDOW.git]
/
sprites
/
ws_vbar1.c
blob
2e2d214523ad54d2850a1a5245947ff2c6554000
1
#include
"../palpic.h"
2
#define PAL_COUNT 6
3
#define SPRITE_COUNT 4
4
#define WIDTH 1
5
#define HEIGHT 16
6
#define o 0
7
#define STRUCT_NAME ws_vbar1
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
(
255
,
221
,
85
),
18
PRGB
(
255
,
255
,
221
),
19
PRGB
(
119
,
85
,
17
),
20
PRGB
(
187
,
119
,
85
),
21
PRGB
(
187
,
153
,
85
),
22
23
},
24
{
25
/* sprite #000 */
26
o
,
27
1
,
28
2
,
29
1
,
30
/* sprite #001 */
31
3
,
32
4
,
33
5
,
34
1
,
35
/* sprite #002 */
36
1
,
37
5
,
38
4
,
39
3
,
40
/* sprite #003 */
41
2
,
42
2
,
43
2
,
44
2
,
45
46
},
47
};
48
49
#undef o
50
#undef PAL_COUNT
51
#undef SPRITE_COUNT
52
#undef WIDTH
53
#undef HEIGHT
54
#undef STRUCT_NAME
55