4 const int MAX_ITEMS = 23;
5 entity ITEMS[MAX_ITEMS];
7 #define ITEMS_FOREACH(pred, body) do { \
8 for (int i = 0; i < ITEM_COUNT; i++) { \
9 const entity it = ITEMS[i]; \
21 const int flags = read();
22 for (int i = 0; i < MAX_ITEMS; i++) {
24 self.items[i] = read();