Subversion Repositories eduke32

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
4977 2285d 22h hendricks266 /polymer/eduke32/source/gamedef.c CON: Add undefinevolume, undefineskill, and undefinelevel.  
4970 2286d 20h hendricks266 /polymer/eduke32/source/gamedef.c CON: Add read-only access to ud.config.MusicToggle through the "musictoggle" member.  
4969 2286d 20h hendricks266 /polymer/eduke32/source/gamedef.c CON: Add STR_YOURTIME, STR_PARTIME, STR_DESIGNERTIME, and STR_BESTTIME to qgetsysstr.  
4968 2286d 20h hendricks266 /polymer/eduke32/source/gamedef.c Factor out generation of strings for time values in the bonus screen. This involves the creation of ud.playerbest.  
4956 2289d 12h helixhorned /polymer/eduke32/source/gamedef.c Add SFLAG_NOWATERDIP, unconditionally preventing actors from dipping into ST1 water.

By default, the following enemies have this flag set: OCTABRAIN, COMMANDER, DRONE.
DONT_BUILD.
 
4945 2300d 16h hendricks266 /polymer/eduke32/source/gamedef.c Add events EVENT_DISPLAYINACTIVEMENU and EVENT_DISPLAYINACTIVEMENUREST and userdef members m_origin_x and m_origin_y.

This allows for CON screen display code to use menu animations. The following is an example of how to adapt screen features that should animate.

before:

onevent EVENT_DISPLAYMENUREST
ifvare current_menu 0 // main menu
{
setvar x 1
setvar y 1
rotatesprite x y zoom ang tilenum shade pal orientation 0 0 xdim ydim
}
endevent

after:

state DisplayMenuCommon
ifvare RETURN 0 // main menu
{
getuserdef[THISACTOR].m_origin_x x
getuserdef[THISACTOR].m_origin_y y
addvar x 65536
addvar y 65536
rotatesprite16 x y zoom ang tilenum shade pal orientation 0 0 xdim ydim
}
ends

onevent EVENT_DISPLAYMENUREST state DisplayMenuCommon endevent
onevent EVENT_DISPLAYINACTIVEMENUREST state DisplayMenuCommon endevent
 
4928 2309d 4h hendricks266 /polymer/eduke32/source/gamedef.c 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.
 
4926 2309d 4h hendricks266 /polymer/eduke32/source/gamedef.c Clean up duplicate and strangely-formed cases in C_ParseCommand().  
4902 2314d 23h terminx /polymer/eduke32/source/gamedef.c Questionable CON changes and optimizations. <3  
4841 2330d 11h helixhorned /polymer/eduke32/source/gamedef.c CON: allow passing more than one flag to the 'spriteflags' directive.

These will be bitwise-OR'd.
 
4840 2330d 11h helixhorned /polymer/eduke32/source/gamedef.c gamedef.c: factor out some dup'd code into C_BitOrNextValue(), C_FinishBitOr().  
4680 2393d 0h terminx /polymer/eduke32/source/gamedef.c Another 5000 lines of pain and tears. DONT_BUILD.  
4628 2418d 0h terminx /polymer/eduke32/source/gamedef.c Free h_labels table when done compiling CONs  
4588 2440d 10h helixhorned /polymer/eduke32/source/gamedef.c 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).
 
4586 2440d 10h helixhorned /polymer/eduke32/source/gamedef.c More music-related cleanup.  
4582 2447d 17h helixhorned /polymer/eduke32/source/gamedef.c Fix crash using INTERNAL DEFAULTS after CON error when CON modules were given.  
4541 2489d 19h hendricks266 /polymer/eduke32/source/gamedef.c Replace the funkily-formatted GNU.TXT with the FSF's official gpl-2.0.txt. Also, update the FSF's address in all source files that contain it.

DONT_BUILD.
 
4537 2503d 5h hendricks266 /polymer/eduke32/source/gamedef.c Miscellaneous get/set(this)projectile cleanup.  
4516 2523d 5h hendricks266 /polymer/eduke32/source/gamedef.c Instead of displaying "Unknown GRP - EDuke32", simply display "EDuke32".

Much classier this way.
 
4515 2523d 5h hendricks266 /polymer/eduke32/source/gamedef.c By request, implement EVENT_ACTIVATECHEAT.  

Show All