Commit Log (Page 188 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: 2000-08-31 to 2000-08-24 (Commits 3345-3394 of 12744)

mgeisse 2000-08-31 18:45

fixed two compiler warnings

1 lines of code changed in:

jorrit 2000-08-31 15:44

- Added csView::SetWorld() to change the world that is used
for the view. This is useful for programs that reload the world
later.
- Extended csTransformationManager so that you can initialize
it again. Then call this initialize from csWorld::Clear().
This means that it is now safe to clear the world and reload
it.
- Added the ability to load levels in levtool. Now you just can
use the 'Load Level' button and select a ZIP file using the
archive. This will load the level in all available engine views.
- Added the first useful feature to 'levtool'. A 'cleanup' button
that will remove all lightmaps and PVS info from a level archive.
- Added 'New View' button to add a new engine view window.
- Made the Control Window in levtool dragable.

29 lines of code changed in:

jorrit 2000-08-31 12:25

Put back the double buffer stuff in openglcommon which Andrew
removed.

14 lines of code changed in:

jorrit 2000-08-31 11:31

Increased CS version number to 0.17r001 to indicate the new
release which is going to happen soon.

8 lines of code changed in:

andyz 2000-08-31 11:11

Some fixes for OpenGL canvases. CSWS now looks better but still bad.

4 lines of code changed in:

jorrit 2000-08-31 10:34

Fixed a bad bug with STATBSP level caused by recent changes.
The static thing could get corrupted in some cases. Also I forgot
to add the static thing to the world.

20 lines of code changed in:

jorrit 2000-08-31 09:56

- Updated apimod17.txi.
- Fixed WalkTest so that collision detection with moving things
is now ok.

32 lines of code changed in:

jorrit 2000-08-31 09:38

Fixed apps with regards to the latest
csWorld::NewSector()->csWorld::CreateCsSector() change.

1 lines of code changed in:

jorrit 2000-08-31 09:35

- Added csMovable/iMovable GetFullTransform() which will return
the full transformation with regards to hierarchical
transformations (i.e. it will combine the local transform
with the one from the parents).
- Added csWorld::FindLight(char*name) to find a named light.
- Changed collection syntax in loader to only allow adding
lights based on the name of the light and not on the sector/index.
- Added support for adding sprites to collections in the loader.
- Removed csWorld::GetThing since that can now be done by using
the 'things' and 'skies' public vectors
(i.e. world->things.FindByName(name)).
- Removed csWorld::NewSector since this is obsoleted by the
newer csWorld::CreateSector or csWorld::CreateCsSector.
- Things and skies are now also added to the world by the
loader.

81 lines of code changed in:

andyz 2000-08-31 09:15

-*- Fixed all textures in MazeD and csws to be power of two. This includes
notebook textures. Previous csws.zip had some strange dithering
applied, and color wheel was broken (it was designed to be 129x129,
and it was resized to 128x128 which caused one scanline of garbage
below the color wheel). Also the csws.zip archive is almost twice
smaller now (all pngs were saved as truecolor, while 256 color format
suffice for most PNGs except wheel).

-*- Fixed an almost unnoticeable bug in csws listboxes which leads to
directory listbox sometimes to have two focused items (when you
switch directories).

-*- Re-generated the color wheel bitmap to size 128x128 rather than
129x129. This leaded to small changes in code as well.

28 lines of code changed in:

jorrit 2000-08-31 09:02

Fixed a bug in WalkTest with regards to particle systems. The
new GetMovable().UpdateMove() function was not called which
resulted in the particle systems not being visible in STATBSP
levels.

10 lines of code changed in:

jorrit 2000-08-31 08:49

Removed some comment from Andrew about a
csPolygonClipper::ClassifyBox which was wrong according to
Andrew. But it isn't. The function is correct.

3 lines of code changed in:

jorrit 2000-08-31 08:38

Found a bad bug in the loader (related to the recent changes
with things) which caused things to be added twice to the sector
list. This caused crashes when loading levels which had things
with portals, caused things to be lit too much, and also caused
things to be drawn too much.

6 lines of code changed in:

jorrit 2000-08-30 14:31

Update.

15 lines of code changed in:

andyz 2000-08-30 11:48

-*- Some fixes to MazeD. Now it works, but is unusabled due to some #if 0's
I had to insert here and there. There are lots of changes to be done
before MazeD will become useable again.

-*- Transformed LibPath vector back into a static variable.
I think the problem with unix/loadlib.cpp is solved now, I have removed
the *real* source of problems, I believe. I hate half-solutions.

-*- Fixed the problem with multiple similar errors popping up when a shared
library is missing. I have added the csPrintLibraryError() function which
prints dlerror() or whatever. It is invoked once at the end of
csFindLoadLibrary, if library loading has failed.

-*- Added csHalo::Get/SetIntensity methods. To change halo intensity, do
light->Halo->Set/GetIntensity (float).

60 lines of code changed in:

jorrit 2000-08-30 10:50

Fixed the apps in CS due to the latest changes (forgot to do that).

1 lines of code changed in:

sunshine 2000-08-30 10:37

- Worked around an instruction scheduling optimization bug in the MacOS/X
Server compiler for PowerPC (Macintosh hardware). This bug was triggered
by code in edgeclip.inc and would cause the compiler, itself, to hang
indefinitely while compiling polyclip.cpp.

- For MacOS/X Server, dropped the optimization level down from -O4 to -O3
since -O3 is documented, while -O4 is not.

92 lines of code changed in:

jorrit 2000-08-30 10:10

- Added support for csMovable in csCollection too. The plan is
to support hierarchical animation with this technique. Not
done yet.
- Added a vector of collections in csSector. This way collections
work similar to sprites and things.
- Removed csWorld::GetSpriteTemplate and GetThingTemplate since
this can easily be done on the public vectors instead.
- Added csWorld parameter to csCollection constructor.
- Fixed a bug in csWorld::RemoveSky.
- Added csWorld::UnlinkCollection and csWorld::RemoveCollection.

150 lines of code changed in:

jorrit 2000-08-30 09:38

- Removed csSprite::GetSector and GetSectors since that is now
part of the csMovable. Forgot to do that yesterday.
- iCamera::GetAspect and GetInvAspect returned the wrong values
(GetAspect returned inv_aspect and vice versa).
- Moved calculation of the FOV angle to csCamera. This makes
the engine a bit more efficient since this was now done every
time a portal was traversed. This saves four divides, five
multiplies, an acos, and an sqrt for every portal every frame.
- Added csCamera::SetFOVAngle() to set the FOV using an angle
in degrees.
- Added a 'width' parameter to csCamera::SetDefaultFOV() and
csCamera::SetFOV() so that the FOV in angles can be computed.
- Added 'fovangle' console command to get/set the FOV with degrees
as a parameter.

87 lines of code changed in:

jorrit 2000-08-29 13:19

Did various other updates to the worldfmt.txi to reflect recent
changes with materials, shading, ...

2 lines of code changed in:

jorrit 2000-08-29 12:14

Forgot something.

9 lines of code changed in:

jorrit 2000-08-29 12:06

- Integrated a new SDL canvas made by George Yohng
<cspace@mmts.nsys.by>.
- Fixed default HALO parsing. If a NOVA halo was used in a level
all following halo's would be NOVA too.
- Fixed a bug in csSector::RemoveThing. This function didn't
delete the thing in the past but it did now. I changed it back
to the old behaviour. This fixes Blocks again.
- Added two new vectors 'things' and 'skies' to csWorld. The plan
is to make things and skies have almost exactly the same API with
regards to movement and placement in sectors. The move to csMovable
is one step. But this list is another one.
- Removed csSector::RemoveThing/RemoveSky since that happens the
same way as with sprites now. Added csThing::RemoveFromSectors()
and csThing::MoveToSector().
- Added csMovable and iMovable::UpdateMove(). Made RemoveFromSectors(),
MoveToSector(), and UpdateMove in csThing and csSprite private
since this will now be called by the csMovable. This means
that when you did:
sprite->UpdateMove ()
you have to change this to:
sprite->GetMovable ().UpdateMove ();
Also instead of calling RemoveFromSectors() you now need to
call GetMovable ().ClearSectors() and instead of calling
MoveToSector() you need to call GetMovable ().SetSector().
And don't forget the UpdateMove()!
- The change above allow application developers to make movement
routines based only on a csMovable without having to care about
what object is being moved (csThing or csSprite).
- Made MoveToSector, UpdateMove, and RemoveFromSectors in
csSprite and csThing virtual so that subclasses can override
them. This happens for csParticle for example. It overrides
MoveToSector for its specific purposes.
- Added is_sky parameter to the csThing constructor so that a
thing knows it is a sky object or a normal thing.
- Fixed all the apps with regards to the above changes.
- Update the apidoc17.txi documentation with regards to the above
changes.
- Update simple.txi and simple2.txi tutorials.

4962 lines of code changed in:

norman 2000-08-29 00:18

added const modifier

1 lines of code changed in:

azverkan 2000-08-28 17:38

PS2 completely compiles in static mode, need to fix the unresolved externals now

11 lines of code changed in:

jorrit 2000-08-28 16:39

- Added csMovable to csSprite. Added GetMovable() and UpdateMove().
Similar to how it works with things.
- Removed SetPosition, MovePosition, GetTransform, and GetPosition
from csSprite since that is now in csMovable. IMPORTANT NOTE! You
should now call sprite->UpdateMove() after updating the position
in the csMovable returned by GetMovable(). If you don't do this
then important information in the sprite structure may not be
updated. Note that this change makes movement of sprites more
efficient since UpdateMove() has some cost. In the past it was
called on every movement/transformation call which means it was
called too often sometimes.
- Fixed all the CS apps for the new csMovable change for sprites.
- Changed csSprite2D to use the position from csMovable.
- Added csMovable/iMovable SetPosition() with only a position
as a parameter.
- Added csMovable SetParent() and GetParent() which are going
to be used for hierarchical transformations later. This is
not done yet though.
- Changed the list of sprites in a sector from csNamedObjVector
to csVector. This is a big bug. If a sprite got deleted it
could delete its parent sector with it.
- Made the list of things and sky objects a csVector instead of
a double linked list. Also removed the GetFirstSky()
and GetFirstThing() calls from csSector (and GetNumSkyThings(),
GetNumThings(), AddThing(), and AddSky()).
- Also removed GetParent/SetParent and GetNext/SetNext for polygon
sets since that is no longer needed now.
- Note that Blocks is broken now (crashes when you return to menu).
I will fix this later.

432 lines of code changed in:

jorrit 2000-08-28 12:21

- Added MATERIALS support to LIBRARY keyword.
- Fixed standard.zip to the changes from Andrew (i.e. added a
MATERIALS section to standard.zip).
- Fixed apps to refer to the right materials now.

47 lines of code changed in:

jorrit 2000-08-28 11:29

Let csMovable refer to correct SCF parent.
Forgot to commit includes.

32 lines of code changed in:

andyz 2000-08-28 11:09

-*- Fixed unlighted textures in 32 bit videomodes.

-*- Fixed halo drawing in 32-bit modes. Halos with R > 1 used to overflow
because the highest of the 32 bits is used for sign. Now halos are limited
to R [0..2] G [0..2] B [0..2].

-*- Changed HALO() keyword a bit; the old syntax is supported for backward
compatibility still. The new syntax is:

HALO (halo_type, ...)

The arguments after halo_type depends of the halo type. Currently there
are two types of halo supported:

CROSS, the old halo type. Two arguments are expected: halo intensity
(float) and "cross-factor" (float).

NOVA, a new halo type (stolen from GIMP). Three arguments are expected:
initial random seed (integer), number of spokes (integer) and roundness
(float).

Nova halo looks best if used with bright whitish lights (e.g. R||G||B > 1).
Example: LIGHT (CENTER (xx,xx,xx) RADIUS (xx) COLOR (1,1.2,1.4) HALO (NOVA))

-*- Changed a bit the loader: added the FindMaterial(char*) routine which
tries to find a material with given name; if not found it tries to find
a texture with this name; if it is found a material is created from it.
This way it is compatible with old worlds, and with new worlds as well.

-*- Changed the loader so that polygons with portals and with alpha == 0
(e.g. absolutely transparent) will get the POLYTXT_NONE shading type.
If you are going to change the alpha value later (e.g. to make a portal
dynamically appear/disappear) you should call poly->SetTextureType ()
manually. This conserves quite a bit of memory which is normally not used.
For example, with flarge.zip this reduces the size of lightmaps from
415K to 312K.

175 lines of code changed in:

jorrit 2000-08-28 10:42

- Added GetPosition() to csMovable and iMovable.
- Fixed a bad bug in sprites. When a sprite was deleted it
could potentially delete it's parent sector with it. Not very
good :-) I fixed this by changing the csNamedObjVector of
sectors to a normal csVector.
- Removed csSprite3D::GetW2TTranslation(). This function is obsolete
and exactly the same as csSprite3D::GetPosition().
- Similarly removed csSprite3D::GetW2T() and GetT2W() and replaced
with the more general GetTransform().
- Removed csSprite3D::SetPositionSector() since this function
needs to be implemented in csMovable and using a better
algorithm. It wasn't used anyway.
- Fixed documentation for csCamera::LookAt() a little.

69 lines of code changed in:

andyz 2000-08-28 10:25

Cleaned up a little

6 lines of code changed in:

andyz 2000-08-28 10:20

Cleaned up a little. Added check for X11_PATH before adding -lX11 etc.

4 lines of code changed in:

jorrit 2000-08-27 20:16

- Made new iMovable interface and let csMovable implement it (through
embedding).
- Changed csThing to use the new csMovable. This has the following
implecations with regards to the API for moving things: the
functions, SetSector(sector), GetSector(), SetPosition(),
SetTransform(), GetTransform(), MovePosition(), And Transform(matrix)
are all gone and have moved to the csMovable. This means that
for example:
thing->SetSector(sector);
becomes:
thing->GetMovable ().SetSector (sector);
In addition Transform() itself has been renamed to UpdateMove().
You must call UpdateMove() after doing a change to the csMovable
so that internal data structures are updated correctly.
Note: GetSector() now has an index parameter telling which sector
to take. To get the old behaviour just use 0 as index.
- Changed iThing to use the new iMovable.
- changed csNamedObjVector to csVector (in csMovable) because
csNamedObjVector deletes the children at destruction.

183 lines of code changed in:

jorrit 2000-08-26 20:39

Update.

9 lines of code changed in:

jorrit 2000-08-26 20:28

- Added a new csMovable class which encapsulates moving entities.
It does not hold geometry but everything needed to do the
object to world transformation and move that around.
Class is not yet used but preparation work for the usage
of this class has started. The main benefit of this class will
be to make sure that the API for moving sprites and things
is the same by putting that API in a seperate class.
- Removed strange 'sector' pointer from csPolygonSet and put it
in csThing instead. Sectors don't have a need for a 'sector'
pointer as this is equal to 'this'. Also this will make it easier
to use the new csMovable.
- Removed 'sector' pointer from csPolygon3D because it is unused
and dangerous (redundant) to keep it there since this information
is implicit in the parent of the polygon (which can move to another
sector). (note: this also removed SetSector() and GetSector()
calls). This removal had lots of repercusions in the entire
engine so several things have been slightly rewritten.
- csRenderView now contains a this_sector and previous_sector pointer
(also triggered by the removal of csPolygon3D::sector).

268 lines of code changed in:

mgeisse 2000-08-26 15:07

added some safety checks to 2d animations

15 lines of code changed in:

norman 2000-08-26 12:31

added missing rootdefines section, fresh rebuilds ("make linux" for instance) lost information what sound decoders to build, which then resulted in "sound file ... corrupt" upon loading.

18 lines of code changed in:

azverkan 2000-08-25 23:58

Starting check in of Playstation 2 port
Don't get too excited just yet, may not be able to check in
the platform specific code

7 lines of code changed in:

azverkan 2000-08-25 19:14

Moved to scripts/python

0 lines of code changed in:

azverkan 2000-08-25 19:13

Fixed to python to get it to compile again

2579 lines of code changed in:

azverkan 2000-08-25 19:12

Moved python scripts to scripts/python

0 lines of code changed in:

azverkan 2000-08-25 19:11

New python architecture

Moved scripts to scripts/python and scripts/java respectively

888 lines of code changed in:

jorrit 2000-08-25 15:52

Update.

13 lines of code changed in:

andyz 2000-08-25 10:43

Now PLUGINS.DYNAMIC will compile if USE_SHARED_LIBS=yes.
It used to be broken after my yesterday change

4 lines of code changed in:

andyz 2000-08-25 09:22

Added a check for NT's CMD.EXE

1 lines of code changed in:

jorrit 2000-08-25 08:58

Update.

7 lines of code changed in:

mgeisse 2000-08-25 08:08

added a missing include in csutil

2 lines of code changed in:

andyz 2000-08-24 18:55

Implemented a nice engine-in-a-window. This is the best try of this kind
of application written until now; the engine is fully integrated into the
windowing system and doesn't look alien.

11 lines of code changed in:

sunshine 2000-08-24 15:47

Automated Texinfo @node and @menu repair.

6 lines of code changed in:

jorrit 2000-08-24 14:02

- Added the first (VERY primitive) version of the new 'levtool'
application. This will be a CSWS based application (and also
commandline based) with which you will be able to do various things
on levels. Here are a few uses that I see:
- Recalculating lighting with graphical dialog for
controlling the lighting optionsl (radiosity, ambient, ...)
- Recalculating PVS.
- Portalizing a level.
- Deportalizing a level.
- Extracting entities and objects.
- Adding entities and objects.
- ...
It will have a 3D preview of the level too.
Current version is just a version of csws3d that is modified
a little.

15 lines of code changed in:

jorrit 2000-08-24 13:49

- Fixed the WaveOut sound driver makefile so that the description
is correctly showed.
- Enabled the WaveOut sound driver in the win32gcc.mak makefile
because it works fine.
- Fixed the win32gcc.mak file so that it works better on Windows
NT (replaced '/' with '\' in two places).
- Fixed the d3ddx6.mak file so that it's description is aligned
correctly with 'make help'.
- Fixed ddraw61.mak so that the description is a little shorter.
- Fixed Makefile so that it correctly displays help for the install
target with win32gcc.mak.

16 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