Subversion Repositories eduke32


Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
5076 2320d 10h terminx /polymer/eduke32/build/src/cache1d.c Win32 debug build filename case checking now uses GetShortPathNameA()/GetLongPathNameA() instead of the slow SHGetFileInfo(). Since this works by requesting the shortened 8.3 filename for a file and then requesting the proper long version of that result, it has the side effect of breaking the functionality on NTFS volumes where the user has explicitly disabled the creation of 8.3 filenames. DONT_BUILD.  
5064 2321d 3h hendricks266 /polymer/eduke32/build/src/cache1d.c Amend "renamefile" def token to ensure its proper use. renamefile <GRP/SSI CRC32> <file number> <new filename>  
5061 2321d 5h hendricks266 /polymer/eduke32/build/src/cache1d.c Defs: Add token "renamefile", which renames a file in a GRP or SSI file, in memory. 8.3 restrictions apply.  
5060 2321d 5h hendricks266 /polymer/eduke32/build/src/cache1d.c cache1d: Add support for loading SSI files.  
5059 2321d 5h hendricks266 /polymer/eduke32/build/src/cache1d.c cache1d: Allow loading GRP files from within other GRP files.  
5058 2321d 5h hendricks266 /polymer/eduke32/build/src/cache1d.c cache1d: Enumify the magic constants for "file is in a zip" and "file is in the filesystem".  
4905 2391d 9h terminx /polymer/eduke32/build/src/cache1d.c Crash fix  
4886 2394d 20h hendricks266 /polymer/eduke32/build/src/cache1d.c Clean up autodetected game install search paths on all platforms that use them.

This should prevent Lunar Apocalypse from becoming Nuclear Winter with Megaton on Linux and Mac.
4838 2407d 18h helixhorned /polymer/eduke32/build/src/cache1d.c cache1d.c: Revert changes in r4665 unrelated to unrolling, fixing oob write.

Specifically, we must make sure that dasizeof <= LZWSIZE (or so) in
c1d_{read,write}_compressed() (what the assertion in the last commit was about,
and is now redundant). This fixes saving of e.g. large gamearrays with the C-CON
build. Bump BYTEVERSION.

An alternative for setting dasizeof to 1 would be to factor it and keep dividing
as long as it's > LZWSIZE.
4837 2407d 18h helixhorned /polymer/eduke32/build/src/cache1d.c cache1d.c: in (de)compr. funcs, add an bound-checking assert that fails w/ AMC TC.

Also, formatting.
4680 2470d 7h terminx /polymer/eduke32/build/src/cache1d.c Another 5000 lines of pain and tears. DONT_BUILD.  
4665 2470d 8h terminx /polymer/eduke32/build/src/cache1d.c Minor optimizations (loop unrolling) to LZW functions in cache1d, improves throughput ~20% on my i7  
4661 2470d 8h terminx /polymer/eduke32/build/src/cache1d.c Additional engine cleanups and optimizations. About as generic as it sounds. Also changes internal dummytile/tilefromtexture behavior so that the LZ4 compressed version of a texture is kept and the cache1d entries associated with the tiles can expire, like any other tile.  
4658 2470d 8h terminx /polymer/eduke32/build/src/cache1d.c Various additional optimizations: add CLASSIC_SLICE_BY_4 mode to unroll some of the loops in a-c, replace integer divisions by a divisor unknown at compile time with usage of libdivide, clean up pragmas further by removing more old stuff that wasn't used anywhere. This is another one of those nasty commits that make people cry. DONT_BUILD.  
4637 2495d 7h terminx /polymer/eduke32/build/src/cache1d.c Re-use temporary buffer for tilefromtexture true color -> paletted conversion and free when finished with the .def instead of freeing and re-allocating for every tile  
4543 2565d 4h hendricks266 /polymer/eduke32/build/src/cache1d.c Ball-busting Makefile restructure.

4502 2604d 2h hendricks266 /polymer/eduke32/build/src/cache1d.c Wrap most calls to exit() with a macro that will print the exit status, file name, line number, and function name to the log when using a debug build.  
4491 2618d 11h helixhorned /polymer/eduke32/build/src/cache1d.c Bye, bye, B*alloc(), all hail X*alloc()! Replace large portion of the calls...

... and cull code that is dead with the X*alloc() versions since they never
return NULL on requesting memory.

Use something like
git grep '[^Xx]\(m\|c\|re\)alloc *('
git grep '[^Xx]strdup *('
to see places where I left the B*alloc() calls intact.

4298 2728d 20h helixhorned /polymer/eduke32/build/src/cache1d.c Add Makefile.common switch ALLOCACHE_AS_MALLOC, remove DEBUG_WITH_VALGRIND.  
4255 2755d 20h helixhorned /polymer/eduke32/build/src/cache1d.c Stylistic/formatting tweaks in cache1d code.  

Show All