raze/polymer/eduke32/source
helixhorned af05fe18be sounds.c: Factor out duplicate code into S_CalcDistAndAng().
The two instances in S_PlaySound3D() and S_Update() were slightly
different as far as sequencing is concerned.  However, I think making
it the same has only benefits and may fix some popping sounds when
starting to play a sound and updating it with a different distance
value on the second buffer fill.

git-svn-id: https://svn.eduke32.com/eduke32@2884 1a8010ca-5511-0410-912e-c29ae57300e0
2012-08-13 18:25:51 +00:00
..
enet
jaudiolib Update our prebuilt MinGW libogg/libvorbis/libvorbisfile to the newest versions, courtesy of forum user LeoD 2012-07-06 18:40:54 +00:00
jmact Constify various char* vars, parameters, etc. for more -Wwrite-strings cleanness 2012-07-01 22:11:33 +00:00
lunatic Lunatic: rewrite bitar to use arrays of int32, more convenience ops. 2012-08-10 19:11:43 +00:00
misc
xdelta3 Fix a "set but not used warning" in xdelta3.c, revert definition of XD3_ASSERT. 2012-06-03 19:20:32 +00:00
_functio.h Wii: Minor adjustments to the joystick defaults for the Classic Controller. 2012-07-05 17:55:44 +00:00
_midi.h
_rts.h
actors.c Mass text replacement g_player[p].ps --> ps, part 2 (harder) 2012-08-10 19:11:56 +00:00
actors.h Lunatic: clean up handing of ac/mv internally, add control module. 2012-08-06 20:00:29 +00:00
anim.c VP8: don't call I_ClearAllInput() before idle loop. 2012-07-13 18:20:58 +00:00
anim.h
animvpx.c VP8: clamp GL texture to edge if possible, preventing potential stray lines 2012-07-13 18:21:00 +00:00
animvpx.h VP8: collect times while playing the video and print a summary to the log afterwards. 2012-07-13 18:20:55 +00:00
astub.c High-level TROR drawing: clean up how things are passed around. 2012-08-13 18:25:37 +00:00
common.c Constify various char* vars, parameters, etc. for more -Wwrite-strings cleanness 2012-07-01 22:11:33 +00:00
common_game.h Constify various char* vars, parameters, etc. for more -Wwrite-strings cleanness 2012-07-01 22:11:33 +00:00
config.c Constify various char* vars, parameters, etc. for more -Wwrite-strings cleanness 2012-07-01 22:11:33 +00:00
config.h Constify various char* vars, parameters, etc. for more -Wwrite-strings cleanness 2012-07-01 22:11:33 +00:00
demo.c Massive menu input control revamp/cleanup/factor. (added: input.[ch]) 2012-06-03 16:11:22 +00:00
demo.h
duke3d.h Make DukePlayer_t's transporter_hold an int16_t again. 2012-07-25 18:56:11 +00:00
function.h
game.c Rename args in G_DoSpriteAnimations(), for easier grepping. 2012-08-13 18:25:40 +00:00
game.h Rename args in G_DoSpriteAnimations(), for easier grepping. 2012-08-13 18:25:40 +00:00
gamedef.c Fix the overlooking of EDUKE.CON in the absence of DUKE3D.GRP caused by r2726. Also, tweak a few string literals' use of quotation marks. 2012-06-27 17:45:52 +00:00
gamedef.h Constify various char* vars, parameters, etc. for more -Wwrite-strings cleanness 2012-07-01 22:11:33 +00:00
gamedefs.h Massive menu input control revamp/cleanup/factor. (added: input.[ch]) 2012-06-03 16:11:22 +00:00
gameexec.c Also draw TROR from showview* commands. 2012-08-13 18:25:46 +00:00
gameexec.h Lunatic/LT: provide the predefined labels in con_lang, add "strict" from luajit. 2012-06-17 19:45:33 +00:00
gamestructures.c Mass text replacement g_player[p].ps --> ps, part 1 (the easy one). 2012-08-10 19:11:53 +00:00
gamevars.c The handling for grp, con, and def filenames has been massively cleaned up and factored into common.c. A new header, common_game.h, was created because common.h was placed in build/include (see r2542) and we need a common header for things that strictly should not be in the engine. RTS file names were also improved but some of the patterned changes were already made in r2420, and they were not factored because they are strictly part of the game, not the editor. 2012-06-03 16:09:33 +00:00
gamevars.h Fix gamearrays on 64-bit platforms. 2012-05-25 15:23:48 +00:00
global.c This probably fixes the music breakage caused by r2727. 2012-06-04 22:01:45 +00:00
global.h Lunatic translator: define* et al 2012-06-17 19:45:41 +00:00
GNU.TXT
grpscan.c The handling for grp, con, and def filenames has been massively cleaned up and factored into common.c. A new header, common_game.h, was created because common.h was placed in build/include (see r2542) and we need a common header for things that strictly should not be in the engine. RTS file names were also improved but some of the patterned changes were already made in r2420, and they were not factored because they are strictly part of the game, not the editor. 2012-06-03 16:09:33 +00:00
grpscan.h
input.c Remove BUTTON(gamefunc_Jump) and KB_KeyPressed(sc_Space) from AdvanceTrigger so you can type spaces in savegame names. 2012-07-05 17:53:27 +00:00
input.h Massive menu input control revamp/cleanup/factor. (added: input.[ch]) 2012-06-03 16:11:22 +00:00
keys.h
m32def.c Mapster32: add "extend all highlighted sectors" func to 'F menu via a.m32. 2012-08-06 20:00:35 +00:00
m32def.h
m32exec.c Text-repl.: hitinfo variables -> hit, hit{sprite,sect,wall} members -> no "hit" 2012-08-10 19:12:01 +00:00
m32structures.c
m32vars.c Mapster32: add "extend all highlighted sectors" func to 'F menu via a.m32. 2012-08-06 20:00:35 +00:00
macros.h
mapster32.h
mdump.cpp
mdump.h
menus.c Constify various char* vars, parameters, etc. for more -Wwrite-strings cleanness 2012-07-01 22:11:33 +00:00
menus.h
midi.c
midi.h
mpu401.c
mpu401.h
music.c This should fix the "assignment discards 'const' qualifier" warning in music.c. 2012-07-09 19:00:23 +00:00
names.h
namesdyn.c Constify various char* vars, parameters, etc. for more -Wwrite-strings cleanness 2012-07-01 22:11:33 +00:00
namesdyn.h
net.c net: do strtok on a duplicated string containing the address in Net_Connect(). 2012-06-03 19:20:41 +00:00
net.h
old.diff
osdcmds.c Constify various char* vars, parameters, etc. for more -Wwrite-strings cleanness 2012-07-01 22:11:33 +00:00
osdcmds.h Constify various char* vars, parameters, etc. for more -Wwrite-strings cleanness 2012-07-01 22:11:33 +00:00
osdfuncs.c Prevent integer div-by-0 (SIGFPE) when drawing console background with void tiles. 2012-07-22 11:10:08 +00:00
osdfuncs.h
player.c Text-repl.: hitinfo variables -> hit, hit{sprite,sect,wall} members -> no "hit" 2012-08-10 19:12:01 +00:00
player.h Make DukePlayer_t's transporter_hold an int16_t again. 2012-07-25 18:56:11 +00:00
premap.c High-level TROR drawing: clean up how things are passed around. 2012-08-13 18:25:37 +00:00
premap.h
quotes.h
rev.h
rts.c Fix the overlooking of EDUKE.CON in the absence of DUKE3D.GRP caused by r2726. Also, tweak a few string literals' use of quotation marks. 2012-06-27 17:45:52 +00:00
rts.h
savegame.c This probably fixes the music breakage caused by r2727. 2012-06-04 22:01:45 +00:00
savegame.h
sdlmusic.c Constify various char* vars, parameters, etc. for more -Wwrite-strings cleanness 2012-07-01 22:11:33 +00:00
sector.c Text-repl.: hitinfo variables -> hit, hit{sprite,sect,wall} members -> no "hit" 2012-08-10 19:12:01 +00:00
sector.h
soundefs.h
sounds.c sounds.c: Factor out duplicate code into S_CalcDistAndAng(). 2012-08-13 18:25:51 +00:00
sounds.h First round of sounds.c cleanup, no functional changes. 2012-08-13 18:25:48 +00:00
sounds_mapster32.c
sounds_mapster32.h
standard.h
startgtk.game.c The handling for grp, con, and def filenames has been massively cleaned up and factored into common.c. A new header, common_game.h, was created because common.h was placed in build/include (see r2542) and we need a common header for things that strictly should not be in the engine. RTS file names were also improved but some of the patterned changes were already made in r2420, and they were not factored because they are strictly part of the game, not the editor. 2012-06-03 16:09:33 +00:00
startwin.game.c The handling for grp, con, and def filenames has been massively cleaned up and factored into common.c. A new header, common_game.h, was created because common.h was placed in build/include (see r2542) and we need a common header for things that strictly should not be in the engine. RTS file names were also improved but some of the patterned changes were already made in r2420, and they were not factored because they are strictly part of the game, not the editor. 2012-06-03 16:09:33 +00:00
startwin.game.h
winbits.c