I have just moved to a new Linux server from a BSD box.  When I went to
compile the code.  Several function came back with warnings (all the same
sort)...

warning: `victim' might be used uninitialized in this function

Others showed spell/skill names in place of 'victim', but the warning was
the same.

What causes this and any idea how I should fix it to get a clean compile?

Thanks for your help.

-Mike

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of John Van
Dyke
Sent: Saturday, December 01, 2001 4:09 PM
To: [email protected]
Subject: Advanced Classes


I'm looking for suggestions on how to implement
"advanced classes."  What I have in mind: At level 15,
a person goes to their guildmaster and types
'advance'.  It says something like 'Available classes:
Necromancer, Illusionist, etc' depending of course on
what base class you were.  Your advanced class gets
skills and spells not available to the others.

My plan so far is to make a do_advance command and add
a field for adv_class in CHAR_DATA.  Should I keep the
advanced classes in the same struct as the normal
classes or make a new type?  And what about the skills
and spells for the advanced classes: if there are 20
or so of these classes, should each spell have a level
for them?  Seems kind of messy.

Any thoughts or comments on this are appreciated.

__________________________________________________
Do You Yahoo!?
Buy the perfect holiday gifts at Yahoo! Shopping.
http://shopping.yahoo.com

--
ROM mailing list
[email protected]
http://www.rom.org/cgi-bin/mailman/listinfo/rom


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


Reply via email to