(no subject)

From: RHS Linux User (jimcou@HA-210-2.BGSU.EDU)
Date: 12/07/97


Ok..I'm pretty stupid...I've been working on my MUD for about a month or 2
now and I just now tried to add some new and different classes.....I took
the walkthrough and went through it about 3 times, but I keep getting this
same stupid parse error.....It's in utils.h around line 420....

this is the code I have there.....it says that its a parse error before
the -> in the last line here....I added the CLASS_STORM (as in
stormtrooper) and cannot figure out what I've done wrong......none of the
other files needing modifications have errors...

#define CLASS_ABBR(ch) (IS_NPC(ch) ? "--" :
class_abbrevs[(int)GET_CLASS(ch)])

#define IS_MAGIC_USER(ch)       (!IS_NPC(ch) && \
(GET_CLASS(ch) == CLASS_MAGIC_USER))
#define IS_CLERIC(ch)           (!IS_NPC(ch) && \
        (GET_CLASS(ch) == CLASS_CLERIC))
#define IS_THIEF(ch)            (!IS_NPC(ch) && \
        (GET_CLASS(ch) == CLASS_THIEF))
#define IS_WARRIOR(ch)          (!IS_NPC(ch) && \
        (GET_CLASS(ch) == CLASS_WARRIOR))
#define IS_STORM(ch)            (!IS_NPC(ch) && \
        (GET_CLASS(ch) == CLASS_STORM))

#define OUTSIDE(ch) (!ROOM_FLAGGED((ch)->in_room, ROOM_INDOORS))

Any help is REALLY appreciated...

Jac Cotelin
Emperor's Hammer MUD


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