raze-gles/polymer/eduke32/build/src
helixhorned b0c48eec25 CON: always return non-negative values from 'clipmove' and related.
Previously, the C function clipmove() returned negative values when hit a
wall (32768+wallnum) or sprite (49152+spritenum) because internally,
these values were encoded into a *signed* 16-bit integer. This made no
difference to C code using it, since it always proceeded by bit checks,
but was inconsistent with documentation on CON 'clipmove' on the wiki.

The following commands are affected too, since they use the value returned
by clipmove(): 'clipmovenoslide', 'movesprite'. Also, the value of
actor[].movflag ('htmovflag' from CON).

Also, fix 'clipmove*' in LunaCON and add lunatic/test/checknearwall.con
as an example of how to implement a being-close-to-a-wall checker as
requested in
http://forums.duke4.net/topic/7869-determining-closeness-to-a-wall/

git-svn-id: https://svn.eduke32.com/eduke32@4874 1a8010ca-5511-0410-912e-c29ae57300e0
2015-01-04 18:44:58 +00:00
..
misc Delete a bunch of crusty old outdated unused files. 2014-07-22 07:25:09 +00:00
util Fix building the Build Tools. DONT_BUILD. 2014-12-09 22:51:41 +00:00
a-c.c a-c.c: eliminate narrowing int32_t -> uint32_t conversions. DONT_BUILD. 2014-12-01 19:52:08 +00:00
a.masm Replace DOS box-drawing characters in the ASM with sane ASCII. DONT_BUILD. 2014-11-07 07:53:28 +00:00
a.nasm Fix the crash in the ASM relating to the dynamic allocation of ylookup. 2014-11-29 06:30:42 +00:00
a64.yasm Add WIP x86_64 assembly texture mapping routines. 2013-09-21 13:37:31 +00:00
baselayer.c Add the necessary plumbing to sdlayer to detect mousedown, mouseup, and dragging. 2014-12-27 18:36:43 +00:00
build.c Make a bunch of things extern "C". This should fix C++ builds on OS X and with Lunatic. DONT_BUILD. 2014-11-26 04:39:23 +00:00
cache1d.c cache1d.c: Revert changes in r4665 unrelated to unrolling, fixing oob write. 2014-12-26 17:29:55 +00:00
common.c Additional engine cleanups and optimizations. About as generic as it sounds. Also changes internal dummytile/tilefromtexture behavior so that the LZ4 compressed version of a texture is kept and the cache1d entries associated with the tiles can expire, like any other tile. 2014-10-25 03:30:38 +00:00
compat.c Refine the previous commit a bit. DONT_BUILD. 2014-12-08 07:32:58 +00:00
config.c Wii: Fix build. DONT_BUILD. 2014-12-09 23:56:54 +00:00
crc32.c Rename crc32() to Bcrc32() to avoid conflicts with the crc32() function in libpng/libz. DONT_BUILD. 2014-10-01 17:09:54 +00:00
defs.c A couple of miscellaneous cleanups. 2014-12-26 17:29:52 +00:00
dxtfilter.c Fix warning in dxtfilter 2014-10-25 03:34:08 +00:00
dynamicgtk.c Restructure dynamicgtk to comply with C++ casting rules. DONT_BUILD. 2014-11-29 00:32:28 +00:00
engine.c CON: always return non-negative values from 'clipmove' and related. 2015-01-04 18:44:58 +00:00
engine_oldmap.h Rename sector[].filler member to '.fogpal'. From CON, keep the '.alignto' alias. 2014-04-05 11:28:10 +00:00
engine_priv.h Some minor fixes. DONT_BUILD. 2014-11-28 08:14:00 +00:00
glbuild.c Clean up GL background tinting a little bit. Remove access to glRectd in favor of glRecti. 2014-10-25 03:25:35 +00:00
gtkbits.c Fix C/GTK2/SDL1.2 build. DONT_BUILD. 2014-11-28 08:30:31 +00:00
hightile.c Another 5000 lines of pain and tears. DONT_BUILD. 2014-10-25 03:36:34 +00:00
kplib.c Improve fine-grained GCC and clang version detection, fixing recently introduced build issues. DONT_BUILD. 2014-10-25 10:17:35 +00:00
lunatic.c Make a bunch of things extern "C". This should fix C++ builds on OS X and with Lunatic. DONT_BUILD. 2014-11-26 04:39:23 +00:00
lz4.c Fix a couple of clang warnings. DONT_BUILD. 2014-10-29 17:05:15 +00:00
mdsprite.c Eliminate -Wno-narrowing. DONT_BUILD. 2014-11-28 23:57:21 +00:00
mingw_main.c Work around a bug in MinGW 4.8 / mingwrt-4.0 where a function named main() in misc/src/libcrt/gdtoa/qnan.c takes precedence over the proper one in src/libcrt/crt/main.c. 2013-10-06 07:49:26 +00:00
mmulti_null.c KenBuild. 2014-07-24 14:01:44 +00:00
mutex.c Simplify mutex wrapper into simply differentiating between RENDERTYPEWIN (which is deprecated...) and everything else, which uses SDL mutexes. 2014-04-17 19:58:07 +00:00
osd.c Wii: Add a custom exception handler that saves the crash information to the log and directs the user to submit it to us. DONT_BUILD. 2014-12-17 13:02:21 +00:00
osxbits.m Refine the previous commit a bit. DONT_BUILD. 2014-12-08 07:32:58 +00:00
polymer.c Polymer: include wall[].ypanning in wall invalidation logic. 2014-12-21 15:51:51 +00:00
polymost.c Tweak the behavior of viewscreens to what is more logical IMO. 2014-12-26 17:30:00 +00:00
pragmas.c Remove Wii-specific ASM for scale(). Libdivide is likely faster; tests on a real Wii pending. DONT_BUILD. 2014-10-25 10:17:04 +00:00
rawinput.c Some minor fixes. DONT_BUILD. 2014-11-28 08:14:00 +00:00
scriptfile.c Bye, bye, B*alloc(), all hail X*alloc()! Replace large portion of the calls... 2014-05-30 00:02:19 +00:00
sdlayer.c Add the necessary plumbing to sdlayer to detect mousedown, mouseup, and dragging. 2014-12-27 18:36:43 +00:00
sdlayer12.c Add the necessary plumbing to sdlayer to detect mousedown, mouseup, and dragging. 2014-12-27 18:36:43 +00:00
sdlkeytrans.c SDL2: fix quote and pause keys. 2013-10-16 19:43:07 +00:00
SDLMain.m Further work on the Xcode project. 2014-10-20 07:37:29 +00:00
smalltextfont.c Moved build to a subdir underneath the eduke32 dir to avoid people trying to compile from the build src dir by mistake 2008-10-20 03:09:19 +00:00
startgtk.editor.c GTK: Fix warnings and errors related to the banners. DONT_BUILD. 2014-11-28 23:47:46 +00:00
startosx.editor.m Fix the Wii build and clean up remaining warnings. DONT_BUILD. 2014-10-19 00:44:23 +00:00
startwin.editor.c Win64 support! (Meaning it works, not that we recommend it for everyday use.) 2012-12-13 02:37:20 +00:00
texcache.c Minor cleanups, mostly just formatting. DONT_BUILD. 2014-11-22 12:34:29 +00:00
textfont.c textfont.c: make TAB character display blank. 2013-11-04 22:56:06 +00:00
voxmodel.c engine.c: style-cleanup drawvox(). Also clean up ALL of voxmodel.c. 2014-12-26 17:29:48 +00:00
wiibits.c Wii: Add a custom exception handler that saves the crash information to the log and directs the user to submit it to us. DONT_BUILD. 2014-12-17 13:02:21 +00:00
winbits.c Restore SDL 1.2 on Windows to a working state. DONT_BUILD. 2014-11-29 03:07:33 +00:00
winlayer.c Wii: Fix build. DONT_BUILD. 2014-12-09 23:56:54 +00:00
xxhash.c Update xxhash to r36 2014-09-30 04:04:12 +00:00