int main(){ int new_level[500], new_id[500]; List ** lists = malloc(sizeof(List *) * CAT); for (int x=0;x<CAT;x++) lists[x] = createList(); char ** itemFile = readItemsFile(); parseFile(lists); read_new_attr(lists, new_id, new_level); update_items(itemFile, new_id, new_level); write_file(itemFile); return 0; }
void ItemManager::initialize() { mVisibleEquipSlotCount = 0; readEquipSlotsFile(); readItemsFile(); }