dsekai
World engine for retrocomputers.
Loading...
Searching...
No Matches
Data Structures | Macros
itstruct.h File Reference

Structs pertaining to inventory objects. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ITEM
 An instance of an item in the world. More...
 

Macros

#define ITEM_FLAG_ACTIVE   0x1000
 ITEM::flags bit indicating item exists in the world (and is not just a free slot in DSEKAI_STATE::items.
 
#define ITEM_FLAG_CRAFTABLE   0x2000
 
#define ITEM_FLAG_NOT_LAST   0x4000
 ITEM::flags indicating this item is not the last used item slot.
 
#define ITEM_TYPE_MASK   0x0f00
 Bitmask for ITEM::flags indicating that item's Item Types and Use.
 
#define ITEM_COUNT_MASK   0x00ff
 Bitmask for ITEM::flags indicating the number of copies of this item as a stack.
 
#define ITEM_NAME_SZ   8
 The maximum characters in an ITEM::name.
 

Detailed Description

Structs pertaining to inventory objects.