-
Notifications
You must be signed in to change notification settings - Fork 36
/
inventory.h
80 lines (68 loc) · 1.18 KB
/
inventory.h
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
#ifndef _INVENTORY_H
#define _INVENTORY_H
#define MAXLISTLEN 100
struct stSelector
{
uchar flashstate, animtimer;
int spacing_x, spacing_y;
int cursel, lastsel;
int sprite;
int nitems;
int sound;
int rowlen;
int scriptbase;
int items[MAXLISTLEN];
};
struct stInventory
{
int x, y, w, h;
stSelector armssel;
stSelector itemsel;
stSelector *curselector;
char lockinput;
};
bool inventory_init(int param);
void inventory_tick(void);
enum INVENTORY
{
ITEM_ARTHURS_KEY = 1,
ITEM_MAP_SYSTEM,
ITEM_STANTAS_KEY,
ITEM_SILVER_LOCKET,
ITEM_BEAST_FANG,
ITEM_LIFE_CAPSULE,
ITEM_ID_CARD,
ITEM_JELLYFISH_JUICE,
ITEM_RUSTY_KEY,
ITEM_GUM_KEY,
ITEM_GUM_BASE,
ITEM_CHARCOAL,
ITEM_EXPLOSIVE,
ITEM_PUPPY,
ITEM_LIFE_POT,
ITEM_CUREALL,
ITEM_CLINIC_KEY,
ITEM_BOOSTER08,
ITEM_ARMS_BARRIER,
ITEM_TURBOCHARGE,
ITEM_AIRTANK,
ITEM_COUNTER,
ITEM_BOOSTER20,
ITEM_MIMIGA_MASK,
ITEM_TELEPORTER_KEY,
ITEM_SUES_LETTER,
ITEM_CONTROLLER,
ITEM_BROKEN_SPRINKLER,
ITEM_SPRINKLER,
ITEM_TOW_ROPE,
ITEM_CLAY_FIGURE_MEDAL,
ITEM_LITTLE_MAN,
ITEM_MUSHROOM_BADGE,
ITEM_MA_PIGNON,
ITEM_CURLYS_UNDERWEAR,
ITEM_ALIEN_MEDAL,
ITEM_CHACOS_LIPSTICK,
ITEM_WHIMSICAL_STAR,
ITEM_IRON_BOND
};
#endif