Subversion Repositories eduke32


Go to most recent revision | Show changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
4997 2322d 8h terminx / A whole bunch of mostly insignificant changes that didn't deserve separate commits. DONT_BUILD.  
4996 2322d 8h terminx / Get rid of the "press space to restart" message on mobile. DONT_BUILD.  
4995 2322d 8h terminx / Forgotten changes from a previous commit that renamed functions. DONT_BUILD.  
4994 2322d 8h terminx / Android fixes: let the player climb stairs while crouched and fix the quick switch function of the weapon wheel. DONT_BUILD.  
4993 2322d 8h terminx / Android menu changes. Moves a few settings in-game instead of in crappy system UI dialogs. DONT_BUILD.  
4992 2322d 8h terminx / Android SDLayer changes. DONT_BUILD.  
4991 2322d 8h terminx / Remove errant call to G_FadePalette() which caused a frame of corruption at map load under GL renderers, and invalidate all GL textures at map load time (just textures generated from .art on desktop, everything on mobile). This also makes Grabbag keep playing through the loading screen on Android (if no loadscreen music has been defined by a mod). DONT_BUILD.  
4990 2322d 8h terminx / Android savegame hacks. DONT_BUILD.  
4989 2322d 8h terminx / More Android changes. DONT_BUILD.  
4988 2322d 8h terminx / C-CON changes  
4987 2322d 8h terminx / Animation system overhaul part 1. This allows for an unlimited number of .anm/.ivf files to be defined via duke3d.def and played back at any time with the new CON commands. Syntax is currently as follows, but may change:

cutscene "somefile.anm" { delay 10 } // defines somefile.anm with a delay of 10 120Hz tics between frames. a more typical framerate method may come later, but this is how the originals worked.

Once defined, they can be played through CON with the new playback command, also called "cutscene". It works like this:

definequote 12345 somefile.anm
define ANIM_SOMEFILE 12345


cutscene ANIM_SOMEFILE // halts game execution and immediately plays cutscene, resuming execution when finished


Sounds can be played during animations (and tiles can be overlaid, etc) like this:

ifcutscene ANIM_SOMEFILE
ifvare RETURN 12 // frame 12
sound FLY_BY
rotatesprite ...

The value of the RETURN var at the end of EVENT_CUTSCENE determines the next frame to play. This can be used for looping, etc. Attempting to play animations backwards outright is not advised as animations only seek in one direction (so rewinding requires running it through from frame 0 again). This is will WIP and hasn't been heavily tested at all, so please try it out.
4986 2322d 8h terminx / Minor sound cleanup... clean up crappy old code, remove obsolete "FXDevice" and "MusicDevice" variables, etc.  
4985 2322d 8h terminx / Rename build configurations in VS project. DONT_BUILD.  
4984 2322d 8h terminx / Minor engine cleanup  
4983 2322d 8h terminx / Fix program entry point on win32, allows debugging SDL builds under MSVC.  
4982 2322d 8h terminx / Macro for handling ud.bgstretch. DONT_BUILD.  
4981 2322d 8h terminx / More twalltype  
4980 2322d 17h helixhorned / mdsprite.c: in md3load(), allocate m->head.surfs with Xcalloc, amending r4952.

And preventing enormous corruption due to a free() called on a garbage (malloc'd)
pointer values this time. DO_BUILD_VERY_FAST_PLEASE!
4979 2322d 19h helixhorned / Makefile.common: disallow building Lunatic with C++ for now. DONT_BUILD.  
4978 2324d 7h hendricks266 / Provide a RETURN value of -2 to EVENT_DISPLAYLOADINGSCREEN after G_CacheMapData().  

Show All