raze-gles/polymer/eduke32/source
helixhorned ebbf4d79ce Clean up VOC in-memory block type parsing.
- Maintain a position relative to the start of the data. VOC doesn't
  mandate an EOF marker (blocktype 0). If we go over the end, fake
  that marker, so as to restart a looping sound or stop a one-shot one.
  This fixes an uninitialized mem access with the corrupt SNAKRM.VOC.
- When encountering the EOF marker, don't read the 3 bytes of block size,
  since they may not be there.
- Read blocksize by ORing and shifting the 3 bytes, not with *(int32_t *)...

git-svn-id: https://svn.eduke32.com/eduke32@2346 1a8010ca-5511-0410-912e-c29ae57300e0
2012-02-16 19:24:28 +00:00
..
enet ENet 1.3.3 2011-08-12 06:07:21 +00:00
jaudiolib Clean up VOC in-memory block type parsing. 2012-02-16 19:24:28 +00:00
jmact jmact/control.c: rewrite strange looking loop. 2012-02-11 11:52:33 +00:00
lunatic Lunatic: interface to events. 2012-02-09 22:45:18 +00:00
misc Updated synthesis script, moved some non-essential files around, updated license headers on all non-BUILDLIC files, added memory cache on top of texcache to improve load times, moved some duplicated keyboard handling stuff from winlayer/sdlayer to baselayer, fixed keypad / in Mapster32 tile selector, fixed bug where p->rotscrnang and p->look_ang never reset to 0, added support for reloading maphack based polymer lights after mode changes/savegame loads, other minor changes 2010-05-25 10:56:00 +00:00
_functio.h rotatesprite and multivoc have a rape baby 2010-06-22 21:50:01 +00:00
_midi.h Hack MIDI back in for win32 2009-07-27 10:46:42 +00:00
_rts.h Updated synthesis script, moved some non-essential files around, updated license headers on all non-BUILDLIC files, added memory cache on top of texcache to improve load times, moved some duplicated keyboard handling stuff from winlayer/sdlayer to baselayer, fixed keypad / in Mapster32 tile selector, fixed bug where p->rotscrnang and p->look_ang never reset to 0, added support for reloading maphack based polymer lights after mode changes/savegame loads, other minor changes 2010-05-25 10:56:00 +00:00
actors.c Fix a couple of out-of-bounds accesses when roaming around with noclip. 2012-02-14 23:13:38 +00:00
actors.h Fix actor[].dispicnum becoming negative. 2012-01-12 20:48:00 +00:00
anim.c legibility improvements: rotatesprite(..., 0,0,xdim-1,ydim-1) -> rotatesprite_fs 2012-02-02 17:35:05 +00:00
anim.h Possibility of specifying sounds for a VPX anim-replacement via DEF. 2012-01-10 23:43:54 +00:00
animvpx.c In VPX 3 planed --> packed conversion code, pull constant expressions out of 2012-01-10 23:43:33 +00:00
animvpx.h VP8 video playback as (side-by-side) replacement of ANM moving pictures. 2011-07-18 19:06:29 +00:00
astub.c Mapster32: don't use lazy tile loading with r_hightile=0. 2012-02-16 19:24:09 +00:00
config.c Remove a couple of nested externs and #include some headers directly 2012-01-27 15:03:55 +00:00
config.h Consolidate POLYMOST preprocessor define into USE_OPENGL, remove SUPERBUILD preprocessor define, add additional mode to neartag() to skip sprite searches and speed up processing (and enable for CON_OPERATE), fix issue with nearby single instance sounds not playing due to out of range sounds blocking their playback, fix issue with settings.cfg being reset to default bindings when running a mod that specifies its own cfg base name, improve CON structure member interface read/write performance, fix a bug with CON "move" pointer validation 2011-03-04 08:50:58 +00:00
demo.c Fix menu text not drawing when not playing (back), introduced in r2326. 2012-02-11 11:51:48 +00:00
demo.h Rewrite the savegame format in terms of the generic saving/loading system. 2011-12-25 15:34:06 +00:00
duke3d.h Debugging helper disabling a.nasm calls with OpenGL renderers. 2012-02-12 13:47:33 +00:00
function.h EDuke32: Various menu tweaks and one fix. 2012-02-04 14:30:54 +00:00
game.c Debugging helper disabling a.nasm calls with OpenGL renderers. 2012-02-12 13:47:33 +00:00
game.h Fix oob accesses when e.g. shooting tile -1. (can propagate via WEAPONx_SHOOTS) 2012-01-19 21:58:23 +00:00
gamedef.c Use a tokenlist for the event names and add tokenlist typedef to gamedef.h. 2012-02-09 22:44:26 +00:00
gamedef.h Use a tokenlist for the event names and add tokenlist typedef to gamedef.h. 2012-02-09 22:44:26 +00:00
gamedefs.h Updated synthesis script, moved some non-essential files around, updated license headers on all non-BUILDLIC files, added memory cache on top of texcache to improve load times, moved some duplicated keyboard handling stuff from winlayer/sdlayer to baselayer, fixed keypad / in Mapster32 tile selector, fixed bug where p->rotscrnang and p->look_ang never reset to 0, added support for reloading maphack based polymer lights after mode changes/savegame loads, other minor changes 2010-05-25 10:56:00 +00:00
gameexec.c Lunatic: interface to events. 2012-02-09 22:45:18 +00:00
gameexec.h Add some #includes to gameexec.h and sector.h so that they can be included directly 2012-02-09 22:44:45 +00:00
gamestructures.c CON: make the 'palette' player member actually return the player's palette ID 2011-12-29 14:26:30 +00:00
gamevars.c Fix oob accesses when e.g. shooting tile -1. (can propagate via WEAPONx_SHOOTS) 2012-01-19 21:58:23 +00:00
gamevars.h Fix crashes on 64-bit due to unintended address truncation on ptr vars 2011-09-04 23:06:12 +00:00
global.c Beauty tweaks; revert s_buildDate since we don't want windows builds to pull 2011-12-25 15:33:24 +00:00
global.h Add some #includes to gameexec.h and sector.h so that they can be included directly 2012-02-09 22:44:45 +00:00
GNU.TXT
grpscan.c Fix NAM/WW2GI support... 2011-04-25 18:58:14 +00:00
grpscan.h Updated synthesis script, moved some non-essential files around, updated license headers on all non-BUILDLIC files, added memory cache on top of texcache to improve load times, moved some duplicated keyboard handling stuff from winlayer/sdlayer to baselayer, fixed keypad / in Mapster32 tile selector, fixed bug where p->rotscrnang and p->look_ang never reset to 0, added support for reloading maphack based polymer lights after mode changes/savegame loads, other minor changes 2010-05-25 10:56:00 +00:00
keys.h Updated synthesis script, moved some non-essential files around, updated license headers on all non-BUILDLIC files, added memory cache on top of texcache to improve load times, moved some duplicated keyboard handling stuff from winlayer/sdlayer to baselayer, fixed keypad / in Mapster32 tile selector, fixed bug where p->rotscrnang and p->look_ang never reset to 0, added support for reloading maphack based polymer lights after mode changes/savegame loads, other minor changes 2010-05-25 10:56:00 +00:00
m32def.c trivial tweaks: make stuff static, remove unused stuff, formatting... 2012-01-19 21:57:22 +00:00
m32def.h Somewhat largish commit with various keyboard tinkering for Mapster. 2011-11-25 09:51:06 +00:00
m32exec.c M32Script: when failing to compile a state with a menu name, don't keep the 2011-12-04 21:20:48 +00:00
m32structures.c Addresses posts #180 and #181 of the TROR thread. Specifically, 2011-07-04 21:20:59 +00:00
m32vars.c Various cleanup work: 2011-08-17 18:52:54 +00:00
macros.h Multiplayer improvements 2011-02-25 21:50:19 +00:00
mapster32.h Remove a couple of redundant declarations. 2012-02-09 22:45:38 +00:00
mdump.cpp git-svn-id: https://svn.eduke32.com/eduke32@1228 1a8010ca-5511-0410-912e-c29ae57300e0 2009-02-19 09:39:19 +00:00
mdump.h 1. Removed unneeded the svn:executable proprties. These files aren't actually executable. 2008-07-12 14:09:52 +00:00
menus.c Draw translucent black background only when playing (back a demo or oneself). 2012-02-11 11:52:19 +00:00
menus.h Rewrite the savegame format in terms of the generic saving/loading system. 2011-12-25 15:34:06 +00:00
midi.c Makefile: remove ebacktrace1.dll as dependency to eduke32 and mapster32 and 2011-10-27 13:14:06 +00:00
midi.h Hack MIDI back in for win32 2009-07-27 10:46:42 +00:00
mpu401.c Global thermonuclear code rape 2010-08-02 08:13:51 +00:00
mpu401.h Hack MIDI back in for win32 2009-07-27 10:46:42 +00:00
music.c Final round (I hope!) of sound fixes. Should also fix the crash on exit on Windows and the REACTOR sprite size bug. 2010-06-26 08:51:42 +00:00
names.h add two tile labels which Todd forgot to move from GAME.CON to DEFS.CON and therefore did not make it to names.h 2011-08-20 23:27:46 +00:00
namesdyn.c Make savegames between dynamicremap-enabled and -disabled builds compatible. 2012-01-29 21:46:44 +00:00
namesdyn.h Make savegames between dynamicremap-enabled and -disabled builds compatible. 2012-01-29 21:46:44 +00:00
net.c legibility improvements: rotatesprite(..., 0,0,xdim-1,ydim-1) -> rotatesprite_fs 2012-02-02 17:35:05 +00:00
net.h a couple of multiplayer fixes 2011-03-05 01:41:38 +00:00
old.diff Tweakery in various places. 2011-03-17 23:37:38 +00:00
osdcmds.c Check 'bpp' parameter to vidmode OSD command in EDuke32. 2012-02-04 14:30:17 +00:00
osdcmds.h Global thermonuclear code rape 2010-08-02 08:13:51 +00:00
osdfuncs.c legibility improvements: rotatesprite(..., 0,0,xdim-1,ydim-1) -> rotatesprite_fs 2012-02-02 17:35:05 +00:00
osdfuncs.h Updated synthesis script, moved some non-essential files around, updated license headers on all non-BUILDLIC files, added memory cache on top of texcache to improve load times, moved some duplicated keyboard handling stuff from winlayer/sdlayer to baselayer, fixed keypad / in Mapster32 tile selector, fixed bug where p->rotscrnang and p->look_ang never reset to 0, added support for reloading maphack based polymer lights after mode changes/savegame loads, other minor changes 2010-05-25 10:56:00 +00:00
player.c Draw HANDHOLDINGLASER and ~ACCESS with guniqhud=200 and 201, respectively. 2012-02-13 21:38:00 +00:00
player.h Update nedmalloc.dll and fix undesirable FIRE/FIRE2 and COOLEXPLOSION1 behavior from http://forums.duke4.net/index.php?showtopic=2961&st=90&start=90 2011-03-05 03:57:15 +00:00
premap.c Fix a couple of out-of-bounds accesses when roaming around with noclip. 2012-02-14 23:13:38 +00:00
premap.h Factor out filename-based music setup code into G_SetupFilenameBasedMusic. 2011-12-25 15:32:30 +00:00
quotes.h Multiplayer improvements 2011-02-25 21:50:19 +00:00
rev.h Use svn revision numbers in synthesis build strings 2011-03-04 09:29:03 +00:00
rts.c Global thermonuclear code rape 2010-08-02 08:13:51 +00:00
rts.h Possibly fix another weird crash 2010-08-07 23:14:23 +00:00
savegame.c When loading a map and in a few other places, reset screen tinting. 2012-02-02 17:34:16 +00:00
savegame.h Rewrite the savegame format in terms of the generic saving/loading system. 2011-12-25 15:34:06 +00:00
sdlmusic.c Eliminate all 'variable ... set but not used [-Wunused-but-set-variable]' 2011-10-17 18:42:10 +00:00
sector.c Fix use of an uninitialized variable in P_FindWall->FindDistance2D with noclip. 2012-02-14 23:14:07 +00:00
sector.h Add some #includes to gameexec.h and sector.h so that they can be included directly 2012-02-09 22:44:45 +00:00
soundefs.h update soundefs.h to match the final v1.5 DEFS.CON 2011-08-20 23:27:58 +00:00
sounds.c sounds.c: check the sound number before accessing arrays with it; always do 2012-01-10 23:44:49 +00:00
sounds.h New CON command 2011-11-03 23:08:54 +00:00
sounds_mapster32.c Fix sprite[-1] access when aborting playing a sound in Mapster's Sound Index. 2012-01-23 19:13:00 +00:00
sounds_mapster32.h Increase MAXSOUNDS to 4096, making the maximum valid sound ID be 4093. 2011-10-30 19:48:46 +00:00
standard.h Hack MIDI back in for win32 2009-07-27 10:46:42 +00:00
startgtk.game.c Oops, missed a segment when applying the patch from bioman by hand 2011-01-31 18:16:11 +00:00
startwin.game.c Consolidate POLYMOST preprocessor define into USE_OPENGL, remove SUPERBUILD preprocessor define, add additional mode to neartag() to skip sprite searches and speed up processing (and enable for CON_OPERATE), fix issue with nearby single instance sounds not playing due to out of range sounds blocking their playback, fix issue with settings.cfg being reset to default bindings when running a mod that specifies its own cfg base name, improve CON structure member interface read/write performance, fix a bug with CON "move" pointer validation 2011-03-04 08:50:58 +00:00
startwin.game.h Updated synthesis script, moved some non-essential files around, updated license headers on all non-BUILDLIC files, added memory cache on top of texcache to improve load times, moved some duplicated keyboard handling stuff from winlayer/sdlayer to baselayer, fixed keypad / in Mapster32 tile selector, fixed bug where p->rotscrnang and p->look_ang never reset to 0, added support for reloading maphack based polymer lights after mode changes/savegame loads, other minor changes 2010-05-25 10:56:00 +00:00
winbits.c mostly multiplayer fixes among other things 2010-07-19 15:14:00 +00:00