Re: [Code][Newbie] do_stat

From: Chris Proctor (cjp@YOYO.CC.MONASH.EDU.AU)
Date: 07/21/97


>
> const char *race_abbrevs[] = {
>   "Human",
>   "Elf",
>   "Gnome",
>   "Dwarf",
>   "Hobbit",
>   "Drow",
>   "HalfElf",
>   "HalfOrc",
>   "\n"
> };
> (or something like it) in class.c

Hate to be a nit picker, but calling that array race_abbrevs is rather
misleading. An array of abbreviations would be somehting like:
  "Hum", "Elf", "Gno" ....
and so on.

You'd want to make two arrays, one abbreviated and one not.

You also have to create the RACE_ABBR macro in utils.h if that wasn
t already self-explanatory.

Chris


     +------------------------------------------------------------+
     | 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