raze/polymer/eduke32/build
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
..
doc Novelty: Add Ken's "todo list from the Build days" alongside his other documentation. 2014-01-12 14:04:19 +00:00
include Add the necessary plumbing to sdlayer to detect mousedown, mouseup, and dragging. 2014-12-27 18:36:43 +00:00
src CON: always return non-negative values from 'clipmove' and related. 2015-01-04 18:44:58 +00:00
buildlic.txt 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
Makefile.deps Wii: Add a console to display startup messages to the screen instead of showing the user a black screen while the game initializes. DONT_BUILD. 2014-12-17 13:01:58 +00:00