[Scrymud] CVS Commit Info

Ben Greear greear at WANfear.com
Thu Jan 3 17: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.30,1.31 misc.cc,1.38,1.39
Thu Jan  3 16:30:23 PST 2002
Update of /home/cvs/scry/ScryMUD/mud/grrmud/server
In directory ns1.wanfear.com:/tmp/cvs-serv1329

Modified Files:
	const.h misc.cc 
Log Message:
Preparation for color filter in misc.cc:show(). There's a ton of commented out
code in misc.cc at the moment. I couldn't get it to work quite right. Seems to
boggle up on the last line of output, somehow strips color from everything but
say, etc. but guess what... it does recognize and works with ^ and & color
codes.

^? Foreground color where ? is:
n N Black / Hilite Black
r R Red / Hilite Red
g G Green / Hilite Green
y Y Yellow / Hilite Yellow
b B Blue / Hilite Blue
m M Marron / Hilite Maroon
c C Cyan / Hilite Cyan
w W White / Hilite White

&? Background color where ? is:
n Black
r Red
g Green
y Yellow
b Blue
m Maroon
c Cyan
w White

Both ^ and & will take a 0 to reset to default ansi.

This stupid thing still needs a ton of work... I didn't bother to write the
"stripcode" yet for Hegemon/Non-ANSI people because I can't get the existing
stuff to work quite right.

When I finally do get it all finished though, these silly color codes can be
put anywhere (except we should prevent them in player names if they aren't
already). This means descriptions, titles, prompts, eq, helpfiles, everything
will be able to utilize them.

Perhaps someone has a tidbit of time to help me work the quirks out of this?




More information about the ScryMUD mailing list