Subversion Repositories eduke32

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
5039 2301d 4h hendricks266 /polymer/eduke32/source/lunatic/lunacon.lua CON: Add "resetplayerflags". Flag 1 means "don't ask the user if they want to load".  
5036 2303d 16h helixhorned /polymer/eduke32/source/lunatic/lunacon.lua LunaCON: add 'definevolumeflags' to keyword pattern, re-apply some changes of r5026.

DONT_BUILD.
 
5033 2310d 8h hendricks266 /polymer/eduke32/source/lunatic/lunacon.lua CON: Add "definevolumeflags", currently equipped to hide an episode from the single player and/or multiplayer screens.

enum
{
EF_HIDEFROMSP = 1<<0,
EF_HIDEFROMMP = 1<<1,
};
 
5031 2310d 9h hendricks266 /polymer/eduke32/source/lunatic/lunacon.lua CON: Rename "cutscene" command to "startcutscene".  
5029 2310d 11h helixhorned /polymer/eduke32/source/lunatic/lunacon.lua Lunatic: update user_defs, CPLUSPLUS=0 in synthesis.sh, disable 'cutscene' for now.

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

DONT_BUILD.
 
4874 2359d 12h 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 2366d 15h helixhorned /polymer/eduke32/source/lunatic/lunacon.lua Lunatic translator: add stand-alone option -fnames, generating names.h file.  
4841 2368d 13h 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 2381d 8h helixhorned /polymer/eduke32/source/lunatic/lunacon.lua LunaCON: expose more members, properly handle setting ud.screen_size.

BUILD_LUNATIC.
 
4800 2388d 10h 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 2389d 8h helixhorned /polymer/eduke32/source/lunatic/lunacon.lua LunaCON: implement 'qstrncat' command.  
4588 2478d 13h 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 2485d 19h 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.
 

Show All