Module CS/libs/csengine/

back to main page

Summary Period: 1999-05-06 to 2003-07-09

Modules

[root]/CS/libs/csengine
     basic (3 files, 573 lines)
     light (6 files, 3332 lines)
     objects (1 files, 976 lines)

Lines Of Code


Total Lines Of Code: 9529 (2003-07-11 20:29)

Authors

Author Changes Lines of code Lines per change
Totals 2018 (100.0%) 43634 (100.0%) 21.6
jorrit 1156 (57.3%) 26921 (61.7%) 23.2
sunshine 189 (9.4%) 3753 (8.6%) 19.8
mgeisse 175 (8.7%) 2658 (6.1%) 15.1
bdavis 35 (1.7%) 2188 (5.0%) 62.5
res2002 34 (1.7%) 1545 (3.5%) 45.4
andyz 74 (3.7%) 968 (2.2%) 13.0
alexpf 21 (1.0%) 854 (2.0%) 40.6
wouter 41 (2.0%) 788 (1.8%) 19.2
andy 49 (2.4%) 603 (1.4%) 12.3
alexp 12 (0.6%) 408 (0.9%) 34.0
dentoid 15 (0.7%) 405 (0.9%) 27.0
thieber 35 (1.7%) 375 (0.9%) 10.7
vengeance2001 7 (0.3%) 354 (0.8%) 50.5
travis_mcintosh 3 (0.1%) 341 (0.8%) 113.6
thebolt00 15 (0.7%) 317 (0.7%) 21.1
norman 70 (3.5%) 268 (0.6%) 3.8
samuel 12 (0.6%) 257 (0.6%) 21.4
ate 1 (0.0%) 168 (0.4%) 168.0
philwyett 24 (1.2%) 130 (0.3%) 5.4
duhprey 3 (0.1%) 110 (0.3%) 36.6
acraig 1 (0.0%) 59 (0.1%) 59.0
matzebraun 11 (0.5%) 38 (0.1%) 3.4
mrsigma 4 (0.2%) 31 (0.1%) 7.7
azverkan 7 (0.3%) 30 (0.1%) 4.2
miklby 7 (0.3%) 13 (0.0%) 1.8
tulebast 1 (0.0%) 12 (0.0%) 12.0
serplord 4 (0.2%) 10 (0.0%) 2.5
uid30344 2 (0.1%) 7 (0.0%) 3.5
uid20594 1 (0.0%) 7 (0.0%) 7.0
okt 2 (0.1%) 6 (0.0%) 3.0
mlong 2 (0.1%) 4 (0.0%) 2.0
haussman 1 (0.0%) 4 (0.0%) 4.0
rbate 1 (0.0%) 1 (0.0%) 1.0
iavramov 3 (0.1%) 1 (0.0%) 0.3

Most Recent Commits

jorrit 2003-07-09 09:07

- Jorrit fixed PlaceMesh() so that it now uses
engine->GetNearbyObjects(). That makes it a lot more efficient
then the old implementation which simply traversed all objects
in the current sector.
- Jorrit added iMeshWrapperIterator to iterate over meshes.
- Jorrit added three new functions to iEngine: GetNearbyMeshes()
and two versions of GetVisibleMeshes(). These functions complement
the already existing GetNearbyObjects() and GetVisibleObjects().
Instead of returning an iObjectIterator they return an
iMeshWrapperIterator. This avoids the need to do SCF_QUERY_INTERFACE
to get the iMeshWrapper in the code using the iterator so this
can be a significant optimization.
The Get...Objects() functions will not be removed because in the
future they will also return lights.
Side note: GetVisibleObjects() and GetVisibleMeshes() are not
implemented yet.
- Jorrit changed PlaceMesh() so it uses GetNearbyMeshes() now.
- Jorrit changed Walktest collision detection code so it uses
GetNearbyMeshes().

171 lines of code changed in:

res2002 2003-06-20 16:55

Made the following changes to the new renderer system:
- Index buffers aren't treated in a special way any more now.
Just your average vertex buffer.
- Changed the internal implementation of render buffers a bit.
- Renamed stencil shadow binary to 'rlsstencil' to fit in with the
other renderstep plugins.

10 lines of code changed in:

jorrit 2003-06-20 13:28

- Jorrit fixed a bug in the region code. It didn't remove lights.

14 lines of code changed in:

jorrit 2003-06-20 12:07

- Jorrit re-added the bool resolveOnlyRegion parameter (curRegOnly) for
LoadMapFile(). Also added this for LoadLibraryFile(). This is used
in addition to the region parameter now. The region parameter on
its own only causes objects to be added to that region. The
curRegOnly parameter causes objects to be searched in only that
region (as opposed to all regions).
This fixes the -regions commandline option for walktest.

19 lines of code changed in:

jorrit 2003-06-20 11:09

- Jorrit did the following region related changes:
- Removed the concept of the current region. The engine still
manages regions but no longer knows about the current region.
- Removed engine->SelectRegion(), engine->GetCurrentRegion(),
and engine->AddToCurrentRegion().
- Added engine->CreateRegion(). This function will create a region
and add it to the region list. If the region already exists
it will simply return a pointer to that.
- Removed support for the <region> keyword in map files.
- Added optional region parameter to iLoader->LoadLibraryFile().
- Replaced boolean resolveOnlyRegion parameter in
iLoader->LoadMapFile() with a pointer to the actual region
instead.
- Changed the parser to add all objects to the current region
itself.
- Sequences, triggers, and shared variables are also put in
regions now.
- The region code now supports removing sequences, triggers, and
shared variables too.

52 lines of code changed in:

thebolt00 2003-06-17 19:37

- Marten renamed iStreamSource to iRenderBufferSource and GetBuffer to GetRenderBuffer. In the classes the terms stream and renderbuffer are mixed, from now on use just the term renderbuffer.

1 lines of code changed in:

thebolt00 2003-06-16 21:13

- Moved csRenderMesh to a new headerfile to solve circular header dependency.

4 lines of code changed in:

res2002 2003-06-15 23:11

Made the following changes to the MSVC warning suppression:
- added some missing descriptions of silenced warnings
- removed silencing of "unused variable" warning and turned
emission of "class has virtual functions, but destructor is not
virtual" on. This is the beginning of an attempt to have MSVC
emit the same warnings as GCC (as far as possible.) More tweaks
will follow over time.
Made some common functions 'intrinsic' on MSVC.
Fixed a few compiler warnings.

4 lines of code changed in:

jorrit 2003-06-13 13:41

- Jorrit added iLightingInfo->StaticLightDisconnect() so that a light
can be removed.
- Jorrit implemented iEngine->RemoveLight(). However since none
of the mesh objects correctly implement StaticLightDisconnect()
the function will not actually work even though it is fully
bugfree :-)

18 lines of code changed in:

jorrit 2003-06-13 13:11

- Jorrit added iEngine->RemoveLight() to remove a pseudo-dynamic
static lights and also automatically update all lightmaps. In case
of a static light this will not update the lightmaps unless
ForceRelight() is called later.
NOTE! Currently not implemented yet!
- Jorrit Extended iLightingInfo->InitializeDefault() with a new flag
telling the lighting sub-system if the lighting information should
be cleared or not. This allows correct handling when a single light
is added in case of genmesh and bezier curves.

16 lines of code changed in:

jorrit 2003-06-13 11:42

- Jorrit forgot to remove a parameter to the second version of
ForceRelight().

1 lines of code changed in:

jorrit 2003-06-13 11:40

- Jorrit added two versions iEngine->ForceRelight(). The first version
relights all lightmaps in the engine. The second version updates
the lightmaps for a given light (i.e. useful after adding
a static or pseudo-dynamic light).
- Jorrit fixed a problem with the engine would always attempt
to read precalc_info even if reading from the cache was disabled.
- Jorrit added a new 'addstlight' command to Walktest. This command
adds a static light and uses the new ForceRelight() function to
recalculate lighting. alt-l is assigned to this command by default.
- Jorrit fixed thing so that initializing lighting again will actually
cause the lightmaps to be updated correctly.

71 lines of code changed in:

duhprey 2003-06-12 22:33

Added missing SCF_CONSTRUCT_IBASE () in csRenderLoop constructor

1 lines of code changed in:

res2002 2003-06-11 21:45

Completed the render loop loader. This includes that the default render steps have been moved to a plugin.

45 lines of code changed in:

res2002 2003-06-06 18:29

Did further fixes related to the new shader var stuff. r3dtest now seems to run fine (for me, at least.)

6 lines of code changed in:

sunshine 2003-06-05 15:44

Eric Sunshine performed Phase Three of the elimination of the monolithic
scf.cfg:

-*- Eliminated the SCF information which was hardcoded in the .cpp files
of plugin modules, and which duplicated information in the external
.csplugin files.

-*- Plugin modules no longer maintain and export a monolithic class list.
Now, each factory implemented by the code is exported automatically.

-*- Added a new <implementation> child node to the <class> node in
.csplugin files. The value of this node is the name of the C++ class
which implements the SCF class. For instance, C++ class csVFS
implements crystalspace.kernel.vfs.

-*- Eliminated the following SCF macros which were related to exporting
SCF information from .cpp code and/or registering classes manually:

SCF_EXPORT_CLASS_TABLE
SCF_EXPORT_CLASS
SCF_EXPORT_CLASS_DEP
SCF_EXPORT_CLASS_TABLE_END
SCF_REGISTER_STATIC_CLASS_DEP

-*- Eliminated the following methods from iSCF:

RegisterStaticClass
RegisterClassList

-*- Plugin modules are now initialized/shutdown lazily as classes are
requested from them. The first time a class is requested, the plugin
is initialized. The plugin is shutdown after the last class instance
has been destroyed.

-*- Fixed bug in scf.h where SCF_PRINT_CALL_ADDRESS was not being enabled
for gcc 3.x.

-*- Fixed bug in win32.jam where GenerateExportDefs rule failed to ensure
that directory containing output file existed before creating file.
Also fixed bug where it failed to set up a dependency between the
input and output files.

-*- Still To-Do:

- Remove references to scf.cfg and scfreg from documentation. Also
document new .csplugin resources.

- Add platform-specific function to scan and locate plugins
automatically rather than using the ad-hoc approach inherited from
scanning for .scf files.

- Add platform-specific function to query a plugin's meta-information.
This should be used by SCF to do the raw extraction. Provide and
finalize API for higher-level clients to access meta-information.

- Augment static linking to work with the new facility. (Removal of
the hardcoded SCF information, has now broken static linking. It
worked until this time, even with all of the preceding changes.)

0 lines of code changed in:

res2002 2003-06-05 02:45

Modified the engine to change to the default render loop when the world-specific settings reset.
Augmented the map loader to allow setting of a <renderloop> in a map's <settings>.
Added support for render loop loading through the <addon> mechanism.
Started working on a generic render step plugin. For now just compiles, but doesn't do anything yet.

15 lines of code changed in:

okt 2003-06-05 01:54

Added the shader variable system to the new renderer,
and fixed const-correctness throughout the renderer.

6 lines of code changed in:

res2002 2003-06-04 20:29

- added Get() and Delete() methods to csHashMapReversible that
work on a key string.
- added a "render loop manager" to the engine.
- fixed some "csFooIterator::Next: recursive on all control paths,
function will cause runtime stack overflow" warnings on MSVC.
- removed iSectorRenderMeshList::GetVisible().

120 lines of code changed in:

jorrit 2003-06-04 20:23

Removed some debug info.

0 lines of code changed in:

(1091 more)


Generated by StatCvs v0.2-dev