Subversion Repositories eduke32

Rev

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/lunacon.lua CON: Add undefinevolume, undefineskill, and undefinelevel.  
4962 2367d 2h helixhorned /polymer/eduke32/source/lunatic/lunacon.lua LunaCON: make -fbad-getactorvar-use-pli enabled by default. DONT_BUILD.  
4928 2388d 19h 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 2399d 21h helixhorned /polymer/eduke32/source/lunatic/lunacon.lua Lunatic: in control/lua, sync ALLOWED_VIEWTYPE with change from r4814 (allow 2).

DONT_BUILD.
 
4874 2401d 1h 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
http://forums.duke4.net/topic/7869-determining-closeness-to-a-wall/
 
4860 2408d 4h helixhorned /polymer/eduke32/source/lunatic/lunacon.lua Lunatic translator: add stand-alone option -fnames, generating names.h file.  
4841 2410d 2h 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 2422d 21h helixhorned /polymer/eduke32/source/lunatic/lunacon.lua LunaCON: expose more members, properly handle setting ud.screen_size.

BUILD_LUNATIC.
 
4800 2429d 22h 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 2430d 20h helixhorned /polymer/eduke32/source/lunatic/lunacon.lua LunaCON: implement 'qstrncat' command.  
4588 2520d 1h 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 2527d 8h 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 2527d 8h helixhorned /polymer/eduke32/source/lunatic/lunacon.lua LunaCON: ignore internal flag in gamevar redef check; allow "Pals" member.  
4570 2549d 23h helixhorned /polymer/eduke32/source/lunatic/lunacon.lua LunaCON: properly initialize values of session (NODEFAULT) gamevars.  
4567 2556d 2h 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 2579d 10h 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 2632d 9h helixhorned /polymer/eduke32/source/lunatic/lunacon.lua LunaCON: add read-only variable 'Numsprites', r/w userdef member .mouseaiming.  
4473 2632d 9h helixhorned /polymer/eduke32/source/lunatic/lunacon.lua LunaCON: allow '.' as non-first identifer character.  
4381 2695d 4h helixhorned /polymer/eduke32/source/lunatic/lunacon.lua LunaCON: patch up off-by-one line numbering problem. DONT_BUILD.  
4374 2696d 5h 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