Whats the advantage of struct room_data *world = NULL; and then later use CREATE(world, struct room_data, rec_count ); compared to *world[MAX_ROOMS_AVAILABLE] i.e declare a list of pointers to the max rooms that may be on the mud. I know I have to switch alot of world[x].number to world[x]->number. But will it affect the game in other ways, right now im trying to figure out if i should switch to the pointer list. Have anybody done this? Any pitfalls that I should know of? I wanna do this to make it easier to support virtual rooms, and reuse old rooms in a wilderness. Nocturnal -- --------------- Codito, ergo sum - "I code, therefore I am" -------------------- http://birk113.studby.uio.no ronnyi@ifi.uio.no ---------------- In a world without fences, who need gates? -------------------- +------------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html | +------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/15/00 PST