Module src/region/

back to main page

Summary Period: 2002-04-17 to 2002-06-04

Modules

[root]/src/region

Lines of Code


Total Lines Of Code: 3 (2006-06-28 16:28)

Authors

Author Changes Lines of Code Lines per Change
Totals 7 (100.0%) 3 (100.0%) 0.4
timriker 3 (42.9%) 3 (100.0%) 1.0
crs23 4 (57.1%) 0 (0.0%) 0.0

Most Recent Commits

timriker 2002-06-04 02:01

the great ex:ing for vim and friends

3 lines of code changed in:

crs23 2002-04-17 13:07

Introduced "regions" to bzfs. A region is a volume of space. This
change uses regions to define the location of team bases, obstacles,
and where flags can be inserted (i.e. spawned).

Regions are either a single shape (obstacles must be single shapes)
or an expression of shapes using union, difference, and intersection.
The shapes can be any type derived from Shape, currently boxes and
pyramids.

This change splits world creation and reading out of bzfs.cxx into
separate files. It also adds code to generate XML for regions from
the world then parses that XML to create the regions. The regions
are then used to insert/drop flags. This is in anticipation of
changing world files to XML.

Bases will soon no longer be obstacles but just regions where flags
can be captured. That means floating bases will need obstacles
below them for players to drive on. That also requires support for
flags on obstacles or team flags would fall to the ground. So this
change also discards the old flagsOnBuildings code (which didn't
work right anyway) and fully supports flags on buildings. It
doesn't allow flags on pyramids because it's extremely hard to grab
flags on pyramids.

0 lines of code changed in:

Generated by StatCVS 0.2.2