Subversion Repositories eduke32

Rev

Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
4570 2550d 0h helixhorned /polymer/eduke32/source/lunatic/defs.ilua LunaCON: properly initialize values of session (NODEFAULT) gamevars.  
4567 2556d 3h helixhorned /polymer/eduke32/source/lunatic/defs.ilua A couple of Lunatic updates. DONT_BUILD.

- LunaCON: support for setting userdef[].m_volume_number, getting .last_level
- bump con_lang.MAXEVENTS
- fix compilation of astub.c
 
4515 2602d 21h hendricks266 /polymer/eduke32/source/lunatic/defs.ilua By request, implement EVENT_ACTIVATECHEAT.  
4472 2633d 8h hendricks266 /polymer/eduke32/source/lunatic/defs.ilua Replace some constants with preprocessor macros.  
4428 2671d 2h helixhorned /polymer/eduke32/source/lunatic/defs.ilua CON: in rotatespritea and screentext, if alpha < 0, make -alpha denote blend.

For convenience, orientation gets bit 1 (translucency) set automatically.
Again, test/screentext.con is updated to show off this functionality (the
code there assumes that additive blending tables are loaded at blend
numbers 101 -- 132).

BUILD_LUNATIC.
 
4378 2695d 6h helixhorned /polymer/eduke32/source/lunatic/defs.ilua Fix the "fix for flying/jumping monsters getting stuck in water".

In C and Lunatic, split 'jumptoplayer' of enum amoveflags_t / action.MOVFLAGS
into 'jumptoplayer_bits' and 'jumptoplayer_only' (see updated Lunatic doc).
 
4376 2696d 6h helixhorned /polymer/eduke32/source/lunatic/defs.ilua Lunatic: fix 'spawn' OSD command when running with -Lopts=strict.

BUILD_LUNATIC.
 
4375 2696d 6h helixhorned /polymer/eduke32/source/lunatic/defs.ilua Lunatic: fix DBG_.testmembread after r4290.  
4374 2696d 6h helixhorned /polymer/eduke32/source/lunatic/defs.ilua Lunatic: for gameactor(), deprecate AF.replace_hard, make AF.replace default.

That is, always bitwise-OR the per-tile actor flags with the existing ones.
 
4371 2696d 6h helixhorned /polymer/eduke32/source/lunatic/defs.ilua Add new actor flag and predefined CON label SFLAG_NODAMAGEPUSH.

This flag is set from C for some enemies that should not be pushed back when
damaged, such as TANK. Both the tile flag and the per-sprite flag are used
(i.e. the ultimate flag value is the XOR of the two).
Add currently non-functional example to test.lua that attempts to set this bit
for NEWBEAST.
 
4370 2696d 6h helixhorned /polymer/eduke32/source/lunatic/defs.ilua Lunatic: implement passing string label to 'spawn' OSD command.

Unlike in C-CON, it only tries an exact match with the given and uppercased
label, not "full" case-insensitive search.
 
4291 2737d 10h helixhorned /polymer/eduke32/source/lunatic/defs.ilua LunaCON: implement 'precache'.  
4285 2738d 23h helixhorned /polymer/eduke32/source/lunatic/defs.ilua LunaCON: error on userdefs accesses with non-local current player.

Add lunatic/test/getuserdef.con.
 
4262 2751d 0h helixhorned /polymer/eduke32/source/lunatic/defs.ilua Lunatic: document engine.*shadetab() functions. DONT_BUILD.  
4260 2755d 0h helixhorned /polymer/eduke32/source/lunatic/defs.ilua Lunatic: make gv.current{Level,Episode} one-based and document them.

Also, in LunaCON, make player .palette member read-only. BUILD_LUNATIC.
 
4236 2770d 9h helixhorned /polymer/eduke32/source/lunatic/defs.ilua 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!
 
4217 2775d 1h helixhorned /polymer/eduke32/source/lunatic/defs.ilua Lunatic: expose player[].gotweapon, document it and *_weapon() methods.  
4209 2777d 11h helixhorned /polymer/eduke32/source/lunatic/defs.ilua Lunatic: error on invalid static data read like 'sprite.picnum'.  
4206 2781d 2h helixhorned /polymer/eduke32/source/lunatic/defs.ilua Scripting: Add EVENT_DAMAGEHPLANE and document it in Lunatic doc Appendix B.

Also add test/damagehplane.lua with these demonstrations:
- custom breakable ceilings
- breakable TROR glass
 
4179 2802d 23h helixhorned /polymer/eduke32/source/lunatic/defs.ilua LunaCON: disable some player members, tweak decls of others.

The ones disabled are because they were found to not be used in any mod I
tested. Exposing members directly is rarely good API.

- bool toggle_key_flag -> const uint8_t ... (because value 2 is used)
- make scream_voice, cheat_phase read-only
 

Show All