>Without using a spec_proc, you lose containment and the code >for supporting vehicles is scattered. This is ugly and can be a code >maintainence headache. Exactly, I've made most of my code contained so far, i use generic functions i put together in utils.c and call them from around the mud universal_fight_check() universal_walk_check() race_fight_check() etc. There's nothing worse than going to change something and then not being entirely sure of where needs to be changed. When i added PEACEFUL zone flag, all i had to do is add the code to "universal_fight_check()". I know this is a little of the topic of Vehicles, but i completely agree. No need to duplicate code when you don't have to. Subliminal _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. -- +---------------------------------------------------------------+ | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html | | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html | +---------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/03/01 PST