Subversion Repositories eduke32


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

Filtering Options

Rev Age Author Path Log message Diff
4977 2285d 21h hendricks266 /polymer/eduke32/source/lunatic/lunacon.lua CON: Add undefinevolume, undefineskill, and undefinelevel.  
4962 2287d 10h helixhorned /polymer/eduke32/source/lunatic/lunacon.lua LunaCON: make -fbad-getactorvar-use-pli enabled by default. DONT_BUILD.  
4928 2309d 3h hendricks266 /polymer/eduke32/source/lunatic/lunacon.lua 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.
4878 2320d 5h helixhorned /polymer/eduke32/source/lunatic/lunacon.lua Lunatic: in control/lua, sync ALLOWED_VIEWTYPE with change from r4814 (allow 2).

4874 2321d 8h helixhorned /polymer/eduke32/source/lunatic/lunacon.lua CON: always return non-negative values from 'clipmove' and related.

Previously, the C function clipmove() returned negative values when hit a
wall (32768+wallnum) or sprite (49152+spritenum) because internally,
these values were encoded into a *signed* 16-bit integer. This made no
difference to C code using it, since it always proceeded by bit checks,
but was inconsistent with documentation on CON 'clipmove' on the wiki.

The following commands are affected too, since they use the value returned
by clipmove(): 'clipmovenoslide', 'movesprite'. Also, the value of
actor[].movflag ('htmovflag' from CON).

Also, fix 'clipmove*' in LunaCON and add lunatic/test/checknearwall.con
as an example of how to implement a being-close-to-a-wall checker as
requested in
4860 2328d 11h helixhorned /polymer/eduke32/source/lunatic/lunacon.lua Lunatic translator: add stand-alone option -fnames, generating names.h file.  
4841 2330d 10h helixhorned /polymer/eduke32/source/lunatic/lunacon.lua CON: allow passing more than one flag to the 'spriteflags' directive.

These will be bitwise-OR'd.
4814 2343d 5h helixhorned /polymer/eduke32/source/lunatic/lunacon.lua LunaCON: expose more members, properly handle setting ud.screen_size.

4800 2350d 6h helixhorned /polymer/eduke32/source/lunatic/lunacon.lua voxmodel.c: fix Polymost rendering of voxels.

This reverts/corrects two semantic changes of r4639 as far as what is now
voxmodel.c (formerly part of mdsprite.c) is concerned. One correction ends
up having no effect (m->bscale is always 1.f for voxel models, as far as I
can see), but is the proper rewrite.

Also, in osdcmds.c:registerosdcommands(), tweak two help strings.
4795 2351d 4h helixhorned /polymer/eduke32/source/lunatic/lunacon.lua LunaCON: implement 'qstrncat' command.  
4588 2440d 9h helixhorned /polymer/eduke32/source/lunatic/lunacon.lua Get rid of EnvMusicFilename[] and use MapInfo[].musicfn for that.

The additional space was there all the time, so it's not understandable why
another array was necessary.
CON: for 'music', error if volume number is outside [0 .. MAXVOLUMES+1], and
in LunaCON, additionally warn if it's MAXVOLUMES+1 (0 is preferred for that).
4583 2447d 16h helixhorned /polymer/eduke32/source/lunatic/lunacon.lua LunaCON: implement 'qsubstr' command. Add source/lunatic/test/qsubstr.con.

In C-CON's qsubstr, error if <start> is not in [0 .. MAXQUOTELEN-1]
or <length> is negative.
4581 2447d 16h helixhorned /polymer/eduke32/source/lunatic/lunacon.lua LunaCON: ignore internal flag in gamevar redef check; allow "Pals" member.  
4570 2470d 7h helixhorned /polymer/eduke32/source/lunatic/lunacon.lua LunaCON: properly initialize values of session (NODEFAULT) gamevars.  
4567 2476d 10h 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 2499d 18h 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.

4475 2552d 17h helixhorned /polymer/eduke32/source/lunatic/lunacon.lua LunaCON: add read-only variable 'Numsprites', r/w userdef member .mouseaiming.  
4473 2552d 17h helixhorned /polymer/eduke32/source/lunatic/lunacon.lua LunaCON: allow '.' as non-first identifer character.  
4381 2615d 12h helixhorned /polymer/eduke32/source/lunatic/lunacon.lua LunaCON: patch up off-by-one line numbering problem. DONT_BUILD.  
4374 2616d 13h 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.

Show All