Subversion Repositories eduke32


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

Filtering Options

Rev Age Author Path Log message Diff
5058 2127d 20h hendricks266 /polymer/eduke32/build/include/cache1d.h cache1d: Enumify the magic constants for "file is in a zip" and "file is in the filesystem".  
4886 2201d 12h hendricks266 /polymer/eduke32/build/include/cache1d.h 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.
4766 2244d 22h hendricks266 /polymer/eduke32/build/include/cache1d.h Make a bunch of things extern "C". This should fix C++ builds on OS X and with Lunatic. DONT_BUILD.  
4747 2248d 14h terminx /polymer/eduke32/build/include/cache1d.h Part 1 of attempting to adhere to C standard section 7.1.3. It turns out it's illegal to use identifiers that begin with _ or have __ anywhere in them. DONT_BUILD.  
4639 2301d 23h terminx /polymer/eduke32/build/include/cache1d.h Misc additional optimizations, mostly to polymost/mdsprite. Also separate voxmodel into its own source file and object. This commit is pretty large because I was hitting the limit of what could realistically be carved up into smaller patches. DONT_BUILD.  
4188 2604d 8h helixhorned /polymer/eduke32/build/include/cache1d.h cache1d: add FIND_NOCURDIR option to klistpath().  
3637 2844d 19h terminx /polymer/eduke32/build/include/cache1d.h Prevent loading anything except the GRP from the Steam or GOG Duke3D install directories. Loading DUKE.RTS from those paths will be resolved later.  
3187 2985d 6h helixhorned /polymer/eduke32/build/include/cache1d.h Minor loadpics() cleanups, don't expose filegrp[] from cache1d.c.  
3116 2996d 0h hendricks266 /polymer/eduke32/build/include/cache1d.h 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.)
2981 3059d 13h helixhorned /polymer/eduke32/build/include/cache1d.h 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()
2362 3256d 5h helixhorned /polymer/eduke32/build/include/cache1d.h Comment out unused dfread and kdfwrite functions in cache1d.c.  
2361 3256d 5h helixhorned /polymer/eduke32/build/include/cache1d.h constify various cache1d and pragmas functions, some copybuf* -> memcpy/move.

The following functions have const qualifiers attached for the 'destination'
arguments: kdfwrite, dfwrite in cache1d.c and copybuf{byte,reverse,} in the
pragmas source or headers. A couple uses of the latter ones were replaced
with calls to standard library functions.
2261 3290d 4h helixhorned /polymer/eduke32/build/include/cache1d.h Remove the allocache() allocation type for 'intptr_t *lookups'.

Always malloc that buffer. This allows us to remove suckcache() from
cache1d.c, which I believe to be buggy (see comments in the source).
1712 3745d 12h helixhorned /polymer/eduke32/build/include/cache1d.h New aspect determination code for classic/Polymost, controlled with r_usenewaspect and r_screenaspect cvars; print stack traces with SDL/GCC; change signature of app_main in game.c to match declarations found in other places and return different positive values on init error.  
1677 3821d 19h terminx /polymer/eduke32/build/include/cache1d.h Global thermonuclear code rape  
1658 3862d 5h terminx /polymer/eduke32/build/include/cache1d.h rotatesprite and multivoc have a rape baby

No, seriously. Adds widescreen aware rotatesprite and works out half a dozen huge problems in the sound system, among other things.
1625 3913d 3h terminx /polymer/eduke32/build/include/cache1d.h Source code "cleanup," herein referred to as "rape"  
1586 4019d 7h terminx /polymer/eduke32/build/include/cache1d.h Update nedmalloc, fix loading tiles from .art files contained in a .zip, workaround GCC 4.4.x squarerotatetile() miscompilation issue  
1205 4391d 17h terminx /polymer/eduke32/build/include/cache1d.h ass rape  
1105 4473d 0h terminx /polymer/eduke32/build/include/cache1d.h Moved build to a subdir underneath the eduke32 dir to avoid people trying to compile from the build src dir by mistake  

Show All