Subversion Repositories eduke32

Rev

Go to most recent revision | Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
4301 2810d 18h helixhorned /source/duke3d/src/lunatic/engine.lua Classic: support for multiple blending tables + Lunatic interfaces.

Currently, sprite[].filler (to be renamed) selects a blending table. If none
is installed with that index, the blending table at index 0 is taken (which is
read from PALETTE.DAT on engine startup). Thus, for now, the non-Lunatic build
will never use a custom blending table because there's no way to register one!
But the functionality is there.
 
4262 2830d 12h helixhorned /source/duke3d/src/lunatic/engine.lua Lunatic: document engine.*shadetab() functions. DONT_BUILD.  
4256 2837d 18h helixhorned /source/duke3d/src/lunatic/engine.lua LunaCON: for readgamevar, if ud.config.scripthandle < 0, keep value, don't err.  
4242 2844d 19h helixhorned /source/duke3d/src/lunatic/engine.lua Lunatic: remap16 method for engine.shadetab, 2nd attempt at recreating orig. one.

BUILD_LUNATIC.
 
4236 2849d 21h helixhorned /source/duke3d/src/lunatic/engine.lua Lunatic: add 'engine' module, currently allowing to create custom shade tables.

Available in the game and editor. Provide test/shadexfog.lua, containing a
function to creating a set of 32 shade tables corresponding to different shades
of the same fog palookup table, together with some tests and convenience
functions.

Also,
- Add gv.LUNATIC_CLIENT{,_EDUKE32,_MAPSTER32}
- Add LUNATIC_FIRST_TIME in the global env for the game
- defs_m32.lua: add reload() convenience function
- Failed attempt at recreating the base shade table. It is NOT a linear ramp
of the base palette colors to (0,0,0). That is, it's not created by
build/util/transpal.exe!