Borders/Connections

Hans Ronne hronne@pp.sbbs.se
Tue Jul 23 15:10:00 GMT 2002


>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




More information about the Xconq7 mailing list