LoadItemClass() is defined as:
itemclass LoadItemClass(int family)Now, the IC_ constants are things like IC_POTION and IC_ROCS, which are, indeed, item classes in this sense:
* Retrieves the itemclass pointer corresponding to the given item family.
* Use the IC_ constants in std.zh as values of family.
itemclass Class
* The class (the type of item) to which this item belongs.
However, the "ItemClass Functions and Variables" consist of such variables as MaxIncrement, Level and Counter, which are variables for individual item definitions, as seen in the Item Editor. Hence, 'itemclass' pointers don't actually refer to item classes at all. (And for good reason: item classes are nothing more than integer values for an item's Class variable.)
Thus, from the evidence available, the following bugs are evident:
* Obviously, the Class variable for 'item' pointers must be of type 'int' instead of type 'itemclass'. Documentation error.
* Furthermore, the 'itemclass' keyword and LoadItemClass must be renamed. I suppose 'itemdata' and LoadItemData would be appropriate.