-
Notifications
You must be signed in to change notification settings - Fork 1
/
InventoryManager.h
49 lines (42 loc) · 1.26 KB
/
InventoryManager.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
// --------------------------------------------------------------------------------------------------------------------------------
// DEMISERL
// Copyright 2014 Corremn
//
// $LastChangedBy$
// $LastChangedDate$
// $LastChangedRevision$
// $HeadURL: $
// --------------------------------------------------------------------------------------------------------------------------------
#if !defined(AFX_INVENTORYMANAGER_H__65C8D882_9323_46EC_8A13_BCC5962EC377__INCLUDED_)
#define AFX_INVENTORYMANAGER_H__65C8D882_9323_46EC_8A13_BCC5962EC377__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class InventoryManager
{
public:
enum EInvState
{
eDisplay,
eEquip,
eDrop,
eShowEquipment
};
InventoryManager();
int ShowInventory(int type);
int EquipMessage();
int Equip(bool *keys);
int InventoryCommand(bool *keys);
int EquipItem(int item);
int DropMessage();
int Drop(bool *keys);
int DropItem(int item);
int Unequip(int item);
void setState(EInvState state);
private:
EInvState mState;
bool mShowEquip;
bool mShowInv;
bool mShowAll;
};
#endif // !defined(AFX_INVENTORYMANAGER_H__65C8D882_9323_46EC_8A13_BCC5962EC377__INCLUDED_)