Subversion Repositories eduke32


Go to most recent revision | Show changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
4761 2527d 4h hendricks266 /polymer/eduke32/build/src/ Fix build with x86_64-MinGW-w64. DONT_BUILD.  
4759 2528d 16h helixhorned /polymer/eduke32/build/src/ In Lunatic build, make krand() a proper function again, called from Lua/FFI.

4758 2528d 16h helixhorned /polymer/eduke32/build/src/ a-c.c: Compile vlineasm4nlogy() only if CLASSIC_NONPOW2_YSIZE_WALLS is #defined.

Also make three file-scope variables static.
4757 2528d 16h helixhorned /polymer/eduke32/build/src/ engine.c: in wallscan(), fix oob of umost[] and dmost[] when x2 == xdim-1.

Analogously treat maskwallscan() and transmaskwallscan(), although I could
not get the respective accesses to be oob, too.
4755 2528d 16h helixhorned /polymer/eduke32/build/src/ Fix C build and build on Linux/SDL2.

- for the first point: 'struct glattribs sdlayer_gl_attributes[]' was defined
at file scope, but 'glmultisample > 0' is not a compile-time constant.
- for the second point: r4749 changed the meaning of some conditional
compilation (supposedly, unintentionally). I'm reverting it to pre-r4749
but keeping the rewritten style. It's concerned with mouse thumb buttons.
4754 2528d 22h terminx /polymer/eduke32/build/src/ Fix MinGW build. DONT_BUILD.  
4753 2528d 22h terminx /polymer/eduke32/build/src/ Fixups to sync WIP SDL refactor up with r4738. DONT_BUILD.  
4752 2528d 22h terminx /polymer/eduke32/build/src/ Minor cleanups, mostly just formatting. DONT_BUILD.  
4749 2528d 22h terminx /polymer/eduke32/build/src/ WIP refactor of SDL interface. DONT_BUILD.  
4747 2528d 22h terminx /polymer/eduke32/build/src/ 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.  
4744 2528d 22h terminx /polymer/eduke32/build/src/ Inline krand() when not using KRANDDEBUG. DONT_BUILD.  
4740 2528d 22h terminx /polymer/eduke32/build/src/ Fix Mapster32 fullscreen video modes. DONT_BUILD.  
4738 2534d 3h hendricks266 /polymer/eduke32/build/src/ Set up mouse cursor display in menus, with idle timeout fully implemented. No functionality yet. DONT_BUILD.  
4733 2543d 13h helixhorned /polymer/eduke32/build/src/ a-c.c: don't USE_VECTOR_EXT with Clang, since it doesn't compile here.  
4730 2544d 3h hendricks266 /polymer/eduke32/build/src/ Replace DOS box-drawing characters in the ASM with sane ASCII. DONT_BUILD.  
4728 2544d 11h helixhorned /polymer/eduke32/build/src/ Fix voxels in classic -- my error, confusing divscale() and mulscale() in r4576.

Optimizations are left to the reader :P. I would prefer to look for ways of
giving the compilers hints about loops to unroll instead of having to read
the resulting mess of manual unrolling, though.
4726 2544d 11h helixhorned /polymer/eduke32/build/src/ engine.c: prevent an oob read in drawsprite_classic() w/ floor-aligned sprites.  
4725 2544d 11h helixhorned /polymer/eduke32/build/src/ Fix oob write with stepping 'up' in the OSD history.  
4724 2544d 11h helixhorned /polymer/eduke32/build/src/ baselayer.c: fix an oob write to ylookup[] intoduced in r4695.

On Linux, it started manifesting itself since r4719 as crashes whose
backtraces pointed to malloc() and were not helpful. Valgrind finally
uncovered this.
4723 2549d 5h terminx /polymer/eduke32/build/src/ Useless change I forgot. DONT_BUILD.  

Show All