[Scrymud] CVS Commit Info
Ben Greear
greear at WANfear.com
Fri Jan 4 18:00:03 PST 2002
uid=500(eroper) gid=500(eroper) groups=500(eroper),10(wheel),16(irc),56(spice),57(icecast),100(users),101(roper),152(scrydev),153(brainkick),156(syex),158(asylum),159(vearth),160(suckdev),508(scr)
ScryMUD/mud/grrmud/server const.h,1.31,1.32 critter.cc,1.66,1.67 critter.h,1.55,1.56 misc.cc,1.40,1.41 misc.h,1.22,1.23 object.cc,1.35,1.36 room.cc,1.44,1.45
Fri Jan 4 17:42:39 PST 2002
Update of /home/cvs/scry/ScryMUD/mud/grrmud/server
In directory ns1.wanfear.com:/tmp/cvs-serv7279
Modified Files:
const.h critter.cc critter.h misc.cc misc.h object.cc room.cc
Log Message:
Colors work and they play nice with moblists and objlists.
I updated about 250 occurences of ::show() to use critter:show() instead.
There are a few hundred left to go. I'll work on them sometime in the future
(soon I hope.)
I updated ::show() critter:show() and colorize() to take a hilite parameter
specifying the default color to revert to in the anti-bleed code. It's
specified as a name such as HL_SAY, HL_YELL, HL_MOB_LIST, etc. If no parameter
is passed it defaults to HL_DEF which is critter:getDefaultColor().
Still need to make the "color" command take the new type of input. Ran into a
spiffy complication with maintaining backwards compatability with the ANSI
strings it currently stored. I'm working on the best way to deal with this
issue.
Umm let's try and remember here... oh yes there's a new enum in
const.h... think it's called hilite_type. I'm pretty sure I
probably broke (err I mean changed) some other stuff too but I
can't recall off the top of my head... if so, nothing major. ;)
(ps yes I've tested this it runs, doesn't appear to add any memory
leakage. etc. etc.)
-- Khaav
More information about the ScryMUD
mailing list