Re: [SNIPPET] [CODE] The Mapsnippet

From: Fafhrd (
Date: 12/13/98

>I'd do these like this:
>const char *sector_symbols[] = {
>  "&Y#",
>  "&W:",                  /* Or whatever color you want to use for each of
>these */
>  "&Y*",
>  "&y.",
>  "&G*"

Bad move. If the symbols were ***, this method would send &G*&G*&G*, which
is a bit more data than the player wants. Rather, make a check for the last
color or symbol used, and see if the next one will be different. If so,
terminate old color, send new. Otherwise, just send another symbol. ie,

     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  |

This archive was generated by hypermail 2b30 : 12/15/00 PST