NXEngine v1.0.0.2
[NXEngine.git] / inventory.h
blob4fde113ada2fd43bdbe73aa9b29f75708bb050a7
2 #ifndef _INVENTORY_H
3 #define _INVENTORY_H
5 #define MAXLISTLEN 100
7 struct stSelector
9 uchar flashstate, animtimer;
11 int spacing_x, spacing_y;
12 int cursel, lastsel;
13 int sprite;
14 int nitems;
15 int sound;
16 int rowlen;
18 int scriptbase;
19 int items[MAXLISTLEN];
22 struct stInventory
24 int x, y, w, h;
26 stSelector armssel;
27 stSelector itemsel;
28 stSelector *curselector;
30 char lockinput;
34 bool inventory_init(int param);
35 void inventory_tick(void);
37 enum INVENTORY
39 ITEM_ARTHURS_KEY = 1,
40 ITEM_MAP_SYSTEM,
41 ITEM_STANTAS_KEY,
42 ITEM_SILVER_LOCKET,
43 ITEM_BEAST_FANG,
44 ITEM_LIFE_CAPSULE,
45 ITEM_ID_CARD,
46 ITEM_JELLYFISH_JUICE,
47 ITEM_RUSTY_KEY,
48 ITEM_GUM_KEY,
49 ITEM_GUM_BASE,
50 ITEM_CHARCOAL,
51 ITEM_EXPLOSIVE,
52 ITEM_PUPPY,
53 ITEM_LIFE_POT,
54 ITEM_CUREALL,
55 ITEM_CLINIC_KEY,
56 ITEM_BOOSTER08,
57 ITEM_ARMS_BARRIER,
58 ITEM_TURBOCHARGE,
59 ITEM_AIRTANK,
60 ITEM_COUNTER,
61 ITEM_BOOSTER20,
62 ITEM_MIMIGA_MASK,
63 ITEM_TELEPORTER_KEY,
64 ITEM_SUES_LETTER,
65 ITEM_CONTROLLER,
66 ITEM_BROKEN_SPRINKLER,
67 ITEM_SPRINKLER,
68 ITEM_TOW_ROPE,
69 ITEM_CLAY_FIGURE_MEDAL,
70 ITEM_LITTLE_MAN,
71 ITEM_MUSHROOM_BADGE,
72 ITEM_MA_PIGNON,
73 ITEM_CURLYS_UNDERWEAR,
74 ITEM_ALIEN_MEDAL,
75 ITEM_CHACOS_LIPSTICK,
76 ITEM_WHIMSICAL_STAR,
77 ITEM_IRON_BOND
80 #endif