#include "d2item.h" #define readBits(start,size) ((*((unsigned long *) &data[(start) / 8]) >> ((start) & 7)) & ((1 << (size)) - 1)) const char* getItemName(D2S_ITEMDATA_IDENTIFIER itemID) { // TODO (LONG!z) }