Subversion Repositories eduke32

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
5029 2399d 6h helixhorned /polymer/eduke32/source/lunatic/lunacon.lua Lunatic: update user_defs, CPLUSPLUS=0 in synthesis.sh, disable 'cutscene' for now.

BUILD_LUNATIC.
 
5026 2399d 6h helixhorned /polymer/eduke32/source/lunatic/lunacon.lua Lunatic: fix a couple of typo-like issues found by listglobals.sh. DONT_BUILD.  
5022 2401d 4h helixhorned /polymer/eduke32/source/lunatic/lunacon.lua gamedef.c: tweak g_keywdate[] entries.  
5008 2404d 9h helixhorned /polymer/eduke32/source/lunatic/lunacon.lua LunaCON: add 'cutscene' and 'ifcutscene' as NYI commands. DONT_BUILD.  
4977 2412d 20h hendricks266 /polymer/eduke32/source/lunatic/lunacon.lua CON: Add undefinevolume, undefineskill, and undefinelevel.  
4962 2414d 8h helixhorned /polymer/eduke32/source/lunatic/lunacon.lua LunaCON: make -fbad-getactorvar-use-pli enabled by default. DONT_BUILD.  
4928 2436d 1h 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 2447d 4h helixhorned /polymer/eduke32/source/lunatic/lunacon.lua Lunatic: in control/lua, sync ALLOWED_VIEWTYPE with change from r4814 (allow 2).

DONT_BUILD.
 
4874 2448d 7h 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 2455d 10h helixhorned /polymer/eduke32/source/lunatic/lunacon.lua Lunatic translator: add stand-alone option -fnames, generating names.h file.  
4841 2457d 8h 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 2470d 3h helixhorned /polymer/eduke32/source/lunatic/lunacon.lua LunaCON: expose more members, properly handle setting ud.screen_size.

BUILD_LUNATIC.
 
4800 2477d 5h 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 2478d 3h helixhorned /polymer/eduke32/source/lunatic/lunacon.lua LunaCON: implement 'qstrncat' command.  
4588 2567d 8h 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 2574d 14h 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 2574d 14h helixhorned /polymer/eduke32/source/lunatic/lunacon.lua LunaCON: ignore internal flag in gamevar redef check; allow "Pals" member.  
4570 2597d 6h helixhorned /polymer/eduke32/source/lunatic/lunacon.lua LunaCON: properly initialize values of session (NODEFAULT) gamevars.  
4567 2603d 8h 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 2626d 17h 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.
 

Show All