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: 2002-03-12 to 2002-03-06 (Commits 7745-7794 of 12744)
- Made the lightmap cache for pseudo-dynamic lightmaps (shadow
maps) a bit more robust. Previously changing pseudo-dynamic
lights could cause the map to become unloadable because
old cached dynamic lightmap files made things crash.
- Cleaned up pol2d.cpp source code which seems to have been
badly formatted by the C++ 'beautifier' :-)
- Fixed a bad bug in pseudo-dynamic lights. Due to a wrong test
in the lighting code polygons that were fully lit by a
pseudo-dynamic light would not get lit at all.
28 lines of code changed in:
- added macros for declaring/implementing static/global variables that can be used inside shared libraries
- a Libname_scfFinalize function is called for shared libraries
- the cleanup function for the main application is called in DestroyApplication
132 lines of code changed in:
Removed odivx4 plugin from default MSVC build.
Removed mods to odivx4 plugin so it will work again under Linux.
Note:
Unfortunately version differences have forced this. The plugin will be made available once we can sync all platforms.
7 lines of code changed in:
Added SMOOTH() to a sprite.
1 lines of code changed in:
- Fixed a bug in csScanStr when presented with an empty string
as input. This prevented the proper scanning of the format
string and thus also prevented some stuff that needs to happen
even if input is empty (like setting count variables to 0 for
lists like %D and %F).
- Fixed a bug in the parsing of SMOOTH (spr3dldr) which would
use '%s' for a numeric parameter if an error occured. This
causes crashes. Additionally also fixed the error message
that occurs in this case.
115 lines of code changed in:
Added trailing endofline to isomap/isomap.h file.
2 lines of code changed in:
- Removed code used in odivx4 plugin which is not part of odivx for Windows. You can
see all the affected lines by looking for lines commented out with "// PSW".
- Updated msvc_libs (all version) adding odivx4 support.
Note:
The decore.h now in msvc_libs is a custom version as the one one officially released
is missing some definitions and also one which causes crashes. :/
Also ftp.sunsite.dk would not allow me to log in with write access, so you will need to
aquire the latest version from the following location for the time being based on your
version of msvc.
MSVC 5 or 6: ftp://62.188.48.183/crystal_space/support/win32/msvc_libs_0.92g.zip
MSVC 7: ftp://62.188.48.183/crystal_space/support/win32/msvc7/msvc7_libs_0.92d.zip
Screenshot: ftp://62.188.48.183/crystal_space/csvid_odivx4.jpg
The above screenshot shows DivX4 content running via the new plugin under Windows XP. It also shows up a little bug it currently has.
The divx4 video you can see running is from the "Killer Bean" series by Jeff Lew.
You can grab this and many other vids from: http://www.jefflew.com/anim.html
This video series makes debuging fun. :)
- Left all old divx headers and libs etc in for the time being. I will remove later.
- Added divx4 plugin to default MSVC build.
- Updated docs in cvs ready for when we can get the new versions of msvc_libs onto ftp.
18 lines of code changed in:
Removed an uneeded line.
0 lines of code changed in:
Fixed bug which in an attempt to centre the video also resulted in
the video being halved in size due to:
int vw = desc.width/2, vh = desc.height/2;
3 lines of code changed in:
Removed "byte" which is not always known for unsigned char.
1 lines of code changed in:
fixed wrong output file name under MSVC (now rlecodec instead of rle)
1 lines of code changed in:
renamed csCreateXORPatternImage() parameter "patsize" to clearer "recdepth"
generated pattern has color range from black to white instead of black to some gray
9 lines of code changed in:
renamed csCreateXORPatternImage() parameter "patsize" to clearer "recdepth"
changed comment a bit
5 lines of code changed in:
- changed SCF_EXPORT_FUNCTION to CS_EXPORTED_FUNCTION
- changed SCF_EXPORTED_NAME to CS_EXPORTED_NAME
- moved default definitions of both into cssysdef.h (out of scf.h)
- renamed the SCF_EXPORT_FUNCTIONS in the other system dependent csosdefs.h files
- declared cs_static_var_cleanup in cssysdef.h as CS_EXPORTED_FUNCTION (that should fix the compiler warnings on win32)
38 lines of code changed in:
on backbuffer proctexes up is now up and down is down
110 lines of code changed in:
changed texflags: removed nomipmaps on plasma/fire, added persistent on dots
3 lines of code changed in:
revert forgotten by phil
7 lines of code changed in:
ARGH - Major revert. What was I thinking?
I am blaming jetlag. Thats my story and I'm sticking too it. :)
126 lines of code changed in:
Fixed all the warnings caused by changes to:
CS_IMPLEMENT_APPLICATION and CS_IMPLEMENT_PLUGIN
Nothing thrilling, but some of the changes are blind into other ports so
be warned if you get the odd compiler warning or error.
Also changed lib name which msvc will use for new divx for plugin to
eliminate conflicts.
133 lines of code changed in:
- in the csosdefs.h files changed CS_IMPLEMENT_PLUGIN to CS_IMPLEMENT_PLATFORM_PLUGIN and CS_IMPLEMENT_APPLICATION to CS_IMPLEMENT_PLATFORM_APPLICATION
- added CS_IMPLEMENT_STATIC_VARIABLE_CLEANUP and CS_STATIC_VAR_DESTRUCTION_REGISTRAR_FUNCTION in cssysdef.h
- CS_IMPLEMENT_PLUGIN and CS_IMPLEMENT_APPLICATION is now made from CS_IMPLEMENT_STATIC_VARIABLE_CLEANUP and CS_IMPLEMENT_PLATFORM_*
53 lines of code changed in:
divx and dvx1 are now pointing to divx4 plugin
5 lines of code changed in:
added divx4 to plugin list (disabled)
1 lines of code changed in:
divx4 codec
270 lines of code changed in:
removed FOURCC divx, which is now assigned to divx4
2 lines of code changed in:
- Peter Amstutz <tetron@student.umass.edu> gave a patch which
does the following:
- garray.h will not shrink the allocated size when SetLength() is
called (SetLimit() can still shrink the array). He did not change
the allocation policy (it still allocates +8 elements at a time).
- In mdltest.ccp/csSingleIndexVertexSet::Add() he commented out
the n-factorial linear search which he believes is supposed to
optimize vertices, but in practice does nothing (except suck
up a LOT of runtime).
- In sprbuild.cpp/csSpriteBuilder::Build() he added code to count
the number of vertices in the imported model and preallocate
the required memory in the vertex arrays.
- In sprtri.cpp/csTriangleMesh2::AddTriangle() he changed the
resize policy from allocating +8 elements at a time to doubling
the array size.
- Jorrit additionally modified the following on this patch:
- garray.h will still shrink the allocated size when
SetLength() is called which will result in a limit that
is 1000 (CS_GARRAY_SHRINKLIMIT) units smaller than the old
limit. This means that arrays will still shrink by calling
SetLength() if the new length is sufficiently smaller than
the old one.
- The default grow limit is now set to 16 (CS_GARRAY_GROWSTEP)
instead of 8.
- Instead of doubling the number of triangles in the spr3d
plugin the triangles are doubled with a maximum of 1000
triangles at a time. This ensures that not too much memory
is wasted.
80 lines of code changed in:
Update regarding screenshot fix
2 lines of code changed in:
Fixed bug that screwed up screenshots on little endian machines in OpenGL
4 lines of code changed in:
Some fixes for memory corruption
36 lines of code changed in:
Fixed a big problem in csOctree::ReadFromCache() which could
cause memory corruption.
2 lines of code changed in:
Fixed a memory leak in csOctree::ReadFromCache().
1 lines of code changed in:
- The cache manager is no longer registered with the object
registry. Instead I added iEngine::GetCacheManager() and
SetCacheManager(). This is a more explicit and easier way
to handle this. So if you want to cache something in the
context of the engine just ask the cache manager from the
engine. If you don't use SetCacheManager() then the engine
will still use the vfs cache manager by default.
- Octree is now also saved on the cache manager.
77 lines of code changed in:
Please don't repeat initializers in cpp file!
3 lines of code changed in:
Update for a couple of very small changes in the isometric engine - not even
worth mentioning
5 lines of code changed in:
- Explicitly remove all mesh factories at iso engine destruction. This happens
naturally (in the list's destructor) but I added this line tracking down a
leak in the iso loader (this wasn't the problem), and decided to leave it there
for clarity.
- g3dpolyfx.mixmode was being assigned the same value twice in isospr.cpp, so I
removed one of the assignments.
- Removed extra calculation in isoview.cpp - it was converting from screen 2
world coordinates for the bottom left corner, but never actually using the
result.
2 lines of code changed in:
- Used QInt() to do float->int conversions (to suppress compiler warnings)
- Removed a couple of unused variables
- Fixed up a couple of memory leaks
19 lines of code changed in:
Update regarding split views in walktest
4 lines of code changed in:
Added key bindings for split views in walktest (shift-s, shift-t and shift-u)
4 lines of code changed in:
Implemented split views in walktest. Shift-S splits the view into 2, Shift-T
toggles between the two views, and Shift-U returns to a single view (the
active view).
113 lines of code changed in:
Update.
5 lines of code changed in:
Published FindComponentFactory interface and made several modifications to the interface to accomodate this.
6 lines of code changed in:
csInputBinder - an auxilliary support class
250 lines of code changed in:
- changed the way lightmap is stored on disk:
the 4th byte was 0x80 all the time,
and the comment on line 159 in lghtmap.cpp says it wasn't even
known why :) now the 4th byte is stripped when writing the lightmap and
readded when reading.
- changed lightmap file magic
- changed lmversion
28 lines of code changed in:
If a DiskFile is opened for reading the directory won't be created any more
4 lines of code changed in:
small bugfix for keyparsing
8 lines of code changed in:
-added declarations for iEvent and csEvent again in inpnames.h ->
PLEASE don't remove them again, they're needed
3 lines of code changed in:
- Added iCacheManager interface (include/iutil/cache.h). This is
a generic interface to describe a cache mechanism. It can be used
for storing data that is hard to calculate and doesn't change
often. Since this is an interface you can create various
implemetations that read/write cached items from several sources.
Even a networked implementation could be possible.
- Added csVfsCacheManager implementation of iCacheManager
(include/csutil/vfscache.h). This is an implementation of
iCacheManager that will store cached items on VFS (file system).
- The engine will now find a cache manager in the object registry
with the tag 'crystalspace.engine.cachemgr'. If this doesn't
exist it will create an instance of csVfsCacheManager and
register that (cache will be placed in 'cache' dir). By registering
your own implementation of iCacheManager to that tag you can
force the engine into using a different cache.
- Extended iLightingInfo interface with a iCacheManager* parameter.
- Lightmaps are already cached using the new system. Octree and
bsp tree are still a todo.
482 lines of code changed in:
CLASS directive removed from token tables.
1 lines of code changed in:
CLASS directive no longer required.
0 lines of code changed in:
Changes to allow the creation of mesh wrappers without a class id.
27 lines of code changed in:
debug comments removed
0 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