Update of /cvsroot/netrek/client/netrekxp/resources/docs In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv29612/resources/docs Modified Files: changes.txt netrekrc netrekrc_options.txt Log Message: Cleanup more unused sound defines in sound.h and proto.h New netrekrc option soundVolume to control starting volume level. New sound flags to designate what category a sound falls in. Pass sound flag to sound playing functions, then check against current sound flag settings to see whether to play that sound. Added the sound flag categories to the sound menu for easy toggling. Fixed bug where soundAngles wasn't being checked before playing certain sounds angularly. Fixed bug with volume level, did not know that new channels are allocated to maxvolume. Thus, volume needs to be set during every sound play event. Index: netrekrc =================================================================== RCS file: /cvsroot/netrek/client/netrekxp/resources/docs/netrekrc,v retrieving revision 1.26 retrieving revision 1.27 diff -u -d -r1.26 -r1.27 --- netrekrc 28 Feb 2007 09:35:20 -0000 1.26 +++ netrekrc 28 Feb 2007 12:21:49 -0000 1.27 @@ -344,6 +344,10 @@ # Enable layered, stereo sound sound: on +# Starting sound volume +# 0-128 range +soundVolume: 64 + # Play sound effects soundEffects: on Index: netrekrc_options.txt =================================================================== RCS file: /cvsroot/netrek/client/netrekxp/resources/docs/netrekrc_options.txt,v retrieving revision 1.28 retrieving revision 1.29 diff -u -d -r1.28 -r1.29 --- netrekrc_options.txt 28 Feb 2007 09:35:20 -0000 1.28 +++ netrekrc_options.txt 28 Feb 2007 12:21:49 -0000 1.29 @@ -249,6 +249,7 @@ sortMyTeamFirst: (on/off) show my team first in the player list sortPlayers: (on/off) sort players by teams sound: (on/off) enable layered, stereo sound +soundVolume: (0-128) starting sound volume soundEffects: (on/off) play sound effects soundMusic: (on/off) play music soundMusicBkgd: (on/off) play theme music in background Index: changes.txt =================================================================== RCS file: /cvsroot/netrek/client/netrekxp/resources/docs/changes.txt,v retrieving revision 1.115 retrieving revision 1.116 diff -u -d -r1.115 -r1.116 --- changes.txt 28 Feb 2007 09:35:20 -0000 1.115 +++ changes.txt 28 Feb 2007 12:21:49 -0000 1.116 @@ -1,4 +1,8 @@ Netrek XP 2006, Version 1.2: (Released Feb-2007) +- sound menu now has ability to turn sounds off by type, i.e. to turn all explosion sounds + off, all message sounds off, etc. +- added "soundVolume: #" where the number is the starting sound volume. Valid range + is 0-128. - all "newSound" options have just been renamed "sound". The old sound playback (newSound off) is no longer supported. Thus the newSound netrekrc option is no longer. - border refresh now works slightly differently for those using the new color bitmaps