Build 4416
SVN-
General
Rename sector[].filler member to '.fogpal'. From CON, keep the '.alignto' alias.
Show details
The overall situation is thus as follows: - in C and from Lua, that member is called 'fogpal' - In CON (both C-CON and LunaCON), it's 'fogpal' with 'alignto' being an alias; 'filler' wasn't available before, either. - In m32script, it's 'fogpal' or 'alignto' ('filler' is not available any more)
-
General
In non-lookup OpenGL modes, make sector[].filler (rename pending) override fogpal.
Show details
That is, if that member has a nonzero value, that one is taken for the color of the GL fog instead of (most of the time) sector[].floorpal. "Sky sectors", that is, skyboxes or simply parallaxed floors/ceilings are *not* handled.
-
General
a.m32: add state 'for_sprites_near_picnum'.
Show details
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.
-
General
engine.c: clean up code around wallmost(), owallmost() and grouscan().
-
General
Bump jit/bcsave.lua to the one from LuaJIT 2.0.3.