Subversion Repositories eduke32


Show changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
4554 2291d 20h hendricks266 /polymer/eduke32/source/lunatic/ Delete empty folders and update ignore properties.

4540 2304d 19h hendricks266 /polymer/eduke32/source/lunatic/ 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.

4539 2304d 19h hendricks266 /polymer/eduke32/source/lunatic/ Windows: Update libraries.
- libpng to 1.6.12
- LuaJIT to Git HEAD >= 2.0.3
- instructions.txt

4515 2328d 5h hendricks266 /polymer/eduke32/source/lunatic/ By request, implement EVENT_ACTIVATECHEAT.  
4499 2343d 7h helixhorned /polymer/eduke32/source/lunatic/ lunatic/util/build.lua: in readdefs(), add option of requesting picnum->name mapping.

That is, the reverse of what is returned with the first outarg. Use that in
lunatic/util/foreachmap.lua. DONT_BUILD.
4491 2346d 4h helixhorned /polymer/eduke32/source/lunatic/ Bye, bye, B*alloc(), all hail X*alloc()! Replace large portion of the calls...

... and cull code that is dead with the X*alloc() versions since they never
return NULL on requesting memory.

Use something like
git grep '[^Xx]\(m\|c\|re\)alloc *('
git grep '[^Xx]strdup *('
to see places where I left the B*alloc() calls intact.

4483 2347d 5h helixhorned /polymer/eduke32/source/lunatic/ lunatic/util/mapypan.lua: omit MIRROR, don't print maps w/o problematic tiles.  
4480 2353d 17h helixhorned /polymer/eduke32/source/lunatic/ shadexfog.lua: in menu, move creation of debugging shade tables below DEBUG line.

4479 2353d 17h helixhorned /polymer/eduke32/source/lunatic/ lunatic/test/shadexfog.lua: add function create_brightpass_trans().

Also hook it up in the [;]+[F] menu.
4475 2357d 18h helixhorned /polymer/eduke32/source/lunatic/ LunaCON: add read-only variable 'Numsprites', r/w userdef member .mouseaiming.  
4473 2357d 18h helixhorned /polymer/eduke32/source/lunatic/ LunaCON: allow '.' as non-first identifer character.  
4472 2358d 15h hendricks266 /polymer/eduke32/source/lunatic/ Replace some constants with preprocessor macros.  
4456 2376d 8h helixhorned /polymer/eduke32/source/lunatic/ engine.c: after creating gray fog palookup, make its greatest shade map to same color.

Concretely, for all 1 <= i <= 255, make graypalookup[31][i] := graypalookup[31][0].
Also document 'fogpal' in the Lunatic doc.
4448 2386d 5h helixhorned /polymer/eduke32/source/lunatic/ CON: add getactor[]/sprite[] member 'movflags'.

This is exactly the same as the actor[].movflags member in the Lunatic build:
4438 2392d 14h helixhorned /polymer/eduke32/source/lunatic/ shadexfog.lua: in "Save lookups DAT file" entry, allow to save additional lookups.

4437 2392d 14h helixhorned /polymer/eduke32/source/lunatic/ Lunatic: (better) document sector[].visibility, sprite[].clipdist, player[].weapon.  
4429 2395d 9h helixhorned /polymer/eduke32/source/lunatic/ Fix minor help text formatting issues in shadexfog.lua.

Also, fix saving PALETTE.DAT tables without lognumalphatabs byte. DONT_BUILD.
4428 2396d 9h helixhorned /polymer/eduke32/source/lunatic/ 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).

4427 2396d 9h helixhorned /polymer/eduke32/source/lunatic/ LunaCON: fix 'screentext' command.  
4426 2396d 9h helixhorned /polymer/eduke32/source/lunatic/ In ext. PALETTE.DAT, store log2 of last alpha table index. Handle alpha in classic.

The extended PALETTE.DAT format can now carry a trailing byte, called
'lognumalphatables'. If it is present, the engine assumes that alpha blending
tables are loaded at blend indices 1 to 1<<lognumalphatables and handles
rotatesprite's alpha and spriteext[].alpha accordingly.
The ability to save this new byte is added to engine.lua:savePaletteDat()
and the corresponding convenience functions in shadexfog.lua.

Examples test/screentext.con and test/sprite_access.con are updated for
demonstration purposes.

Show All