View Single Post
  #1  
Old 04-23-2002, 10:57 AM
Malevolent
Hill Giant
 
Join Date: Mar 2002
Posts: 171
Default Feature Req: Reorganize client.cpp

Not sure if anyone else has noticed, but client.cpp could use a bit of reorganization. OK, I think it needs more than a bit. Baby Whales have less blubber than this guy. j/k This isn't only from a practical standpoint, but from an annoying compiling problem that popsup now and again because of too many nested ifs.

Some of the #commands should have counterparts accessible globally, IMO. (E.g., #spawn and its autoselection, etc.). It'd also be swell if it were a switch() with a default hnd, and all that jazz. Maybe even break it apart by admin status, so you'd have a method to process basic, gm, serverop, etc.

--MV
Reply With Quote