If you are running a circle30bpl18 mud would anyone consider this snippet outdated found at:
www.tucker-usa.com/users/tterz/races.txt
And then especially the part about utils.h
****utils.h
...
#define GET_CLASS(ch) ((ch)->player.class) /*should be chclass btw in pl18*/
+ #define GET_RACE(ch) ((ch)->player.race)
...
...
#define CLASS_ABBR(ch) (IS_NPC(ch) ? "--" : class_abbrevs[(int)GET_CLASS(ch)])
+ #define RACE_ABBR(ch) (IS_NPC(ch) ? "--" : race_abbrevs[(int)GET_RACE(ch)])
...
...
#define IS_CAP(c) (((c)>='A' && (c) <= 'Z') ? 1 : 0 ) /* I'm epecially interested about what Nashak meant with this statement but more important where it should be put, because it doesn't exist in the source code in pl18*/
...
*****Furthermore can someone please tell me how to modify the makefile changes he describes so that it become compatibel with MSVC 6.0*******
objsave.o olc.o shop.o spec_assign.o spec_procs.o spell_parser.o \
Change it to:
objsave.o olc.o races.o shop.o spec_assign.o spec_procs.o \
spell_parser.o \
Search for:
random.o: random.c
$(CC) -c $(CFLAGS) random.c
Below it, add:
races.o: races.c sysdep.h conf.h structs.h interpreter.h utils.h
$(CC) -c $(CFLAGS) races.c
I've tried out numerous snippets and tried adjusting them with the help I got from others and with the very little insight I have of my own.
But I think that this snippet might be a winner, that is if someone can tell me wheter or not I should take the time to implement it again with the according changes to make it compatibel.
Sorry to be a nuisance, I can't help it:)
thank you for you patience.
--
+---------------------------------------------------------------+
| FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
| Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
| Newbie List: http://groups.yahoo.com/group/circle-newbies/ |
+---------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 06/25/03 PDT