Subversion Repositories eduke32


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

Filtering Options

Rev Age Author Path Log message Diff
4977 2365d 14h hendricks266 /polymer/eduke32/source/lunatic/dynsymlist CON: Add undefinevolume, undefineskill, and undefinelevel.  
4972 2366d 1h helixhorned /polymer/eduke32/source/lunatic/dynsymlist CON: Amend retrieval of STR_*TIME for qgetsysstr, fixing LunaCON and possible oob.

- Add declarations of C functions to defs.ilua, names to dynsymlist,
fix typo in con_lang.lua, ffi.string() calls in control.lua
- Assert that G_LastMapInfoIndex() is always called with ud.last_level >= 1.
(A stricter requirement than necessary to prevent follow-up oob accesses, but
logically the most meaningful.)
- In G_PrintParTime() and G_PrintDesignerTime(), return "<invalid>" if the above
does not hold. This can happen from EVENT_NEWGAME, for example. Add a test to
lunatic/test/qgetsysstr.con. DONT_BUILD.
4928 2388d 19h hendricks266 /polymer/eduke32/source/lunatic/dynsymlist CON: Add new commands "getmusicposition" and "setmusicposition" that operate on the playback position of the current music track.

// Example: Switch between tracks like radio stations.
getmusicposition temp
starttrackvar next_music_track
setmusicposition temp

Only implemented for Ogg Vorbis, FLAC, and XA. Consult the devs before using these commands.
4814 2422d 21h helixhorned /polymer/eduke32/source/lunatic/dynsymlist LunaCON: expose more members, properly handle setting ud.screen_size.

4731 2458d 21h helixhorned /polymer/eduke32/source/lunatic/dynsymlist LunaCON: fix tilesizx[] and tilesizy[] system gamearrays.  
4710 2466d 22h helixhorned /polymer/eduke32/source/lunatic/dynsymlist Lunatic: fix building and startup up to tilesizx[] failure. DONT_BUILD.

- Needed to rip out enum GameEvent_t into own header file to prevent what
would be a circular #include otherwise
- Added some forgotten #ifdef LUNATIC
- updated structure and function declarations on the Lua FFI side
4590 2520d 1h helixhorned /polymer/eduke32/source/lunatic/dynsymlist Lunatic: add actor.move() static function and documentation stub.  
4475 2632d 10h helixhorned /polymer/eduke32/source/lunatic/dynsymlist LunaCON: add read-only variable 'Numsprites', r/w userdef member .mouseaiming.  
4419 2673d 21h helixhorned /polymer/eduke32/source/lunatic/dynsymlist Mapster32/Lunatic: add functionality to connect Lua funcs to menu [;]+[F].

Hook up those from test/shadexfog.lua and some debugging ones from engine.lua.
4370 2696d 5h helixhorned /polymer/eduke32/source/lunatic/dynsymlist 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.
4336 2723d 0h helixhorned /polymer/eduke32/source/lunatic/dynsymlist 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

4309 2731d 5h helixhorned /polymer/eduke32/source/lunatic/dynsymlist Lunatic: update dynsymlists. Move blendtable[] from build.h to engine.c.

4285 2738d 22h helixhorned /polymer/eduke32/source/lunatic/dynsymlist LunaCON: error on userdefs accesses with non-local current player.

Add lunatic/test/getuserdef.con.
4236 2770d 8h helixhorned /polymer/eduke32/source/lunatic/dynsymlist 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
4147 2820d 3h helixhorned /polymer/eduke32/source/lunatic/dynsymlist Lunatic: add 'fs' module containing 'listpath' function, 'd' in global env.

See the updated documentation for (ATM sparse) details.
4145 2823d 1h helixhorned /polymer/eduke32/source/lunatic/dynsymlist Lunatic: add two names forgotten for dynsymlist.

Let's BUILD_LUNATIC to see whether it still works...
4118 2834d 22h helixhorned /polymer/eduke32/source/lunatic/dynsymlist LunaCON: in {save,load}mapstate, warn that saving/restoring gamevars is NYI.  
4112 2842d 7h helixhorned /polymer/eduke32/source/lunatic/dynsymlist LunaCON: implement NODEFAULT flag (1024) as session variables.

This is in contrast to C-CON, where the implications are not clearly obvious.
See this discussion/monologue:

Currently not implemented for session gamevars:
- per-player, will be made a global one instead
- per-actor, will be made a plain per-actor one instead

4092 2851d 6h helixhorned /polymer/eduke32/source/lunatic/dynsymlist Lunatic: add forgotten g_argv to dynsymlist_m32.  
3961 2936d 1h helixhorned /polymer/eduke32/source/lunatic/dynsymlist Retire global 'lastvisinc'.

It was only ever used as upper bound to the time that a visibility change
decays, but since it does that in an exponential fashion, there's really
no point.

Show All