Subversion Repositories eduke32

Rev

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/lunacon.lua LunaCON: properly initialize values of session (NODEFAULT) gamevars.  
4567 2475d 12h helixhorned /polymer/eduke32/source/lunatic/lunacon.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
 
4540 2498d 21h hendricks266 /polymer/eduke32/source/lunatic/lunacon.lua Lunatic fixes:
1 compiler error.
2 compiler warnings.
1 runtime warning.

Note that at this time, CPLUSPLUS=1 LUNATIC=1 fails to build due to C++ function mangling, and Win64 Lunatic crashes.

DONT_BUILD.
 
4475 2551d 20h helixhorned /polymer/eduke32/source/lunatic/lunacon.lua LunaCON: add read-only variable 'Numsprites', r/w userdef member .mouseaiming.  
4473 2551d 20h helixhorned /polymer/eduke32/source/lunatic/lunacon.lua LunaCON: allow '.' as non-first identifer character.  
4381 2614d 15h helixhorned /polymer/eduke32/source/lunatic/lunacon.lua LunaCON: patch up off-by-one line numbering problem. DONT_BUILD.  
4374 2615d 16h helixhorned /polymer/eduke32/source/lunatic/lunacon.lua 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.
 
4373 2615d 16h helixhorned /polymer/eduke32/source/lunatic/lunacon.lua LunaCON: warn if a 'spriteflags' is issued after its actor definition...

... or another 'spriteflags' or 'sprite*' directive.
 
4372 2615d 16h helixhorned /polymer/eduke32/source/lunatic/lunacon.lua LunaCON: warn if using reserved bits in 'spriteflags'.

Reserved bits are those that have no predefined SFLAG_* label in CON.
 
4356 2630d 9h helixhorned /polymer/eduke32/source/lunatic/lunacon.lua LunaCON: add and document option -ferror-negative-tag-write.  
4299 2650d 15h helixhorned /polymer/eduke32/source/lunatic/lunacon.lua LunaCON: add and document -Wnever-used-gamevar and -Wnever-read-gamevar.  
4291 2656d 19h helixhorned /polymer/eduke32/source/lunatic/lunacon.lua LunaCON: implement 'precache'.  
4290 2657d 13h helixhorned /polymer/eduke32/source/lunatic/lunacon.lua LunaCON: add option -ferror-nonlocal-userdef, on by default.

BUILD_LUNATIC.
 
4287 2657d 13h helixhorned /polymer/eduke32/source/lunatic/lunacon.lua LunaCON: accept empty square brackets for {g,s}etuserdef optional index part.  
4285 2658d 9h helixhorned /polymer/eduke32/source/lunatic/lunacon.lua LunaCON: error on userdefs accesses with non-local current player.

Add lunatic/test/getuserdef.con.
 
4275 2661d 11h helixhorned /polymer/eduke32/source/lunatic/lunacon.lua TROR: when clearing bunch number of c/f with yax_setbunch(), don't reset xpanning.

In the non-Lunatic build naturally, since the Lunatic one uses its own member.
 
4266 2665d 8h helixhorned /polymer/eduke32/source/lunatic/lunacon.lua LunaCON: add codegen option -fbad-getactorvar-use-pli for C-CON compatibility.

Also, improve -Wnumber-conversion warning by printing the resulting number.
BUILD_LUNATIC.
 
4260 2674d 9h helixhorned /polymer/eduke32/source/lunatic/lunacon.lua Lunatic: make gv.current{Level,Episode} one-based and document them.

Also, in LunaCON, make player .palette member read-only. BUILD_LUNATIC.
 
4256 2677d 15h helixhorned /polymer/eduke32/source/lunatic/lunacon.lua LunaCON: for readgamevar, if ud.config.scripthandle < 0, keep value, don't err.  
4201 2700d 11h helixhorned /polymer/eduke32/source/lunatic/lunacon.lua Lunatic: expose "con.shoot(tilenum, i [, zvel])". Document and add example.  

Show All