Subversion Repositories eduke32

Rev

Show changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
4762 2401d 5h hendricks266 /polymer/eduke32/ Fix some things when building on OS X. DONT_BUILD.  
4761 2401d 7h hendricks266 /polymer/eduke32/ Fix build with x86_64-MinGW-w64. DONT_BUILD.  
4760 2401d 7h hendricks266 /polymer/eduke32/ Fix oversight in mouse cursor code. DONT_BUILD.  
4759 2402d 19h helixhorned /polymer/eduke32/ In Lunatic build, make krand() a proper function again, called from Lua/FFI.

DONT_BUILD.
 
4758 2402d 19h helixhorned /polymer/eduke32/ a-c.c: Compile vlineasm4nlogy() only if CLASSIC_NONPOW2_YSIZE_WALLS is #defined.

Also make three file-scope variables static.
 
4757 2402d 19h helixhorned /polymer/eduke32/ 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.
 
4756 2402d 19h helixhorned /polymer/eduke32/ Makefile: do '(very)clean' with a plain "rm -f some/obj/*.o".

Notes:
- In the 'clean' target, the "core*" arg to 'rm' was removed as I find it too
unspecific. (Someone could have an unrelated file with that prefix lying
around.)
- The targets 'clean' and 'veryclean' now echo the commands they are about
to execute.

Also, in Makefile.common, resurrect sanitized Clang builds if DEBUGANYWAY=2
is passed (previously, that was triggered with RELEASE=0 DEBUGANYWAY=1).
 
4755 2402d 19h helixhorned /polymer/eduke32/ 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 2403d 1h terminx /polymer/eduke32/ Fix MinGW build. DONT_BUILD.  
4753 2403d 1h terminx /polymer/eduke32/ Fixups to sync WIP SDL refactor up with r4738. DONT_BUILD.  
4752 2403d 1h terminx /polymer/eduke32/ Minor cleanups, mostly just formatting. DONT_BUILD.  
4751 2403d 1h terminx /polymer/eduke32/ Add missing "break" to M_RunMenuInput(), revert android gltexapplyprops() menu fuckery. DONT_BUILD.  
4750 2403d 1h terminx /polymer/eduke32/ Fix _FORTIFY_SOURCE redefinition warning on Ubuntu's patched versions of GCC. DONT_BUILD.  
4749 2403d 1h terminx /polymer/eduke32/ WIP refactor of SDL interface. DONT_BUILD.  
4748 2403d 1h terminx /polymer/eduke32/ Clean up the sound remapping stuff... remove the bits relating to sounds we haven't actually used anywhere in the source directly. DONT_BUILD.  
4747 2403d 1h terminx /polymer/eduke32/ 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.  
4746 2403d 1h terminx /polymer/eduke32/ Get rid of -Wdeclaration-after-statement as we're only targeting C99 and C++ now. DONT_BUILD.  
4745 2403d 1h terminx /polymer/eduke32/ Mainly misc cleanups (and a fix for the C++ build), but there are a few important changes in here.

VM_OnEvent() has become VM_OnEvent(), VM_OnEventWithReturn(), VM_OnEventWithDist(), and VM_OnEventWithBoth() (the latter of which is only ever used once...). Of course, this required every call to VM_OnEvent() be changed.

memberlabel_t and vmstate_t have been changed to use the regular "int" type versus explicitly specifying int32_t as they did previously. The rationale for this change is simply that it looks cleaner, and I think we should move toward just using "int" in most cases where there's no particular reason to specify an explicit data type.

Also changes CON_KILLIT to just "return" instead of "continue". DONT_BUILD.
 
4744 2403d 1h terminx /polymer/eduke32/ Inline krand() when not using KRANDDEBUG. DONT_BUILD.  
4743 2403d 1h terminx /polymer/eduke32/ Add FORCE_INLINE to compat.h and apply it to a couple of things we'd strongly prefer be inlined. DONT_BUILD.  

Show All