Commit Log (Page 142 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-07-16 to 2001-07-09 (Commits 5645-5694 of 12744)

wouter 2001-07-16 14:05

Fixed potential bug in GetCell for Grids.

2 lines of code changed in:

wouter 2001-07-16 13:07

Debug commit. opengl bug is visible now, with minimum addition.

28 lines of code changed in:

wouter 2001-07-16 13:04

Fixed another bug in iso engine, cells can now be emptied correctly.

4 lines of code changed in:

wouter 2001-07-16 12:20

Fixed a bug which caused empty grids to crash lighting.

2 lines of code changed in:

jorrit 2001-07-16 11:33

- Fixed pseudo-dynamic lighting again (broke it yesterday).
- New lighting system starts to work good enough so that I
now removed the old system. There are still a few small problems
with lighting but it does look a lot better than the old system.
Also the new system doesn't support warping portals yet.
- Significantly cleaned up the iFrustumView code by removing all
lighting specific stuff.
- Cleaned up new lighting system and CheckFrustum() a little more.
- Added iLightingProcessInfo interface. A callback for a null-portal
can query this interface from the userdata in iFrustumView to
get information about the light that is being processed.
- Fixed a small bug in the first simple tutorial (documentation
only).
- Fixed curve static and dynamic lighting so it is correct with
space warping portals.
- Fixed a memory leak in curve code.
- Added -lightqual commandline option to influence the quality of
lightmap generation. By default this is equal to 3 which is rather
good. Higher values give better quality but then calculation takes
a LOT longer. I would not go beyond 4 or 5 really. Lower quality
values are a lot faster to calculate but don't look as nice. 2
is still good but below that it starts getting ugly (but fast) very
soon.
- Also added equivalent Engine.Lighting.LightmapQuality config option
(in data/config/engine.cfg) which holds the default for this setting.

502 lines of code changed in:

miklby 2001-07-16 03:48

- simplept: Backing out last nights changes.

18 lines of code changed in:

miklby 2001-07-15 15:54

- simplept: Changed this tutorial to use the
inbuilt water procedural texture.

- walktest: Very slight change to walktest to
clip the 2d window closer to the 3d window.
Also added CS_DEBUG check to disable before-
the-edge testing when in optimize mode. It
should make walktest a little more presentable
during demonstrations.

- sprite3d: Modified HitBeamObject() to do a
full scan of a mesh. This now returns the
first intersecting triangle in a mesh. This
is slower, but at least it is closer to
correct.

47 lines of code changed in:

philwyett 2001-07-15 09:36

Removed following piece of old glide stuff.

#define CS_GLIDE_2D_DRIVER "crystalspace.graphics2d.glidewin"

0 lines of code changed in:

miklby 2001-07-15 07:17

- Graph2D: Fixed procedural texture clip problem
( introduced by my last patch ). DrawPixeln()
now checks upto and including the bouding box
values.

- 2D drivers ( Mac, linux, OS/2, opengl ): Corrected
SetClipRect() to set the correct parameters for
the clipper.

- awsmdg.cpp: Changed SetClipRect() call to fix
out of bounds setting ( 639, 479 ) instead of
( 640 x 480 ).

- graph2d: Did a general audit of all drawing
routines, some context problems found with
csRect and DrawBox(), however, the new clip
settings seem to prevent invalid pixels being
draw.

8 lines of code changed in:

philwyett 2001-07-15 03:27

Added::

#pragma inline_depth (255)
#pragma inline_recursion (on)
#pragma auto_inline (on)

This works round MS's default implementation of the
"inline" keyword in MSVC and makes the compiler
do a true "inline" when we ask for "inline".

4 lines of code changed in:

miklby 2001-07-14 08:07

- Sprite3D: Improved GetRadius() a little to provide
the center of the bounding box as a radius center.

- BugPlug: Quick and dirty Hack on HitBeam() debug
command to work on mouse button 1 as well as mouse
button 3. Not all platforms have multiple mouse
buttons ( ie Mac ). This is to aid the debugging
of the graph2d driver on all platforms.

8 lines of code changed in:

neverjade 2001-07-13 20:07

Fixed small potential bug in PeekFirstItem, in case the first item does not exist.

4 lines of code changed in:

neverjade 2001-07-13 20:06

1. Added aws_debug const bool for turning on and off printf output in key areas.

5 lines of code changed in:

neverjade 2001-07-13 20:05

1. Fixed Consume bug, where consume was deleting the items at the wrong time, and keys weren't getting consumed properly. Consume and lookup now works 100%.

2. Fixed a couple of other functions to work properly with the circular nature of csDLinkList.

108 lines of code changed in:

miklby 2001-07-13 16:37

- linex2d, x2d, common/graph2d.cpp: Decreased width and height
of clipping rectangles by 1. Since the screen is represented
by an array that starts at (0,0), trying to access pixel
(*, height), was out of bounds causing a segfault in the
2d driver. All widths and heights of clipping rectangles
should be height - 1 and width - 1. This is due to the
clipper protecting a pixel array.

2 lines of code changed in:

neverjade 2001-07-13 16:06

More interface updates.

6 lines of code changed in:

neverjade 2001-07-13 16:06

1. Changed csDLLinkList in awsKeyContainer to csBasicVector
2. Fixed circular list bugs in FindWindowDef and SelectDefaultSkin.

115 lines of code changed in:

jorrit 2001-07-13 15:07

Update.

6 lines of code changed in:

jorrit 2001-07-13 15:04

- Removed a hard-coded limit to the number of lightmaps that
can be affected by a pseudo-dynamic light. This used to be
2000 but I implemented this by using a csVector now.
- Changed the callback functions in iFrustumView with an additional
'vis' parameter. This means that those functions will now also
be called when a polygon or curve is totally shadowed. In this
case 'vis' will be set to false.
- Continued working on the new lighting system. It is almost
starting to work now. But the last straw is always the most
difficult one :-) It is still not enabled by default.

136 lines of code changed in:

miklby 2001-07-13 12:06

- Bugplug: Added NULL assignment to poly ( line 274 ).
This was allowing bugplug to use an unassigned Polygon3D
pointer.

- Terrfunc: Remvoed unecessary increment from hit beam.

1 lines of code changed in:

wouter 2001-07-13 11:37

Made isogrid more resistant against overflows.

8 lines of code changed in:

neverjade 2001-07-12 21:47

Various interface updates to sync the interfaces with the implementations.

24 lines of code changed in:

neverjade 2001-07-12 21:46

1. Fixed parser to allow RGB values like:

Highlight: 255,255,0

2. Added in Get/SetColor and SetPalette to awsPrefs for global colors.
3. Fixed the color indexes, made them into an enum.
4. Fixed silly problem where the canvas wasn't drawing properly.

237 lines of code changed in:

mgeisse 2001-07-12 16:25

added a description of my recent changes to iSprite3DFactory to apimod19.

23 lines of code changed in:

jorrit 2001-07-12 16:23

Fixed another related bug in isotest maze generator.

2 lines of code changed in:

jorrit 2001-07-12 16:23

Fixed a bad bug in the isotest maze generator. However the way
the maze is used now it will not cause harm since width==height.

3 lines of code changed in:

jorrit 2001-07-12 16:02

Changed the shadow caster not to cast shadows from meshes with
the CAMERA option set.

4 lines of code changed in:

jorrit 2001-07-12 14:41

- Added iPolygon3D::GetPolygonID ().
- Extended BugPlug to show the name and ID of the selected polygon.
BugPlug will also dump some additional information to debug.txt.
- Worked further on the new lighting system. It starts to work
mostly now but there is still a lot to do. Quality is less that
optimal now and so is speed.
- Prepared some classes in csThing in order to be able to generate
an edge table so that adjacent polygons can be easily detected.
Unimplemented at the moment.

149 lines of code changed in:

philwyett 2001-07-12 02:23

Fixed some struct vs. class mismatches.

2 lines of code changed in:

neverjade 2001-07-12 00:02

Small change in the addition of SetContext and SetDefaultContext to the interface.

16 lines of code changed in:

neverjade 2001-07-12 00:01

Lots of little changes so that it works better in the "real world"

AWS now assumes that it will be loaded as a plugin, and during initialization it finds and loads the default bundled preference manager. The user no longer has to do this separately. You can, however, replace that preference manager with a totally different one if you so desire.

A couple of tweaks, also added color definitions for standard UI items like highlights and shadows. The preference manager will automatically look those up for you and keep track of them so that components don't need to query the texture manager. This also lets you make global UI color changes at any time.

Colors are specified in skin definitions, and MUST BE PRESENT. Alternatively, the system may provide default values for missing color keys.

-={C}=-

89 lines of code changed in:

mgeisse 2001-07-11 19:00

changed the following for 3d sprites:
- removed GetTexelCount() and GetNormalCount() for 3d sprite factories. As
there is always the same number of vertices, normals and texels,
GetVertexCount() should be used instead.
- made GetVertex(), GetNormal() and GetTexel() return 'const' references. To
change these objects, corresponding Set*() functions have been added.
- removed the 'count' parameter from SetVertices(), SetNormal() and
SetTexels(). These functions assumed that 'count' is always equal to the
current number of vertices, therefore it was not needed as a parameter.

136 lines of code changed in:

jorrit 2001-07-11 15:58

Removed some debug info.

2 lines of code changed in:

jorrit 2001-07-11 15:38

Continued work on the new lighter. Almost starts to work now but
it still isn't enabled by default.

29 lines of code changed in:

jorrit 2001-07-11 12:40

- Made a lot of functions in csPolyTexture inline.
- Started a fundamental rewrite of the lighting system. I'm far
from satisfied with the quality of the current lightmap generator.
In big levels using octree there are LOTS of small and not-so-small
lighting errors. Also the current code is WAY to complex to
actually maintain. So I'm not going to start to try fixing that.
This is only the fourth time the lighting system has been rewritten
though :-)
- Added new csShadowBitmap class. This class will hold shadow
information for a single lightmap. Shadows will be rendered on
this bitmap during the lighting process. Later on the shadow bitmaps
will be used to update the lightmaps.
- Added iFrustumViewUserdata SCF interface which will be used to
attach user data to iFrustumView (used by CastShadows() and
CheckFrustum()). Added SetUserdata() and GetUserdata() to
iFrustumView interface.
- Added csLightingPolyTexQueue class which will hold the data for the
lighting process. It implements iFrustumViewUserdata.

263 lines of code changed in:

jorrit 2001-07-11 08:45

Removed deletion of the 'void*' userdata in terrfunc. This
is not legal. The correct solution to be able to clean up
this data is to rewrite the callback system using SCF interfaces
as I have already done at other places. This is on my todo.
So please leave the memory leak there for the moment.

8 lines of code changed in:

jorrit 2001-07-11 08:23

- Removed csLight::CorrectForNoColor() since it is obsolete.
- Added a virtual destructor to mdldata.h.

36 lines of code changed in:

jorrit 2001-07-11 08:13

Added the required virtual destructor.

2 lines of code changed in:

neverjade 2001-07-10 22:53

Added the aws registrations for SCF into the file.

4 lines of code changed in:

miklby 2001-07-10 18:38

- Next installment on terrfunc, this patch
adds some bound checking to HitBeamObject(),
this should stop once and for all the current
infinite loop problems. Also prevents out of
bounds block indexes from being used.

- Modified the intersect triangle stuff to
check the triangle in both orientations. This
is due to csIntersect3::IntersectTriangle()
being picky about vertex orientation. Note
this does slow down the HitBeam routine
in terrfunc, but at least provides 100%
accurate intersections. I will add a simmilar
step to ball, sprite and metaball. Cube and
surface need no change.

- Reworked how HitBeam uses its increment during
box crawl. The increment is now only added
during the Object2Block calc. This shoud
squash the tiny error that allowed triangles
that were close to the intersect point on
the block bounding box being missed.

- Lastly, this patch also implies HitBeam in
terrfunc should be 100%. If it is not, please
report any bugs found.

34 lines of code changed in:

mgeisse 2001-07-10 16:47

added a call to MakeRoom() to csPoly2D::SetVertices() and
csPoly3D::SetVertices ().

2 lines of code changed in:

sunshine 2001-07-10 14:56

Reverted Michael's accidental commit of CS/data/temp/walktest.cam.

6 lines of code changed in:

sunshine 2001-07-10 14:33

Reverted Martin's change since it unconditionally allocated storage for
every `id' variable in every compilation unit even if the variable was
never accessed. I suggested, to Dan Bogdanov, a different potential
work-around for the DJGPP port. If this work-around is successful then it
will be applied instead.

4 lines of code changed in:

mgeisse 2001-07-10 14:19

applied a small change to SCF_DECLARE_FAST_INTERFACE: The static
interface variable is now defined outside the wrapper function, because
static variables inside inline functions seem to cause problems on some
platforms.

4 lines of code changed in:

sunshine 2001-07-10 13:21

Eliminated several compilation warnings from polytext.cpp.

2 lines of code changed in:

sunshine 2001-07-10 13:16

Eliminated a couple compilation warnings from curve.cpp.

5 lines of code changed in:

philwyett 2001-07-09 22:51

Typo fix

1 lines of code changed in:

philwyett 2001-07-09 22:42

Initial mods to docs to update to take account of new winlibs.

20 lines of code changed in:

philwyett 2001-07-09 16:41

Modified MSVCGEN process so it does not wildcard
add .h files into the CSSYS project file and add the
files which are now in the winlibs package.

3 lines of code changed in:

jorrit 2001-07-09 15:52

Update.

5 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