Module src/collision/

back to main page

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

Modules

[root]/src/collision

Lines of Code


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

Authors

Author Changes Lines of Code Lines per Change
Totals 61 (100.0%) 541 (100.0%) 8.8
crs23 37 (60.7%) 517 (95.6%) 13.9
timriker 23 (37.7%) 23 (4.3%) 1.0
dbrosius 1 (1.6%) 1 (0.2%) 1.0

Most Recent Commits

timriker 2002-06-04 02:00

the great ex:ing for vim and friends

23 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.

345 lines of code changed in:

dbrosius 2002-04-11 02:00

MSVC doesn't implement std::max and std::min-patch

1 lines of code changed in:

crs23 2002-04-10 22:32

First cut at collision response code. This is not integrated into the
rest of the project yet. There are, however, three test programs:
test1 does surface/surface intersection; test2 does a simulation of
colliding shapes; and test3 exercises the GJK algorithm.

172 lines of code changed in:

Generated by StatCVS 0.2.2