Commit Log (Page 153 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-06-07 to 2001-06-04 (Commits 5095-5144 of 12744)

jorrit 2001-06-07 14:46

Wouter Wijngaards gave the start to implementing a visibility
system for the terrfunc terrain engine and I tried to finish
it but things are not yet working. So at the moment it is
still disabled.

4 lines of code changed in:

wouter 2001-06-07 11:02

Fixed CS_ASSERT. It had a printf of the assertion, printf("..." #x ), but
if the assertion contains % signs, (perhaps even %s!), this could give serious
problems. Changed to printf(".... %s", .., #x).

2 lines of code changed in:

jorrit 2001-06-07 08:38

Update.

33 lines of code changed in:

jbit 2001-06-07 06:52

Fixed minor syntax error.

1 lines of code changed in:

mgeisse 2001-06-07 01:54

- removed DECLARE_TYPED_SCF_VECTOR(). This macro created a
subclass of csVector that was intended to store SCF objects. It was
useless because it never did an IncRef() on the contained objects, only
a DecRef().
- made iSoundWrapper a subclass of iBase
- completely rewrote csObject. It now stores a list of iObject pointers and
does not cast to csObject anymore. The reference count of contained
objects is correctly increased and decreased. In addition, a csObject
keeps a 'parent' pointer that is set when an object is added or removed,
but has no further meaning and it is not IncRef'ed / DecRef'ed either. The
user can decide how to make use of this pointer.
- The remake of csObject required some changes in the whole of CS. Mainly,
where an object was added with ObjAdd (), a DecRef to the added object
had to be done. Calls to ObjRelease() should be replaced by an IncRef()
to the object-to-release and then a RemoveObject, although there was no
such case in the current CS code.
- removed csObjectNoDel and csPObject.

54 lines of code changed in:

miklby 2001-06-06 15:55

- Removed accidental modification to ball.

81 lines of code changed in:

miklby 2001-06-06 15:17

- Moved metaball to a mesh object.
- Added meta ball loader
- Modified metasys to suit new meta ball

13 lines of code changed in:

jorrit 2001-06-06 14:54

- Added G3DRENDERSTATE_EDGES. This can be used by a 3D renderer
to enable edge drawing for debugging purposes.
- OpenGL renderer implements this debugging feature (but software
doesn't right now).
- Walktest will now enable edge drawing using this new functionality
instead of with callbacks. This means that with OpenGL the 'e'
command works again. Note that there is a difference compared
to the past. The 'e' command with OpenGL will now show the
resulting triangles that every polygon is triangulated too.

180 lines of code changed in:

sunshine 2001-06-06 11:33

Eric Sunshine implemented iGraphics2D::SetMouseCursor() in the OpenGL and
Glide BeOS drivers. (This method was already implemented in the software
driver.)

3 lines of code changed in:

jorrit 2001-06-06 11:21

- Removed support for the quadtree, coverage mask tree, coverage mask
cube, and solid tree from CS. I parked the code locally and it will
also be in the CVS attic. Some of that code (especially the 3D
quadtree) will be useful to resurrect later but at this moment
it is just confusing me :-)
- Added cs/iMovable::GetSectorCount() and also made a lot of the
functions 'const'.
- Made a number of cs/iCamera members const.
- Made a number of cs/iMeshWrapper members const.
- Made a number of cs/iMeshFactoryWrapper members const.
- Made a number of iVisibilityObject members const.
- Made a number of iMeshObject members const.
- Made a number of iMeshObjectFactory members const.
- Added 'const' to a number of mesh object implementations and
state interfaces.

225 lines of code changed in:

norman 2001-06-06 00:05

removed #ifdef DO_SOUND and replaced it with test for soundrenderer being not NULL

9 lines of code changed in:

norman 2001-06-05 23:31

removed DO_SOUND and DO_<soundformat> entries, (un)comment the PLUGINS entries instead

0 lines of code changed in:

jbit 2001-06-05 21:17

Fixed bugs in OpenGL renderer which tried to cache textures for materials without them.

15 lines of code changed in:

wouter 2001-06-05 19:20

Added mesh factory convenience functions, and a list of mesh factories
is kept by the iso engine, by name.

16 lines of code changed in:

sunshine 2001-06-05 18:34

Eliminated several compilation warnings from portal.cpp.

2 lines of code changed in:

sunshine 2001-06-05 18:02

-*- Eric Sunshine made the following changes to SCF.

- Further optimized IncRef(), DecRef(), and QueryInterface() for
embedded interface. No longer checks for non-null scfParent.
scfParent is now always assumed non-null for embedded interfaces.

- Added a new opaque type `scfInterfaceID' which represents a
registered SCF interface name. This is used in place of the bare
`uint32' which represented registered names in the past.

- Added a bunch of new macros for providing finer control over the
implementation of the standard iBase methods. These macros make it
easier to implement custom IncRef(), DecRef(), or QueryInterface()
calls while still providing automatic implementations of functions
which are not specially customized. The new macros are:

IMPLEMENT_IBASE_INCREF()
IMPLEMENT_IBASE_DECREF()
IMPLEMENT_IBASE_QUERY()
IMPLEMENT_IBASE_QUERY_END
IMPLEMENT_EMBEDDED_IBASE_INCREF()
IMPLEMENT_EMBEDDED_IBASE_DECREF()
IMPLEMENT_EMBEDDED_IBASE_QUERY()
IMPLEMENT_EMBEDDED_IBASE_QUERY_END
IMPLEMENT_IBASE_EXT_INCREF()
IMPLEMENT_IBASE_EXT_DECREF()
IMPLEMENT_IBASE_EXT_QUERY()
IMPLEMENT_IBASE_EXT_QUERY_END

These macros are now employed by the higher-level convenience macros
IMPLEMENT_IBASE(), IMPLEMENT_IBASE_END, IMPLEMENT_EMBEDDED_IBASE(),
IMPLEMENT_EMBEDDED_IBASE_END, IMPLEMENT_IBASE_EXT(), and
IMPLEMENT_IBASE_EXT_END.

- Changed the prototype for iSCF::QueryClassList() so that it no
longer returns the array of matching class names via a csVector. It
didn't seem correct for the SCF header file (scf.h) to rely on a
high-level class such as csVector considering that scf.h is intended
to be extremely bare-bones and low-level. Now the array of matching
class names is returned as a (char const**). Also rewrote and
simplified QueryClassList().

-*- Eric Sunshine worked around a nasty problem on NextStep where
csMeshWrapper and csTerrainWrapper objects were not being removed from
their containing sector(s) when either of these objects was deleted.
When a C++ object is destroyed, its destructor is invoked. After the
destructor completes, the object's `vptr' is modified to point at the
`vtbl' of its immediate superclass, and then the destructor for that
class is invoked. This process repeats until the destructors of all
superclasses are invoked. In this way, an object transmogrifies into
each of its superclasses until the raw memory for the object is
finally freed. This transmogrification into an object's superclass is
supposed to occur _after_ the destructor for the current class is
finished. Unfortunately, the NextStep compiler performs the
transmogrification immediately _before_ the destructor for the current
object is invoked. This means that virtual methods which are invoked
in an object's destructor will actually invoke methods from its
superclass instead of correctly invoking its own methods. In the case
of csMeshWrapper and csTerrainWrapper, their destructors were invoking
an engine method to remove themselves from their occupied sectors, and
those methods were invoking the virtual QueryInterface(iMeshObject)
method of each of these objects. Unfortunately, since these objects
had already been transmogrified into their superclass (csPObject) by
the time QueryInterface(iMeshObject) was invoked, they were unable to
respond with an iMeshObject (since csPObject does not implement
iMeshObject). The failure to respond with an iMeshObject resulted in
these objects not being removed from the containing sectors, which
later resulted in a crash since the objects themselves had been
deleted (thus the sectors had dangling pointers to these objects). To
work around this problem, it was necessary to invoke the code for
removing the objects from the sector(s) prior to destruction time.
This was accomplished by writing a custom DecRef() method for each
class and having that method perform the removal. Since these objects
must now be detroyed via DecRef() rather than via `delete', their
destructors were also made private.

486 lines of code changed in:

jorrit 2001-06-05 16:34

- Started cleaning everything other than the c-buffer culler from
CS engine. The rest isn't working either and is only useful for
reference (which CVS will hold). This simplifies the engine
considerably.
- Removed 'culler' command from WalkTest.

45 lines of code changed in:

jorrit 2001-06-05 15:54

Avoids the bug with levels with multiple sectors and bsp trees.
The level itself will now be rendered ok. But the bug isn't gone
for real though. Objects are still culled wrongly.

26 lines of code changed in:

wouter 2001-06-05 12:39

Fixed the isometric transform. It has a LOT less distortion now.
The cube is exactly 1x1x1 now, and you can see, while changing the view
that it stays in shape.

4 lines of code changed in:

jorrit 2001-06-05 12:20

- Added a lot of 'const' qualifiers to many functions in csEngine
and iEngine.
- Removed a few obsolete functions from iEngine having to do with
polygon texture planes.
- Added 'const' to functions in csNamedObjVector.
- Removed iSector::GetID().
- Added iObject::GetID().
- Added a lot of 'const' qualifiers to many functions in csSector
and iSector.
- Fixed a warning in keyval.

227 lines of code changed in:

jorrit 2001-06-05 09:41

- Fixed a very old bug in the OpenGL renderer. Triangle meshes as
seen through a mirror did make backface culling operate differently.
This resulted in the inside of the object being visible through
a mirror.
- Fixed another bug in OpenGL clipper with regards to mirroring.
- Added new version of csFrustum::ClipToPlane() which accepts a
general plane instead of two vertices.
- Renamed csPlane3::GetNormal() to Normal(). Also for csDPlane.
- Added csTransform This2OtherRelative() and Other2ThisRelative()
which operate on csPlane3.
- Removed a couple of csIntersect3::Plane() routines to make things
simpler.
- Did a little work on plane clipping in OpenGL renderer. It is
almost working perfectly now but there are still a few problems/bugs
here and there.
- Fixed two bugs with csPolygon3D::IsTransparent() and polygons using
MIXMODE. When such a polygon was used on a portal the portal would
not detect that the polygon was transparent and the texture would
not be drawn.
- Reduced the optimization level in linux.mak from -O6 to -O2.
This will probably not do much anyway and -O6 seems to give problems
with gcc 2.96. I hope -O2 works well enough.
- Removed 'sndload' from 'make walkall'.

507 lines of code changed in:

norman 2001-06-05 02:17

made the interface variables private

6 lines of code changed in:

norman 2001-06-05 02:13

missed a few G2D's

3 lines of code changed in:

norman 2001-06-05 01:52

eliminated use of internal system variables

142 lines of code changed in:

philwyett 2001-06-05 01:12

Fixed output of individual clipper test eliments under VC.

Was using printf (which does not output) and now uses
SysPrint (MSG_INITIALIZATION, "...");, which does.

2 lines of code changed in:

norman 2001-06-05 01:12

missed Console variable

6 lines of code changed in:

norman 2001-06-05 00:17

eliminated use of system variable (as far as possible)

97 lines of code changed in:

norman 2001-06-04 23:57

added funcid

1 lines of code changed in:

norman 2001-06-04 23:37

added funcid

1 lines of code changed in:

norman 2001-06-04 23:32

added funcids

2 lines of code changed in:

norman 2001-06-04 23:27

added funcid

2 lines of code changed in:

norman 2001-06-04 23:25

added funcids

11 lines of code changed in:

norman 2001-06-04 23:19

added funcid

1 lines of code changed in:

norman 2001-06-04 23:06

eliminated use of system variables

14 lines of code changed in:

norman 2001-06-04 22:03

eliminated use of internal system variables

29 lines of code changed in:

norman 2001-06-04 21:33

eliminated use of system internal variables

31 lines of code changed in:

wouter 2001-06-04 21:31

- Fixed the transform for iso mesh objects. The current transform causes
MUCH less disforming than the previous. The secret to this is by
not translating 0,0,minz, but by -minz*3/4, -minz/4, +minz/4.
Which is soooo obvious...
- fixed potential mesh lighting problems.
- adjusted the fountain to look nicer (a bit wider).

1 lines of code changed in:

norman 2001-06-04 21:23

eliminated use of internal system variables

30 lines of code changed in:

norman 2001-06-04 21:13

removed use of system variables

94 lines of code changed in:

norman 2001-06-04 20:35

eliminated use of G3D variable

18 lines of code changed in:

norman 2001-06-04 19:50

iGraphics3D is now query_plugin'ed

16 lines of code changed in:

norman 2001-06-04 19:28

after Eric fixed the imgplex.cfg install problem i now remove it completely since imgplex.cfg no longer exists :)

0 lines of code changed in:

norman 2001-06-04 19:11

removed the unneeded query for iVFS, don't no why i coded it in in the first place, probably to hog the system a bit

10 lines of code changed in:

norman 2001-06-04 19:09

removed entries for soundloaders other than multiplex
removed imgplex.cfg, its no longer needed

0 lines of code changed in:

norman 2001-06-04 19:07

image multiplexer now uses QueryClassList

14 lines of code changed in:

norman 2001-06-04 18:56

sound loader multiplexer now uses QueryClassList to dtermine the list of soundloaders to use

22 lines of code changed in:

norman 2001-06-04 18:54

added QueryClassList to scf

21 lines of code changed in:

norman 2001-06-04 18:54

added QueryClassList to the scf interface

11 lines of code changed in:

mgeisse 2001-06-04 18:11

removed the now unused 'old' RTTI system

4 lines of code changed in:

sunshine 2001-06-04 17:11

Eric Sunshine made the following changes to the project:

-*- Fixed the makefile `install' target so that it now takes the makefile
variable $(OUTDLL) into account when installing plugin modules.
Plugin modules are now installed into $(INSTALL_DIR)/$(OUTDLL) when
$(OUTDLL) exists, rather than $(INSTALL_DIR)/lib.

-*- Worked around a very nasty problem where the `install' target would
try to build out-of-date or missing plugin modules using the wrong
commands! It would try building these modules using with the commands
to build a static library. This problem was caused by the
`install_all' target depending upon the generated plugin module files.
Plugin modules must be built with the makefile variable MAKE_DLL set
to `yes', yet, unfortunately, by the time the `install_all' target
runs, it is already too late to set that variable. Furthermore, there
is no way to individually set that variable for each out-of-date or
missing plugin module which must be built. There is no simple
solution to the problem of MAKE_DLL=yes not being set at the time that
`install' runs, thus for now, I modified the `install' target so that
it no longer depends upon the generated plugin module files. It will
still try to install all of the plugin modules, but it will no longer
automatically build out-of-date or missing ones.

-*- Fixed several problems with the new sound loader plugin makefiles.

-*- Fixed a bug in imgplex.mak where it neglected to install its
imgplex.cfg configuration file.

-*- Fixed a bug in csws.mak where it neglected to install its csws.cfg
configuration file.

-*- Fixed the Apple/NeXT ports so that they are now capable of finding
their plugin modules based upon the setting of the CRYSTAL environment
variable.

93 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