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 9h helixhorned /polymer/eduke32/source/lunatic/doc/lunatic.txt LunaCON: properly initialize values of session (NODEFAULT) gamevars.  
4456 2570d 10h helixhorned /polymer/eduke32/source/lunatic/doc/lunatic.txt 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 2580d 7h helixhorned /polymer/eduke32/source/lunatic/doc/lunatic.txt CON: add getactor[]/sprite[] member 'movflags'.

This is exactly the same as the actor[].movflags member in the Lunatic build:
http://lunatic.eduke32.com/lunatic.html#actor
 
4437 2586d 15h helixhorned /polymer/eduke32/source/lunatic/doc/lunatic.txt Lunatic: (better) document sector[].visibility, sprite[].clipdist, player[].weapon.  
4378 2614d 15h helixhorned /polymer/eduke32/source/lunatic/doc/lunatic.txt 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).
 
4374 2615d 15h helixhorned /polymer/eduke32/source/lunatic/doc/lunatic.txt 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 15h helixhorned /polymer/eduke32/source/lunatic/doc/lunatic.txt 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.
 
4337 2639d 9h helixhorned /polymer/eduke32/source/lunatic/doc/lunatic.txt Lunatic: engine.setupDebugBasePal(), auto-detect 2nd+ shadexfog.translate().

engine.setupDebugBasePal() set up the water base palette such each of the first
15 "ramps" of 16 consecutive colors has a single, "representative" color. For
example, color indices 0-15 and black, 16-31 are dark gray.
In shadexfog.lua, list remappings from LOOKUP.DAT that are expressible as
remappings of 16-tuples.
 
4336 2642d 10h helixhorned /polymer/eduke32/source/lunatic/doc/lunatic.txt Lunatic: add engine.saveLookupDat() and document, related tweaks.

- Mapster32: before loading LOOKUP.DAT, set palookup[0][239]=239 to
make an identity map of the base shade table's shade 0
- Rewrite color index remapping case of makepalookup() for clarity

BUILD_LUNATIC.
 
4332 2642d 10h helixhorned /polymer/eduke32/source/lunatic/doc/lunatic.txt Lunatic: in shade table 'remap16' method, allow sparse table, document it.

Add shadexfog.createremap() convenience function.
 
4312 2649d 10h helixhorned /polymer/eduke32/source/lunatic/doc/lunatic.txt Extend PALETTE.DAT format to allow carrying additional blending tables.

Lunatic: also, add an additional argument 'moreblends' to
engine.savePaletteDat() and document that function.
See test/shadexfog.lua for a "user-friendly" wrapper shadexfog.save() which
prints success or errors.
 
4308 2650d 15h helixhorned /polymer/eduke32/source/lunatic/doc/lunatic.txt Lunatic: add a 'lastokcol' argument to engine.nearcolor() and document it.

On the C side, slightly rewrite (now) getclosestcol_lim() for clarity.
 
4307 2650d 15h helixhorned /polymer/eduke32/source/lunatic/doc/lunatic.txt Lunatic: document engine.*blendtab() and engine.getrgb() functions.  
4262 2670d 9h helixhorned /polymer/eduke32/source/lunatic/doc/lunatic.txt Lunatic: document engine.*shadetab() functions. DONT_BUILD.  
4260 2674d 9h helixhorned /polymer/eduke32/source/lunatic/doc/lunatic.txt Lunatic: make gv.current{Level,Episode} one-based and document them.

Also, in LunaCON, make player .palette member read-only. BUILD_LUNATIC.
 
4239 2688d 5h helixhorned /polymer/eduke32/source/lunatic/doc/lunatic.txt Lunatic: document fundamentals of shade tables, but not 'engine' API yet.  
4230 2692d 12h helixhorned /polymer/eduke32/source/lunatic/doc/lunatic.txt Lunatic: allow access to sprite[].yvel through set_yvel() member, document.

BUILD_LUNATIC.
 
4224 2692d 12h helixhorned /polymer/eduke32/source/lunatic/doc/lunatic.txt Lunatic: add example toggling forcefield wall to test.lua.  
4218 2694d 9h helixhorned /polymer/eduke32/source/lunatic/doc/lunatic.txt Lunatic: swap con.insetsprite's 4th and 5th positional arguments.  
4217 2694d 9h helixhorned /polymer/eduke32/source/lunatic/doc/lunatic.txt Lunatic: expose player[].gotweapon, document it and *_weapon() methods.  

Show All