Commit Graph
173 Commits
Author SHA1 Message Date
driAn 5487e8e6d0 reduced mapsound checks, use loop option for mapsounds
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2934 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-10-11 13:11:17 +00:00
Lee Salzman e898434f8d only load sounds when necessary
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2918 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-10-11 06:21:34 +00:00
Lee Salzman 66d9ae2e0b playsound sanity checks
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2888 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-10-10 21:45:04 +00:00
driAn 75dcacac59 cmd: mutesound, unmuteallsounds
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2874 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-10-10 17:31:26 +00:00
Lee Salzman 8d1769e20b fixed audio device string printing
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2867 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-10-07 17:36:01 +00:00
driAn 70ae74b7f8 fixed footsteps
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2841 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-10-06 16:19:54 +00:00
driAn 1a8ad9e4d1 physent-volume resize with collision detection for better crouching
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2838 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-10-05 12:50:44 +00:00
driAn aab76520d4 loop sound fixes, underwater pitch
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2796 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-09-29 20:04:44 +00:00
driAn 5d6d2fc063 fixed tinnitus looping
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2795 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-09-29 19:38:11 +00:00
driAn d637e81f56 don't play waterfootsteps when jumping into deep water
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2794 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-09-29 18:51:49 +00:00
driAn 5ad5dd5bec tweaked AL rolloff factor
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2793 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-09-28 19:37:09 +00:00
driAn 0d895c96c6 fixed openal errors on firstrun
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2773 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-09-27 11:26:36 +00:00
Lee Salzman 45939a23c5 source owner release fix
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2743 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-09-24 04:27:55 +00:00
driAn 672347af13 implemented source reservation per priority-level in sound scheduler: aborting early is better than reassigning during playback
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2740 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-09-23 22:08:15 +00:00
driAn 983b87d93c useful debugging macros, sound cleanups
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2738 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-09-23 20:55:25 +00:00
Lee Salzman b3bfd08c23 silence missing AL_SEC_OFFSET errors
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2720 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-09-20 22:17:27 +00:00
Lee Salzman bbb2b4e81b better error reporting
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2715 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-09-20 17:48:57 +00:00
Lee Salzman a0b8295182 VC fixes
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2714 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-09-20 17:21:27 +00:00
driAn 5521df438e oldbonus prio fix
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2704 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-09-18 22:47:33 +00:00
driAn d718f48704 smarter sound scheduling algorithm, tweaked priorities
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2703 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-09-18 22:46:31 +00:00
driAn ffc26bfe30 stop() and velocity(0) in source reset
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2700 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-09-18 21:20:04 +00:00
Lee Salzman d43a9c65f6 dupliacte zero check
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2698 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-09-18 20:04:38 +00:00
driAn 524dbf22be sbuffer deletion fix
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2697 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-09-18 19:12:54 +00:00
Lee Salzman 19d86ab448 set sbuffer id to 0 after unload
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2696 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-09-18 18:59:21 +00:00
Lee Salzman 4cdf2ad352 sbuffer unload fix
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2695 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-09-18 18:57:30 +00:00
Lee Salzman 5cf26f7a23 workaround for older versions of libvorbisfile
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2678 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-09-18 03:07:18 +00:00
Lee Salzman 4cb66ee2f1 don't call scheduler.init() unless nosound is false
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2624 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-09-15 10:06:21 +00:00
Lee Salzman 0865eb5762 source deletion fix
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2609 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-09-15 03:06:50 +00:00
Lee Salzman 9c5f1f2735 soundchannels fix
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2607 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-09-15 02:54:32 +00:00
Lee Salzman eb170f21d3 made soundchannels a persistent var
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2606 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-09-15 02:49:19 +00:00
Lee Salzman 5811c51c1a cfg var cleanups
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2605 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-09-15 02:07:20 +00:00
driAn f15b98402f tweak inverse distance model using
VAR(al_referencedistance, 0, 400, 1000000);
VAR(al_rollofffactor, 0, 70, 1000000);
(1/100 cubes)


git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2442 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-08-28 20:51:57 +00:00
driAn a8b0b26f99 rewrote footstep proc code, supports water footsteps (normal+crouch)
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2425 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-08-27 22:57:06 +00:00
driAn 7a00205df7 improved sound distance model
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2412 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-08-27 18:29:38 +00:00
Lee Salzman 9db398b4c9 newline at end of file
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2399 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-08-26 20:45:20 +00:00
driAn e53162c9fc sound distancemodel tweakings
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2395 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-08-26 19:42:45 +00:00
driAn 864098bdc8 better loop for mapsounds, const fixes
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2377 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-08-24 16:12:53 +00:00
Lee Salzman 402bd060b6 const fixes
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2370 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-08-23 21:06:26 +00:00
driAn 9a484785c0 avoid double assignment of worldobjrefs
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2369 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-08-23 20:59:23 +00:00
driAn d16bee4a0f avoid all sound processing when audio=0
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2340 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-08-18 21:09:05 +00:00
driAn d2b8fd735a fixed worldobjref virt destructor, fixed omitted server error response leaving the client in a vote-blocked state
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2333 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-08-17 20:06:39 +00:00
Lee Salzman 3b05838c82 gcc 4.3 warning/bug fixes
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2320 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-08-14 08:58:07 +00:00
Lee Salzman 5c36eb2188 physentreference bug fixes
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2308 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-08-13 07:28:38 +00:00
driAn d0ec8225ed struct worldobjref for sound locations
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2305 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-08-11 18:13:05 +00:00
Lee Salzman 257691c131 gcc fixes
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2253 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-07-29 20:49:57 +00:00
driAn 5a7bb408d0 make cmd mapsound behave like in sauerbraten
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2250 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-07-29 20:22:35 +00:00
driAn 1061b05c83 var gainscale, scale gain-value of sounds globally
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2247 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-07-29 20:05:45 +00:00
driAn a51b71264c var audiodebug
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2245 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-07-29 19:38:47 +00:00
driAn 681ecd7fc4 delete oal buffers prior to oal shutdown, route team chat/voices to everyone in non-team modes
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2242 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-07-29 18:59:27 +00:00
driAn 906184f755 no musicvol reset on mapend, correct music fading, xhair alphablending
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2235 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-07-28 19:22:00 +00:00