d2item.c 214 Bytes Edit Raw Blame History 1 2 3 4 5 6 7 #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) }