buildtview?

Stan Shebs shebs@apple.com
Wed Jul 10 13:58:00 GMT 2002


Stanley Sutton wrote:
> 
> This macro takes a terrain value, and adds one to it.  What is the
> purpose of that?  Are there two values for each terrain type, with a
> "seen" value being one less than an "unseen" value?

The value UNSEEN is 0, so we need to move seen terrain types out
of the way, and bumping up by 1 is an easy way to do this.  Note
that a side's view of terrain may be inaccurate (perhaps a forest
was secretly cleared), thus it's necessary to record a type, not
just a seen/unseen bit.

Stan



More information about the Xconq7 mailing list