Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ SMAUG
➜ SMAUG coding
➜ "at_gossip" type color codes
"at_gossip" type color codes
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Zune
(76 posts) Bio
|
Date
| Sun 25 Jun 2006 08:20 PM (UTC) |
Message
| 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. | Top |
|
Posted by
| Zeno
USA (2,871 posts) Bio
|
Date
| Reply #1 on Sun 25 Jun 2006 09:36 PM (UTC) |
Message
| 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. |
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org | Top |
|
Posted by
| David Haley
USA (3,881 posts) Bio
|
Date
| Reply #2 on Sun 25 Jun 2006 09:53 PM (UTC) |
Message
| 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. |
David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone
http://david.the-haleys.org | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
11,099 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top