blob: c4d17673212a0ec2983d2bdad80260d6c2e1a09e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
struct string_info {
u32 offset;
u32 flags;
};
struct strings {
u32 nmemb;
struct string_info info[nmemb];
};
struct item {
u32 id;
u16 flags;
u16 stack;
u16 type;
u16 resource;
u16 targets;
union data (type) {
4 => struct weapon weapon;
5 => struct armor armor;
7 => struct usable usable;
12 => struct puppet puppet;
* => struct general general;
};
struct strings strings;
};
|