Subversion Repositories eduke32


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

Filtering Options

Rev Age Author Path Log message Diff
4570 2469d 10h helixhorned /polymer/eduke32/source/lunatic/defs.ilua LunaCON: properly initialize values of session (NODEFAULT) gamevars.  
4567 2475d 13h 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 2522d 7h hendricks266 /polymer/eduke32/source/lunatic/defs.ilua By request, implement EVENT_ACTIVATECHEAT.  
4472 2552d 17h hendricks266 /polymer/eduke32/source/lunatic/defs.ilua Replace some constants with preprocessor macros.  
4428 2590d 11h 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).

4378 2614d 15h 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 2615d 16h helixhorned /polymer/eduke32/source/lunatic/defs.ilua Lunatic: fix 'spawn' OSD command when running with -Lopts=strict.

4375 2615d 16h helixhorned /polymer/eduke32/source/lunatic/defs.ilua Lunatic: fix DBG_.testmembread after r4290.  
4374 2615d 16h 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 2615d 16h 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
4370 2615d 16h 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 2656d 19h helixhorned /polymer/eduke32/source/lunatic/defs.ilua LunaCON: implement 'precache'.  
4285 2658d 9h helixhorned /polymer/eduke32/source/lunatic/defs.ilua LunaCON: error on userdefs accesses with non-local current player.

Add lunatic/test/getuserdef.con.
4262 2670d 10h helixhorned /polymer/eduke32/source/lunatic/defs.ilua Lunatic: document engine.*shadetab() functions. DONT_BUILD.  
4260 2674d 10h 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 2689d 18h 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

- 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
4217 2694d 10h helixhorned /polymer/eduke32/source/lunatic/defs.ilua Lunatic: expose player[].gotweapon, document it and *_weapon() methods.  
4209 2696d 20h helixhorned /polymer/eduke32/source/lunatic/defs.ilua Lunatic: error on invalid static data read like 'sprite.picnum'.  
4206 2700d 12h 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 2722d 9h 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