Commit Log (Page 172 of 255)

back to main page

Pages: << Previous 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 Next >>

Summary Period: 2001-02-21 to 2001-02-17 (Commits 4145-4194 of 12744)

jorrit 2001-02-21 16:13

- Added iMeshObject::GetShapeNumber(). Using this number one can
check if the object has changed shape enough so that the maximum
bounding box is no longer valid. All mesh object plugins implement
this function now.
- Added a similar iMovable/csMovable::GetUpdateNumber() which serves
the same function but is updated when the object moves (i.e.
in movable.UpdateMove()).
- Extended iVisibilityObject with GetShapeNumber(). Implementations
should call GetShapeNumber() on the underlying object.
- csThing no longer implements iMovableListener. I reimplemented this
using the GetShapeNumber() and GetUpdateNumber() above.
- csThing now implements iMeshObject. The implementation is not
yet working though.
- csThing now implements iMeshObjectFactory.
- Extended iRenderView with AddedFogInfo(), GetThisSector(),
GetPreviousSector(), GetFrustum(), and SetFrustum().
- Extended iSector with GetID() and HasFog().
- Extended iCamera with GetFarPlane() and SetMirrored().
- Added csPoly2D::ClipAgainst() which accepts iClipper2D instead
of csClipper.
- Added iClipper2D::ClipInPlace().
- Added iEngine::IsPVS().
- Fully changed csThing so that it now uses iRenderView instead
of csRenderView. This will help to move to a plugin later.
- Added new constructor to csPlaneClip which accepts a csPlane3.
- Changed csCurve::GetScreenBoundingBox() to use iCamera instead
of csCamera.
- Note that these changes break CAMERA things and reflecting
portals. Not sure why yet.

587 lines of code changed in:

sunshine 2001-02-21 14:48

Eliminated a couple `hbox' warnings reported by TeX for the Texinfo
documentation.

7 lines of code changed in:

sunshine 2001-02-21 14:16

Eric Sunshine renamed WalkTest's configuration file from cryst.cfg to
walktest.cfg. Updated all documentation, source code, and other
references to reflect this change.

213 lines of code changed in:

sunshine 2001-02-21 12:54

Eric Sunshine made the following changes to the project:

-*- Resolved a circular reference problem between the system driver and
the VFS plugin. The actual problem was that the VFS plugin was
utilizing the new configuration manager module even though it should
not have been doing so. There are a couple of reasons why utilization
of the configuration manager by VFS was problematic. First, this
introduced an unwanted circularity since the configuration manager and
the VFS plugin each relied upon the services of the other. Second, it
does not make sense for the VFS plugin to utilize the configuration
manager at initialization time since the VFS plugin is loaded very
early in the application start-up sequence. In fact, it is loaded
before any other configuration files have been loaded (indeed, all
other configuration files are typically loaded from a VFS volume; thus
this was a chicken-and-egg issue). Now the VFS plugin manually loads
its own configuration file (vfs.cfg) rather than relying on the
configuration manager mechanism. In the future, we should introduce
some new API into the VFS plugin which allows an application to
override or augment the initial configuration from vfs.cfg. This will
allow a client application to provide its own VFS.Mount settings if
desired. Also note that when this API is finally added it should be
in the form of a method in the VFS plugin which is invoked by the
client application (or system driver) and that method should accept an
iConfigFile* as its argument. The VFS plugin can then query this
configuration object for the desired information. There is no need to
re-introduce any circularity with iConfigManager.

-*- Converted several modules to use the new configuration manager which
were missed by Martin when he made his conversion sweep through the
project.

-*- Modified all makefiles project-wide so that the individual `clean'
targets (such as `softclean', `x2dclean', etc.) no longer remove the
dependency information (.dep files). In theory, having a module's
`clean' target remove the .dep file was a sensible idea, however in
actual practice, it turned out to be quite obnoxious to lose
dependency information each time an individual module's `clean' target
was invoked. You can still remove dependency files by invoking one of
the standard and existing targets `cleandep' or `distclean'.

92 lines of code changed in:

philwyett 2001-02-20 21:49

quick addition to batch file

1 lines of code changed in:

mgeisse 2001-02-20 21:35

added documentation for the config manager system

33 lines of code changed in:

wouter 2001-02-20 21:26

Fixed config call in opengl x2d canvas. (though opengl does not work for
me on linux now...)

1 lines of code changed in:

mgeisse 2001-02-20 20:55

moved system driver specific configuration to system.cfg (except the list
of plug-in modules); moved simple console specific configuration to
simpcon.cfg

19 lines of code changed in:

mgeisse 2001-02-20 20:33

moved engine-specific config keys to CS/data/config/engine.cfg

25 lines of code changed in:

mgeisse 2001-02-20 19:13

changed the following in the config system:
- plugins using a private config file now use the config manager
- renamed iSystem::CreateConfig to iSystem::CreateINIConfig
- renamed iSystem::CreateConfigNew to iSystem::CreateSeparateConfig

63 lines of code changed in:

wouter 2001-02-20 16:38

A big speed improvement in procedural sky. Demosky is friendlier now,
displaying a help line, and you can toggle the sky animation/recalculation.
procedural sky is faster, since the scaling is now done in advance,
perhaps the quality improved too.

22 lines of code changed in:

jorrit 2001-02-20 16:28

- Cleaned up sector.h and removed some of the obsolete fields.
- Removed sector argument from csSector::Prepare().

126 lines of code changed in:

jorrit 2001-02-20 15:56

- Added useful defaults for some of the fields of the explosion plugin
so that it doesn't crash when those fields are not set.
- Moved 'initialized' flag from specific particle systems to the
general particle system code. If a material is now set initialized
will be reset to false so that the particle system is reinitialized.
- Changed the way that iMeshObject::GetObjectBoundingBox() works.
Instead of the 'accurate' flag there is now a 'type' flag which
has three possible values:
- CS_BBOX_NORMAL: get a normal bounding box which
may or may not be recalculated depending on the changing
geometry of the object.
- CS_BBOX_ACCURATE: get a totally accurate bounding
box. Not all plugins support this. Some will just return
a normal bounding box.
- CS_BBOX_MAX: get the maximum bounding box
that this object will ever use. For objects that don't have a
preset maximum bounding box this just has to be a reasonable
estimate of a realistic maximum bounding box.
- Modified all mesh object plugins for this change.
- Changed csMeshWrapper so that the GetObjectBox() function in
the iVisibilityObject implementation returns the CS_BBOX_MAX
bounding box from the mesh.
- Added a 'meshes' target to the makefile to compile all mesh
object and loader plugins at once.
- The changes above 'fix' the particle systems from being invisible
when used with the visibility culler but the fix is far from
perfect. This needs a small design change.

70 lines of code changed in:

norman 2001-02-20 12:20

added destructor

2 lines of code changed in:

norman 2001-02-20 12:20

added destructor which decrefs iengine

5 lines of code changed in:

wouter 2001-02-20 10:58

Applied fix to demosky as suggested by Seth Galbraith. This fixed the
crackes in the skydome. It aligns perfectly now.

22 lines of code changed in:

sunshine 2001-02-20 09:48

Automated Texinfo @node and @menu repair.

1 lines of code changed in:

sunshine 2001-02-20 07:40

Eric Sunshine resolved several compilation problems on MacOS/X which were
reported in a series of build-logs sent by Travis McLane
<tmclane@swt.edu>.

-*- Several AppKit and Foundation headers needed to be imported into
various source files. In the past, these headers got pulled in by
other system headers which were already being imported, but this is no
longer the case as of MacOS/X.

-*- NSDPSContext was replaced by NSGraphicsContext. The code now
conditionally references the correct class depending upon platform.
Also centralized the graphics context flushing mechanism into
NeXTDelegate.m since it is needed from a couple different places.
Added a new extension to NeXTSystemDriver::SystemExtension() named
"flushgraphicscontext".

13 lines of code changed in:

jorrit 2001-02-20 06:43

Update.

5 lines of code changed in:

sunshine 2001-02-20 06:09

Eric Sunshine made the following documentation-related changes to the
project:

-*- Performed a major update to the Apple/NeXT documentation in the user's
manual.

o Overhauled to reflect all the recent major work done to the
Apple/NeXT ports.

o Now mentions new (untested) MacOS/X port.

o Added and updated resource URLs.

o Reworked port-specific file-description section. Now takes into
account recent distillation of Objective-C++ into pure C++ and pure
Objective-C.

o Discusses new CrystalSpaceRoot and CrystalSpaceRootIgnore defaults.

o Added key-mapping discussion for NextStep.

o Added several new To-Do and Bugs items to the `NeXT Notes' section.

o Many other clarifications and enhancements.

-*- Updated the BeOS-specific documentation in the user's manual.

-*- Repaired a significant number of TeX formatting problems which were
recently introduced into the Texinfo source files.

-*- Converted several of the map2cs tutorial EPS images back to gray scale
so that they will look nicer in typical printed output. They also
display correctly once again on NeXT.

2 lines of code changed in:

sunshine 2001-02-20 04:01

Eric Sunshine made the following documentation-related changes to the
project:

-*- Performed a major update to the Apple/NeXT documentation in the user's
manual.

o Overhauled to reflect all the recent major work done to the
Apple/NeXT ports.

o Now mentions new (untested) MacOS/X port.

o Added and updated resource URLs.

o Reworked port-specific file-description section. Now takes into
account recent distillation of Objective-C++ into pure C++ and pure
Objective-C.

o Discusses new CrystalSpaceRoot and CrystalSpaceRootIgnore defaults.

o Added key-mapping discussion for NextStep.

o Added several new To-Do and Bugs items to the `NeXT Notes' section.

o Many other clarifications and enhancements.

-*- Updated the BeOS-specific documentation in the user's manual.

-*- Repaired a significant number of TeX formatting problems which were
recently introduced into the Texinfo source files.

-*- Converted several of the map2cs tutorial EPS images back to gray scale
so that they will look nicer in typical printed output. They also
display correctly once again on NeXT.

10035 lines of code changed in:

norman 2001-02-20 02:28

cleaned up unresolved externals for meshes/loaders/factories

2 lines of code changed in:

mgeisse 2001-02-19 22:23

fixed a bug in the config loader

5 lines of code changed in:

jorrit 2001-02-19 20:14

Did some cleanup on thing.h

295 lines of code changed in:

norman 2001-02-19 18:52

GetNumberThings -> GetNumThings

8 lines of code changed in:

norman 2001-02-19 18:50

changed GetNumberThings to GetNumThings (this is used in iSector and others are named similar, e.g. GetNumPolygons, GetNumWhoKnowsWhat)

1 lines of code changed in:

norman 2001-02-19 18:31

switched to iConfigManager

2 lines of code changed in:

sunshine 2001-02-19 17:28

Eliminated several compilation warnings from MSVC (reported by Martin
Geisse) in sft3dcom.cpp and avistrv.cpp about variables possibly used
uninitialized.

5 lines of code changed in:

wouter 2001-02-19 16:42

Prob. fixed a bug, GetNumberSkies() now returns skies.Length() instead
of things.Length().

1 lines of code changed in:

wouter 2001-02-19 16:40

Fixed compile error - add friend struct eiSector line in sector.h.

1 lines of code changed in:

jorrit 2001-02-19 16:24

- Fixed a bug in csMeshWrapper::SetMeshObject().
- Fixed a bug in csMovable. The parent reference should not
be incref'ed/decref'ed as that creates a circular reference.
- Fixed a bug in the handling of iMovable by csMeshWrapper. This
caused simple to crash at exit.
- Fixed an additional bug in simple which would cause another
crash at exit.
- Fixed a bug in WalkTest. If you pressed the mouse button WalkTest
would just continue going forward even after releasing it again.
Bug fixed by Navdeep S. Tinna.
- Added iMovableListener interface instead of the
csMovableListener callback function.
- csThing now implements iMovableListener.
- Added GetEngineMode() to iEngine.
- Added GetVisibilityCuller() to csSector and iSector.
- csThing and csMeshWrapper now implement iVisibilityObject.
- Made all the object vectors in csSector private and added
accessor functions to add or remove objects from them. The
reason for this is that the sector may want to do extra processing
on the objects (like registering them to the culler for example).
These are the accessor functions that are added:
- AddMesh, UnlinkMesh, GetNumberMeshes, GetMesh(1), GetMesh(2).
- AddThing, UnlinkThing, GetNumberThing, GetThing(1)
- AddSky, UnlinkSky, GetNumberSkies, GetSky(1)
- AddCollection, UnlinkCollection, GetNumberCollections,
GetCollection(1), GetCollection(2).
- UnlinkLight, GetNumberLights, GetLight(1), GetLight(2).
- AddTerrain, UnlinkTerrain, GetNumberTerrains,
GetTerrain(1), GetTerrain(2).
- Fixed all the CS apps to work with the above functions.
- Optimized csMovable::SetSector() so that it does not do anything
if the object is already in that sector.
- Removed 'owner' from csPolyTreeObject since it is actually not
used and we will not be able to give it anyway with the new
system.
- Removed the csPolyTreeObject's from csThing and csMeshWrapper.
This is now the responsibility of the visibility culler.
- Continued working on the visibility plugin system. It is now
working mostly. The next step will be to really seperate it
more cleanly from the engine. Note that there are still bugs
in the vis system. It sometimes says something is invisible
when it is visible.
- Fixed crasher in phyztest.

1038 lines of code changed in:

mgeisse 2001-02-19 15:57

fixed a compilation error in the demosky application

4 lines of code changed in:

mgeisse 2001-02-19 12:46

modified the system driver to use the config manager as its main config
object. Currently the manager uses the application config as its dynamic
config, but no other config files. So this modification should not change
any behaviour.

24 lines of code changed in:

wouter 2001-02-19 12:22

Procedural sky can now run in a special non-animated mode, where no
recalculation is performed (well, it is rendering only once in the first
frame), Demosky now has huge fps.

7 lines of code changed in:

mgeisse 2001-02-19 00:36

added some missing 'volatile' keywords to the waveout driver

3 lines of code changed in:

jorrit 2001-02-18 20:47

- Added new flags for things: CS_ENTITY_ZFILL to use Z-fill instead
of Z-buffer for rendering, CS_ENTITY_INVISIBLE to not render at
all, CS_ENTITY_NOSHADOWS for not casting shadows,
CS_ENTITY_NOLIGHTING to disable lighting, CS_ENTITY_NOBSP
to exclude this object from bsp or octrees, and CS_ENTITY_BACK2FRONT
to render this object back to front (together with objects in
the same render order queue).
- Removed 'use_z_buf' parameter to csThing::Draw(). This is now
controlled with the CS_ENTITY_ZFILL flag.
- Sky objects automatically get the CS_ENTITY_ZFILL flag.
- Added support in the thing loader for the flags INVISIBLE, ZFILL,
NOSHADOWS, NOLIGHTING, NOBSP, and BACK2FRONT.
- Added 'shadow_thing_mask' and 'shadow_thing_value' to csFrustumView.
Every thing that is processed will be tested against this flag.
If it matches it will be used for shadow generation. Otherwise
not. The lighting routines will set these values so that
only things which have CS_ENTITY_NOSHADOWS NOT set will generate
shadows. This is for csSector::CheckFrustum().
- Added 'process_thing_mask' and 'process_thing_value' to
csFrustumView. Every thing that is processed will be tested
against this flag. If it matches CheckFrustum() will recursively
call itself for this thing too. The lighting routines will set
these values so that only things which have CS_ENTITY_NOLIGHTING
NOT set will be further processed.
- Removed a lot of the obsolete tokens in csparser.
- Fixed a bug in csThing::MergeTemplate(). The function did not
correctly copy the flags from the template to the thing.
- Started a VERY fundamental change in the engine. The sector will
no longer inherit from csPolygonSet and will thus no longer be
able to hold polygons. A sector is simply a container of objects.
The outer walls of a sector can be created using a thing object.
- Finally removed the very old and ugly obsolete ROOM and SIXFACE
statements from the loader. Old levels will no longer be supported.
- csSector is now properly seperated from csPolygonSet. Sectors
no longer contain polygons.
- Added csEngine::CreateSectorWalls() which is a conveniance
function that will create the thing which is supposed to
contain the convex outline of the sector. This function is added
to make it easier to convert old code that adds polygons to the
sector to new code where the same polygons are added to the
'outline thing'.
- Added iSector and csSector::CalculateSectorBBox() to calculate the
bounding box of all objects in a sector (mesh objects and things
currently).
- Rain and snow console commands in WalkTest now use
CalculateSectorBBox() to calculate the bounding box for the
particle system.
- Moved support for SKYDOME command in csloader to the thing
loader instead of the sector loader.
- Removed iPolygonSet and put all functionality in iThing.
- Removed all the Dumper::Memory() functions. They were incorrect,
difficult to maintain and almost impossible to correctly implement
with all the geometry moving to plugins.
- Removed the class csPolygonSet and moved all functionality to
csThing.
- Renamed csPolygonSetBBox to csThingBBox.
- Moved the octree from csSector to csThing. Added
csThing::BuildStaticTree() to create this tree.
- Changed the implementation of csSector::UseStaticTree() so that
it will now call BuildStaticTree() for all things having the
CS_ENTITY_VISTREE flag set. At this moment only one such thing
will be properly handled by csSector (at least what visibility
is concerned). In the past the octree was built for all things
which were then merged into one big thing. Now the tree is
built on one thing alone.
- Added new CS_ENTITY_VISTREE flag for csThing which means this
thing will get an octree. Removed CS_ENTITY_NOBSP flag which is
no longer useful now. Added 'VISTREE' flag for loader and
removed 'NOBSP' flag.
- csPolygonTree (octree and bsp trees) are now attached to a csThing
instead of a csSector.
- Removed support for 'BSP', 'LIGHTX', 'ACTIVATE', 'TRIGGER',
and 'MAX_TEXTURES' statements in the loader. These have been
obsolete for a long time.
- Added support for parts in things. In the loader it is now possible
to define a thing which contains parts. This is mainly
useful for the representation of the static thing as you can
then still maintain a logical division of the static thing into
seperate sub-things. Note that at this moment the engine doesn't
keep track of the logical units. It is simply the loader that
allows this syntax. A 'PART' is completely similar to a THING
except that it can only occur as part of another THING or PART
and that it has no engine representation (at the moment). All
part's in a thing are simply merged.
- Updated all CS apps to work with all the recent changes.
- csThing is now responsible for drawing its own static tree if
it has one.
- Started work on iVisibilityCuller and iVisibilityObject. Using these
two SCF interfaces it will be possible to seperate visibility
culling logically and physically from the engine itself.
Objects that implement iVisibilityCuller know how to test visibility
for objects. The visibility culler will work with objects that
implement iVisibilityObject. This will eventually make it
possible to plug in other visibility systems into CS without
changing the engine. This system is not yet working.
- Extended iMovable and csMovable with a list of movement listeners.
A movement listener is some other object that is interested
in hearing whenever the movable changes (i.e. the object moves).
This will be used for visibility testing. The visibility culler
will add itself as a listener to the movable of the objects it
wants to test.

2827 lines of code changed in:

jorrit 2001-02-18 20:02

Update.

6 lines of code changed in:

sunshine 2001-02-18 18:24

Fixed several Texinfo mark-up errors in the User's Manual.

15 lines of code changed in:

sunshine 2001-02-18 16:17

Added an ugly (and hopefully temporary) OpenStep/Sparc hack to pol2d.cpp to
work around "local relocation entries in non-writable section" linkage
errors.

3 lines of code changed in:

sunshine 2001-02-18 15:19

Worked around a bug in the OpenStep compiler which was triggered by
cfgmgr.cpp. The problem is that the compiler creates unlinkable code when
an inline method invokes a second inline method which the compiler has not
yet seen.

14 lines of code changed in:

sunshine 2001-02-18 13:27

Eric Sunshine made the following changes to the project:

-*- Fixed a problem on MacOS/X Server 1.0 (Rhapsody) where a system header
was defining a macro named Free(). Unfortunately, this macro was
conflicting with several Crystal Space classes which have methods
named Free(). This problem only manifested when certain facilities
were requested via the SYSDEF_* macros and <libc.h> was imported.

-*- Fixed the default setting of INSTALL_DIR in install.mak so that it now
works correctly with the GNU make shipped with MacOS/X Server 1.0
(Rhapsody).

-*- Changed next/csosdefs.h so that it only fakes up the strdup() function
on OpenStep and NextStep. It is no longer faked up for MacOS/X or
MacOS/X Server 1.0 (Rhapsody).

20 lines of code changed in:

sunshine 2001-02-18 09:32

Eric Sunshine made the following changes to the project:

-*- Eliminated a compilation warning in levtool.cpp on BeOS.

-*- Finished the conversion of the Glide 3D driver to the new
configuration file system. This conversion had been started
by someone else previously, but was incomplete.

-*- Fixed g2dtest.cpp so that it now explicitly closes the iGraphics2D
context which it creates (much like the 3D context is explicitly
closed by 3D applications).

-*- Began updating the documentation for the Apple/NeXT port:

- Mentions new (untested) MacOS/X port.
- Major changes in code and file organization.

79 lines of code changed in:

sunshine 2001-02-18 06:16

Eliminated a compilation error in cfgfile.cpp on BeOS.

2 lines of code changed in:

sunshine 2001-02-18 05:25

Defined missing DESCRIPTION.OS.beos variable in lib/cssys/beos/beos.mak.

3 lines of code changed in:

norman 2001-02-17 18:38

changed test for NASM slightly, also removed writing of entry NASM=nasm

3 lines of code changed in:

norman 2001-02-17 18:34

changed NASM variable to NASM.BIN because NASM is an environment variable used by nasm itself, if the env.var was set nasm emmitted an error about to many input files

2 lines of code changed in:

mgeisse 2001-02-17 18:27

fixed a bug in the pysimp application

2 lines of code changed in:

mgeisse 2001-02-17 17:41

removed two unused options from cryst.cfg

0 lines of code changed in:

mgeisse 2001-02-17 17:36

corrected the description of OpenGL links in the win32 docs

2 lines of code changed in:

mgeisse 2001-02-17 17:34

changed the VFS documentation to deal with the new config format

63 lines of code changed in:

Pages: << Previous 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 Next >>


Generated by StatCvs v0.2-dev