Module src/shape/

back to main page

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

Modules

[root]/src/shape

Lines of Code


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

Authors

Author Changes Lines of Code Lines per Change
Totals 19 (100.0%) 181 (100.0%) 9.5
crs23 11 (57.9%) 173 (95.6%) 15.7
timriker 8 (42.1%) 8 (4.4%) 1.0

Most Recent Commits

timriker 2002-06-04 02:01

the great ex:ing for vim and friends

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

109 lines of code changed in:

crs23 2002-04-10 19:26

Added some 3D math stuff (a 3-vector, quaternion, plane) and modified
existing matrix and ray to work with them. Also added a linear
equation solver (using gaussian elimination with partial pivoting),
an ODE solver, and a start on collidable shapes. These changes are
mainly in anticipation of new collision detection and response code
and world regions. Also added a mathr.h file that defines macros
and functions on a floating point type that can be changed at compile
time. That type, Real, is used in the new code.
Also fixed up some bugs in field-of-view code in bzgview.
Added some linear algebra stuff, including a 3-vector (Vec3),

64 lines of code changed in:

Generated by StatCVS 0.2.2