Rev |
Age |
Author |
Path |
Log message |
Diff |
5061 |
2131d 15h |
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 |
2131d 15h |
hendricks266 |
/polymer/eduke32/build/src/cache1d.c |
cache1d: Add support for loading SSI files. |
|
5059 |
2131d 15h |
hendricks266 |
/polymer/eduke32/build/src/cache1d.c |
cache1d: Allow loading GRP files from within other GRP files. |
|
5058 |
2131d 15h |
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 |
2201d 20h |
terminx |
/polymer/eduke32/build/src/cache1d.c |
Crash fix |
|
4886 |
2205d 6h |
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 |
2218d 4h |
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 |
2218d 4h |
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 |
2280d 18h |
terminx |
/polymer/eduke32/build/src/cache1d.c |
Another 5000 lines of pain and tears. DONT_BUILD. |
|
4665 |
2280d 18h |
terminx |
/polymer/eduke32/build/src/cache1d.c |
Minor optimizations (loop unrolling) to LZW functions in cache1d, improves throughput ~20% on my i7 |
|
4661 |
2280d 18h |
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 |
2280d 18h |
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 |
2305d 17h |
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 |
2375d 14h |
hendricks266 |
/polymer/eduke32/build/src/cache1d.c |
Ball-busting Makefile restructure.
DONT_BUILD. |
|
4502 |
2414d 13h |
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 |
2428d 22h |
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 *('
and
git grep '[^Xx]strdup *('
to see places where I left the B*alloc() calls intact.
BUILD_LUNATIC. |
|
4298 |
2539d 7h |
helixhorned |
/polymer/eduke32/build/src/cache1d.c |
Add Makefile.common switch ALLOCACHE_AS_MALLOC, remove DEBUG_WITH_VALGRIND. |
|
4255 |
2566d 7h |
helixhorned |
/polymer/eduke32/build/src/cache1d.c |
Stylistic/formatting tweaks in cache1d code. |
|
4188 |
2608d 3h |
helixhorned |
/polymer/eduke32/build/src/cache1d.c |
cache1d: add FIND_NOCURDIR option to klistpath(). |
|
4187 |
2608d 3h |
helixhorned |
/polymer/eduke32/build/src/cache1d.c |
Fix building stand-alone libcache1d.so. |
|