raze-gles/polymer/eduke32/source/lunatic
helixhorned efdd31d5a9 Guard retrieval of player index (.yvel) from APLAYER sprite.
It is unacceptable that yvel is on one hand modifiable without restriction from
scripting, but can be used as an array index without prior bound check in the C
code. Because that member has an overloaded meaning and is also used for
innocuous purposes such as the green color intensity of an SE light, it's
infeasible to restrict access from scripting. Consequently, we must add bound
checks on the C side. This is the first part of the effort to make .yvel safe,
adding two functions P_Get() and P_GetP(). There are a couple of other uses as
some kind of index.

git-svn-id: https://svn.eduke32.com/eduke32@4226 1a8010ca-5511-0410-912e-c29ae57300e0
2013-12-28 17:04:27 +00:00
..
doc Lunatic: add example toggling forcefield wall to test.lua. 2013-12-28 17:04:18 +00:00
m32 Rename the external 'gethitickms()' to 'gethiticks()'. 2013-07-07 20:59:05 +00:00
test Lunatic: swap con.insetsprite's 4th and 5th positional arguments. 2013-12-26 19:45:06 +00:00
util Add helper utility lunatic/util/cmpart.lua. 2013-12-26 19:45:09 +00:00
bcarray.lua Lunatic: replace 'idx >= BOUND+0ULL' idiom with 'not (idx >= 0 and idx < BOUND)' 2013-07-19 12:49:02 +00:00
bcheck.lua Lunatic: replace 'idx >= BOUND+0ULL' idiom with 'not (idx >= 0 and idx < BOUND)' 2013-07-19 12:49:02 +00:00
bitar.lua Lunatic: prototypical gamevar serialization, currently very CON-centric. 2013-05-20 19:31:42 +00:00
con_lang.lua Scripting: Add EVENT_DAMAGEHPLANE and document it in Lunatic doc Appendix B. 2013-12-20 18:31:33 +00:00
control.lua Guard retrieval of player index (.yvel) from APLAYER sprite. 2013-12-28 17:04:27 +00:00
defs.ilua Lunatic: expose player[].gotweapon, document it and *_weapon() methods. 2013-12-26 19:45:03 +00:00
defs_common.lua Lunatic: error on invalid static data read like 'sprite.picnum'. 2013-12-24 09:44:19 +00:00
defs_m32.ilua Lunatic: provide access to actor-tsprite. 2013-02-01 13:05:20 +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: add 'fs' module containing 'listpath' function, 'd' in global env. 2013-11-11 16:48:23 +00:00
dynsymlist_m32 Lunatic: add forgotten g_argv to dynsymlist_m32. 2013-10-11 13:43:37 +00:00
engine_maptext.lua Lunatic: replace 'idx >= BOUND+0ULL' idiom with 'not (idx >= 0 and idx < BOUND)' 2013-07-19 12:49:02 +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 Lunatic: expose "con.shoot(tilenum, i [, zvel])". Document and add example. 2013-12-20 18:31:20 +00:00
lunatic_game.c Lunatic: slightly tweak the event/actor times printout when exiting. 2013-11-28 21:18:00 +00:00
lunatic_game.h Lunatic: add 'lua' OSD command, permitting to execute arbitrary code. 2013-11-04 22:56: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: add example toggling forcefield wall to test.lua. 2013-12-28 17:04:18 +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