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: 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



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