Subversion Repositories eduke32


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

Filtering Options

Rev Age Author Path Log message Diff
5005 2205d 4h hendricks266 /polymer/eduke32/build/src/compat.c Apple: Update Xcode project and build system. DONT_BUILD.  
4922 2235d 5h terminx /polymer/eduke32/build/src/compat.c Fix wildmatch(), resolves errors matching things like "*.zip" with "" for example.  
4894 2239d 7h terminx /polymer/eduke32/build/src/compat.c Minor cleanup and formatting changes. DONT_BUILD.  
4802 2273d 4h hendricks266 /polymer/eduke32/build/src/compat.c Refine the previous commit a bit. DONT_BUILD.  
4801 2273d 7h hendricks266 /polymer/eduke32/build/src/compat.c Mac OS X: Add detection of the Steam and GOG releases of Duke 3D and the Steam release of NAM. DONT_BUILD.  
4761 2287d 5h hendricks266 /polymer/eduke32/build/src/compat.c Fix build with x86_64-MinGW-w64. DONT_BUILD.  
4747 2288d 23h terminx /polymer/eduke32/build/src/compat.c 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.  
4697 2312d 18h terminx /polymer/eduke32/build/src/compat.c Fix a couple of clang warnings. DONT_BUILD.  
4658 2317d 8h terminx /polymer/eduke32/build/src/compat.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.  
4648 2322d 4h hendricks266 /polymer/eduke32/build/src/compat.c Further work on the Xcode project.  
4619 2342d 7h terminx /polymer/eduke32/build/src/compat.c Clean up the "X" variants of malloc and friends to avoid unncessary function calls and parameter passing  
4502 2451d 2h hendricks266 /polymer/eduke32/build/src/compat.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.  
4490 2465d 11h helixhorned /polymer/eduke32/build/src/compat.c Add X{m,c,re}alloc and Xstrdup macros that call an out-of-memory handler on failure.

These wrap the x*alloc or xstrdup functions in compat.c. The handler gets passed
__FILE__, __LINE__ and __func__ (if available) in debugging builds.

Terminating the application process immediately in case of allocation failure
will let us prune many error handling paths and simplify a good portion of code.
4325 2573d 4h terminx /polymer/eduke32/build/src/compat.c Fix 64-bit MSVC builds. DONT_BUILD.  
3496 2931d 3h hendricks266 /polymer/eduke32/build/src/compat.c Wii: Fix most warnings. Three remain: two are labeled with FIXMEs; the third consists of signed/unsigned comparisons involving LSWAPIB() in kplib.c.  
3168 3025d 21h helixhorned /polymer/eduke32/build/src/compat.c Split r3159..r3161, part 3: MSVC, nedmalloc, *layer, startup windows.  
3165 3025d 21h helixhorned /polymer/eduke32/build/src/compat.c Revert "Fix the warnings when building with C++, add MSVC C++ build support."

This reverts r3159..r3161.

(Handled so that r3163's changes are kept applied.)
3159 3026d 12h terminx /polymer/eduke32/build/src/compat.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!)
3116 3036d 9h hendricks266 /polymer/eduke32/build/src/compat.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.)
3086 3057d 11h terminx /polymer/eduke32/build/src/compat.c Remove built-in copy of nedmalloc and update nedmalloc.dll. Note that the built-in copy of nedmalloc hasn't been updated or enabled in a really long time as modern system allocators (Windows 7 and Linux 3.x at least) are no longer consistently beat by nedmalloc (but nor are they consistently faster). So, the dll remains for users of Windows XP because it may still improve performance there (while not likely degrading it on Vista/7).  

Show All