Subversion Repositories eduke32

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
5061 2134d 19h hendricks266 /polymer/eduke32/build/include/cache1d.h Defs: Add token "renamefile", which renames a file in a GRP or SSI file, in memory. 8.3 restrictions apply.  
5059 2134d 19h hendricks266 /polymer/eduke32/build/include/cache1d.h cache1d: Allow loading GRP files from within other GRP files.  
5058 2134d 19h 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 2208d 10h 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 2251d 21h 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 2255d 13h 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 2308d 21h 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 2611d 7h helixhorned /polymer/eduke32/build/include/cache1d.h cache1d: add FIND_NOCURDIR option to klistpath().  
3637 2851d 18h 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 2992d 4h helixhorned /polymer/eduke32/build/include/cache1d.h Minor loadpics() cleanups, don't expose filegrp[] from cache1d.c.  
3116 3002d 23h 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 3066d 12h 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 3263d 3h helixhorned /polymer/eduke32/build/include/cache1d.h Comment out unused dfread and kdfwrite functions in cache1d.c.  
2361 3263d 3h 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 3297d 3h 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 3752d 11h 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 3828d 17h terminx /polymer/eduke32/build/include/cache1d.h Global thermonuclear code rape  
1658 3869d 4h 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 3920d 2h terminx /polymer/eduke32/build/include/cache1d.h Source code "cleanup," herein referred to as "rape"  
1586 4026d 5h 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  

Show All