Inventory functions | |
#define | INV_MAXSIZE 10 |
void | InvClear () |
Clear the inventory out at beginning of level. Some objects may remain in inventory, such as power boots. | |
void | InvEmpty () |
Empty the inventory out completely, deleting all objects. | |
bool | InvAdd (CThing *pThing) |
Add an item to the inventory. Return false if failed (e.g. if inventory full). | |
void | InvDraw () |
Draw the inventory. | |
int | InvGetSize () |
Get number of items in inventory. | |
CThing* | InvGetItem (int n) |
Get item at index n. | |
void | InvRemove (CThing *pThing) |
Remove (and delete) an item from the inventory. |
http://www.scorpioncity.com/djgame.html Copyright (C) David Joffe. Generated: 15 Jul 2001 |