Nah, just need to not write spaghetti. mobact.c is getting like spaghetti, esp if you add more stuff to it. --Angus ______________________________ Reply Separator _________________________________ >how about just adding classes and races to mobs and having mobact.c and fight.c >act off of them as well? I am definetly going to create the 4 basic classes and >have a function for each of them. also, a suggestion for the next version. in >mobact.c: have all of the if(MOB_FLAGGED(ch,MOB_BLAH)) call a function. it >really helps to clean up that code. > >--Angus Hmm...starting to sound like data encapsulation....time to convert this group to c++ eh? +------------------------------------------------------------+ | 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/08/00 PST