Re: adding dir?whats this?

From: Del (caminturn@earthlink.net)
Date: 07/08/00


They are the reverse directions to normal

north = 0    reverse = 2 (south)
east  = 1            = 3
south = 2            = 0
west  = 3            = 1
up    = 4            = 5
down  = 5            = 4

Charles Erwin wrote:
>
> what are these nubmers for and what is the pattern???(came for a text for
> addign directions, im adding 2 more to it.)
>
> int rev_dir[] =
> {
>   2,
>   3,
>   0,
>   1,
>   5,
> !  4,
> +  7,
> +  6,
> +  9,
> +  8
>
>      +------------------------------------------------------------+
>      | Ensure that you have read the CircleMUD Mailing List FAQ:  |
>      |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
>      +------------------------------------------------------------+


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 04/10/01 PDT