raze/polymer/eduke32/source/lunatic/test
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
..
animatesprites.con
checknearwall.con CON: always return non-negative values from 'clipmove' and related. 2015-01-04 18:44:58 +00:00
damagehplane.lua
dangling_else.con
delmusicsfx.lua
else_brace_if.con
event_chaining.con
gamearray.con LunaCON: player[].loogcnt, userdef[].color, minor fixes. 2014-11-07 22:07:10 +00:00
gettimedate.con
getuserdef.con
helixspawner.lua
mapstate.con
maputil.lua
nlcf_break.con
nlcf_return.con
qgetsysstr.con
qsubstr.con
quote_ops.con LunaCON: implement 'qstrncat' command. 2014-12-05 23:12:33 +00:00
rotfixed_actor.con
screentext.con
shadexfog.lua Lunatic: for '(display)rand*', use math.floor(); correct create_additive_trans() help. 2014-12-14 20:48:05 +00:00
sprite_access.con Lunatic: sync MAXJOYAXES, add lunatic/test/sprite_addtv.con. DONT_BUILD. 2014-12-20 13:08:27 +00:00
sprite_addtv.con Lunatic: sync MAXJOYAXES, add lunatic/test/sprite_addtv.con. DONT_BUILD. 2014-12-20 13:08:27 +00:00
switch.con
tables.lua
test_bitar.lua
test_dists.lua
test_geom.lua
test_rotspr.lua
weaponvars.con