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/con_lang.lua LunaCON: properly initialize values of session (NODEFAULT) gamevars.  
4567 2475d 13h helixhorned /polymer/eduke32/source/lunatic/con_lang.lua 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/con_lang.lua By request, implement EVENT_ACTIVATECHEAT.  
4475 2551d 20h helixhorned /polymer/eduke32/source/lunatic/con_lang.lua LunaCON: add read-only variable 'Numsprites', r/w userdef member .mouseaiming.  
4448 2580d 7h helixhorned /polymer/eduke32/source/lunatic/con_lang.lua CON: add getactor[]/sprite[] member 'movflags'.

This is exactly the same as the actor[].movflags member in the Lunatic build:
4416 2594d 18h helixhorned /polymer/eduke32/source/lunatic/con_lang.lua Rename sector[].filler member to '.fogpal'. From CON, keep the '.alignto' alias.

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)
4396 2605d 9h helixhorned /polymer/eduke32/source/lunatic/con_lang.lua LunaCON: provide access to wall[].blend.  
4372 2615d 16h helixhorned /polymer/eduke32/source/lunatic/con_lang.lua LunaCON: warn if using reserved bits in 'spriteflags'.

Reserved bits are those that have no predefined SFLAG_* label in CON.
4371 2615d 16h helixhorned /polymer/eduke32/source/lunatic/con_lang.lua 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
4356 2630d 9h helixhorned /polymer/eduke32/source/lunatic/con_lang.lua LunaCON: add and document option -ferror-negative-tag-write.  
4302 2650d 15h helixhorned /polymer/eduke32/source/lunatic/con_lang.lua Lunatic: rename sprite[].filler member to 'blend' on the Lua side.

From LunaCON, remove 'detail' as alias to that member.
4285 2658d 9h helixhorned /polymer/eduke32/source/lunatic/con_lang.lua LunaCON: error on userdefs accesses with non-local current player.

Add lunatic/test/getuserdef.con.
4260 2674d 9h helixhorned /polymer/eduke32/source/lunatic/con_lang.lua Lunatic: make gv.current{Level,Episode} one-based and document them.

Also, in LunaCON, make player .palette member read-only. BUILD_LUNATIC.
4231 2689d 18h helixhorned /polymer/eduke32/source/lunatic/con_lang.lua Lunatic: run EVENT_INIT after initial Lua state creation.  
4230 2692d 13h helixhorned /polymer/eduke32/source/lunatic/con_lang.lua Lunatic: allow access to sprite[].yvel through set_yvel() member, document.

4206 2700d 11h helixhorned /polymer/eduke32/source/lunatic/con_lang.lua 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
4195 2709d 9h helixhorned /polymer/eduke32/source/lunatic/con_lang.lua LunaCON: statically check some member assignments with literal numbers.

And issue warnings whenever the assignment would fail (error) at game time.
4179 2722d 9h helixhorned /polymer/eduke32/source/lunatic/con_lang.lua 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
4177 2722d 9h helixhorned /polymer/eduke32/source/lunatic/con_lang.lua LunaCON: fix assignment to projectile sound/bsound/isound.  
4150 2738d 9h helixhorned /polymer/eduke32/source/lunatic/con_lang.lua LunaCON: add a couple of userdefs members, fix tsprite's sectnum for writing.  

Show All