Subversion Repositories eduke32

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
4188 2688d 22h helixhorned /polymer/eduke32/build/src/cache1d.c cache1d: add FIND_NOCURDIR option to klistpath().  
4187 2688d 22h helixhorned /polymer/eduke32/build/src/cache1d.c Fix building stand-alone libcache1d.so.  
4175 2697d 21h helixhorned /polymer/eduke32/build/src/cache1d.c Give rotatesprite 'orientation' bits enum names, too.  
3880 2859d 23h helixhorned /polymer/eduke32/build/src/cache1d.c cache1d.c: cover up preceding assertion failure by bumping size of lzwrawbuf[].

It's hard to call this a fix, since ideally, buffer sizes like these would be
only as large as needed in the worst case.
 
3879 2859d 23h helixhorned /polymer/eduke32/build/src/cache1d.c cache1d.c: prettify compression functions, add one currently failing assertion.

See
http://forums.duke4.net/topic/6526-eduke32-crashing-when-loading-a-dukeplus-map-save
 
3637 2929d 9h terminx /polymer/eduke32/build/src/cache1d.c Prevent loading anything except the GRP from the Steam or GOG Duke3D install directories. Loading DUKE.RTS from those paths will be resolved later.  
3619 2937d 7h hendricks266 /polymer/eduke32/build/src/cache1d.c Fix a multi-line comment in cache1d.c.  
3615 2938d 15h terminx /polymer/eduke32/build/src/cache1d.c Read GOG.com and Steam Duke3D install paths from the registry instead of hard-coding the default paths.  
3484 2979d 0h helixhorned /polymer/eduke32/build/src/cache1d.c Fix build without Ken's ZIP library (WITHKPLIB not #define'd in compat.h).  
3385 3015d 17h helixhorned /polymer/eduke32/build/src/cache1d.c On Windows, remove "SHGetFileInfo failed with error code ..." note.  
3187 3069d 19h helixhorned /polymer/eduke32/build/src/cache1d.c Minor loadpics() cleanups, don't expose filegrp[] from cache1d.c.  
3168 3070d 2h helixhorned /polymer/eduke32/build/src/cache1d.c Split r3159..r3161, part 3: MSVC, nedmalloc, *layer, startup windows.  
3165 3070d 2h helixhorned /polymer/eduke32/build/src/cache1d.c Revert "Fix the warnings when building with C++, add MSVC C++ build support."

This reverts r3159..r3161.

Conflicts:
eduke32/build/include/compat.h
(Handled so that r3163's changes are kept applied.)
 
3159 3070d 17h terminx /polymer/eduke32/build/src/cache1d.c Fix the warnings when building with C++, add MSVC C++ build support. This also changes the internal type of lotags, hitags and cstat type fields to uint16_t instead of int16_t to clean up some dubious behavior wherein the code was using a value of 32768 as a flag in these fields for certain types of things, like invisible sprites (using the value as if it was uint16_t) where it was elsewhere checking if the value was < 0 (using the value as if it was int16_t). This change may break a few specific effects if any part of the relevant code was missed when looking for areas that needed to be addressed.

I think there's also a fix for the CON precache system breakage in here (lost it in my local tree when I started getting the C++ build working in MSVC, sorry!)
 
3153 3073d 23h helixhorned /polymer/eduke32/build/src/cache1d.c Make it possible to build a standalone libcache1d.so.

Exporting only (de)compression functions. Also, different reader/writer
functions can be set.
 
3122 3079d 9h hendricks266 /polymer/eduke32/build/src/cache1d.c Fix linking with CLANG=1 by separating $(INVOCATION) into $(COMPILER) and $(LINKER) and removing "-x" from clang as a linker in Makefile.common. Additionally, the Build tools are now affected by CPLUSPLUS=1, for which small corrections have been made.  
3116 3080d 14h hendricks266 /polymer/eduke32/build/src/cache1d.c Work-in-progress adjustment to the C code to compile under C++. It builds for me without errors using Win32 MinGW-GCC, but it still generates warning soup. No guarantees about MSVC or anything using SDL. Enable C++ by building with CPLUSPLUS=1. C remains the default and should compile with no change in setup.

Credit to Plagman for the idea and doing the work on the game side, which is included in this commit.

(Building as C++ will give us features with which we can make improvements and optimizations on the multiplayer code and Polymer.)
 
3068 3103d 2h terminx /polymer/eduke32/build/src/cache1d.c Prevent Windows "case mismatch" spam when loading files from disk with the Windows Explorer "hide extensions for known file types" option enabled. This simply changes the relevant Bstrcmp() calls to Bstrncmp() calls instead, using the length of the string returned by SHGetFileInfo() as the number of bytes to compare.  
3059 3109d 1h helixhorned /polymer/eduke32/build/src/cache1d.c Lunatic-m32: take over load path.  
2981 3144d 3h helixhorned /polymer/eduke32/build/src/cache1d.c Remove some #if 0 blocks that are probably of no interest any more.

For reference, they are the following:
- cache1d.c: suckcache()
- build.c: compare_wall_coords()
- make switch-invisible heuristic
- Mapster32: old sprite search
- Mapster32: manual z range
- m32script: read/writearray, qgetsysstr
- menus.c: savetemp()
 

Show All