Subversion Repositories eduke32

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
5064 2129d 22h hendricks266 /polymer/eduke32/build/include/cache1d.h Amend "renamefile" def token to ensure its proper use. renamefile <GRP/SSI CRC32> <file number> <new filename>  
5061 2130d 0h 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 2130d 0h hendricks266 /polymer/eduke32/build/include/cache1d.h cache1d: Allow loading GRP files from within other GRP files.  
5058 2130d 0h 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 2203d 15h 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 2247d 2h 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 2250d 18h 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 2304d 2h 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 2606d 12h helixhorned /polymer/eduke32/build/include/cache1d.h cache1d: add FIND_NOCURDIR option to klistpath().  
3637 2846d 22h 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 2987d 9h helixhorned /polymer/eduke32/build/include/cache1d.h Minor loadpics() cleanups, don't expose filegrp[] from cache1d.c.  
3116 2998d 3h 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 3061d 16h 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 3258d 8h helixhorned /polymer/eduke32/build/include/cache1d.h Comment out unused dfread and kdfwrite functions in cache1d.c.  
2361 3258d 8h 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 3292d 8h 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 3747d 15h 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 3823d 22h terminx /polymer/eduke32/build/include/cache1d.h Global thermonuclear code rape  
1658 3864d 8h 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 3915d 7h terminx /polymer/eduke32/build/include/cache1d.h Source code "cleanup," herein referred to as "rape"  

Show All