Items/ItemTypes [ Types ]

NAME

ItemTypes -- enumeration of item types

FUNCTION

Defines a number of item types. There are two kind of items:

NOTES

Never check an item type against SOURCECODE_ITEM directily! Use Works_Like_SourceItem() function instead.

SOURCE

enum ItemType
{ POSSIBLE_ITEM = -2, NO_ITEM = -1, SOURCECODE_ITEM = 0, OTHER_ITEM };