raze/polymer/eduke32/source/lunatic
helixhorned 6458c0ba34 a.m32: add state 'for_sprites_near_picnum'.
The state quries the user for four values: ref. picnum, target picnum, max.
ldist and a lotag.  Then, for all sprites i (of ref. picnum), for all sprites j
(of target picnum), if ldist(i,j)<=maxldist, sprite j's lotag is changed to the
provided one.

Also add lunatic/test/maputil.lua, containing a similar function but allowing
to customize the selection predicates of the ref. and target sprites, as well
as the action to carry out.

git-svn-id: https://svn.eduke32.com/eduke32@4414 1a8010ca-5511-0410-912e-c29ae57300e0
2014-04-05 11:28:08 +00:00
..
doc Fix the "fix for flying/jumping monsters getting stuck in water". 2014-03-16 14:37:52 +00:00
m32 Rename the external 'gethitickms()' to 'gethiticks()'. 2013-07-07 20:59:05 +00:00
test a.m32: add state 'for_sprites_near_picnum'. 2014-04-05 11:28:08 +00:00
util Lunatic: rename sprite[].filler member to 'blend' on the Lua side. 2014-02-08 14:37:51 +00:00
bcarray.lua Lunatic: remap16 method for engine.shadetab, 2nd attempt at recreating orig. one. 2014-01-05 14:06:14 +00:00
bcheck.lua Lunatic: fix setup under Mapster32, remove a few obsolete lines in defs_common.lua. 2013-12-31 11:51:55 +00:00
bitar.lua Lunatic: prototypical gamevar serialization, currently very CON-centric. 2013-05-20 19:31:42 +00:00
con_lang.lua LunaCON: provide access to wall[].blend. 2014-03-25 21:04:37 +00:00
control.lua LunaCON: qgetsysstr/STR_MAP*NAME: add informative err. msg. for void vol/lev. 2014-03-16 14:37:53 +00:00
defs.ilua Fix the "fix for flying/jumping monsters getting stuck in water". 2014-03-16 14:37:52 +00:00
defs_common.lua Lunatic: extend map-VX walltype by 'blend' member. BUILD_LUNATIC. 2014-03-10 20:08:27 +00:00
defs_m32.ilua Lunatic: add 'engine' module, currently allowing to create custom shade tables. 2013-12-31 11:52:00 +00:00
dis_x64.lua Lunatic: add LuaJIT's 'dump' module, printing traced bytecode, IR and mcode. 2013-03-24 18:54:14 +00:00
dis_x86.lua Lunatic: add LuaJIT's 'dump' module, printing traced bytecode, IR and mcode. 2013-03-24 18:54:14 +00:00
dump.lua A couple of minor changes. 2013-09-05 17:37:44 +00:00
dynsymlist Lunatic: implement passing string label to 'spawn' OSD command. 2014-03-15 14:10:45 +00:00
dynsymlist_m32 Lunatic: add engine.saveLookupDat() and document, related tweaks. 2014-02-16 19:16:06 +00:00
engine.lua Lunatic: add some shade/vis debugging functions. 2014-03-30 13:53:05 +00:00
engine_maptext.lua Lunatic: extend map-VX walltype by 'blend' member. BUILD_LUNATIC. 2014-03-10 20:08:27 +00:00
fs.lua Lunatic: in fs.listpath() use FIND_NOCURDIR. Also document that function. 2013-12-01 18:28:02 +00:00
listglobals.sh Lunatic: gv.getangle() vs. analogous Lua function test, add some anchors to doc. 2013-09-05 17:37:36 +00:00
lunacon.lua LunaCON: patch up off-by-one line numbering problem. DONT_BUILD. 2014-03-16 15:06:20 +00:00
lunatic_game.c Lunatic: Fix compilation of C++ build, but not starting up yet. 2014-01-31 21:13:03 +00:00
lunatic_game.h Lunatic: Fix compilation of C++ build, but not starting up yet. 2014-01-31 21:13:03 +00:00
lunatic_m32.c Lunatic: make it possible to build with LuaJIT 2.1, add -Lopts=profile there. 2013-10-16 19:43:06 +00:00
lunatic_m32.h Lunatic reorganization part 2: split into engine and editor/game parts. 2012-11-10 20:59:00 +00:00
profdemo.lua Lunatic: a couple of small changes. 2013-01-06 18:56:45 +00:00
randgen.lua Lunatic: a couple of trivial changes. 2013-08-18 19:24:25 +00:00
savegame.lua LunaCON: implement NORESET flag for gamevars. 2013-11-08 18:08:37 +00:00
stat.lua Lunatic: a couple of small changes. 2013-01-06 18:56:45 +00:00
strict.lua Lunatic t.: handle prefix-problematic commands for real, definelevelname, ... 2012-06-17 19:45:37 +00:00
test.lua Lunatic: for gameactor(), deprecate AF.replace_hard, make AF.replace default. 2014-03-15 14:10:50 +00:00
v.lua A couple of minor changes. 2013-09-05 17:37:44 +00:00
xmath.lua Lunatic: make hitscan accept ray as vector, add xmath.kangvec. 2013-09-13 20:23:54 +00:00