"at_gossip" type color codes

Posted by Zune on Sun 25 Jun 2006 08:20 PM — 3 posts, 14,315 views.

#0
Hi guys, Zune again.

I'm at a loss for knowing what in-code color codes are. For example, I'm assigning a color to a channel. An example is:

set_char_color( AT_GOSSIP, ch );

What I'm curious about is the AT_ code for the dark grey (charcoal) color.

I think it would be even more beneficial to know what the full list of colors is. Is it true that these colors are used throughout the SMAUG code? That is to say that AT_GOSSIP always stands for a particular, unchanging color throughout SMAUG.
USA #1
All the AT_ codes should be listed in color.c or color.h if you're using FUSS. It should be pretty obvious for dark grey, like AT_DGREY.
USA #2
In my codebase, things like AT_GOSSIP aren't for one particular color, but rather the color is looked up in the player's color scheme when AT_GOSSIP text is sent to them. The colors like AT_DGREY, however, are always dark grey. Generally I find it better to give players full control of their colors; it can be somewhat annoying if they see fixed-color messages in the middle of their own color scheme.