This is the mail archive of the
xconq7@sources.redhat.com
mailing list for the Xconq project.
Re: Borders/Connections
- From: Hans Ronne <hronne at pp dot sbbs dot se>
- To: "Stanley Sutton" <sutton at t-surf dot com>
- Cc: xconq7 at sources dot redhat dot com
- Date: Wed, 24 Jul 2002 00:07:10 +0200
- Subject: Re: Borders/Connections
>From looking at the code, it appears that borders and connections are
>stored in the same layer, using the same bits. So a border and a
>connection can never exist in the same cell?
No, borders, connections (and coatings) can certainly coexist. Check out
e.g. the Roman Civil War where you have many road/river crossings. Each
auxiliary terrain type t has its own layer (notice the [t]):
#define aux_terrain_at(x,y,t) aref(area.auxterrain[t], x, y)
Hans
Hans Ronne
hronne@pp.sbbs.se