This is the mail archive of the xconq7@sources.redhat.com mailing list for the Xconq project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: buildtview?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]