This is the mail archive of the
xconq7@sources.redhat.com
mailing list for the Xconq project.
Re: buildtview?
- From: Stan Shebs <shebs at apple dot com>
- To: Stanley Sutton <sutton at t-surf dot com>
- Cc: xconq7 at sources dot redhat dot com
- Date: Wed, 10 Jul 2002 09:38:04 -0700
- Subject: Re: buildtview?
- Organization: Apple Computer, Inc.
- References: <8CB7243165D750498B12F7F868535B40094822@pline2>
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