Update of /cvsroot/netrek/client/netrekxp/include In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv16522/include Modified Files: struct.h Log Message: Proper solution to longstanding issue of how to handle phaser sounds. New variable in struct phaser that toggles on when phaser packet is received, to indicate that phaser needs to have the sound played. Prior methods of phaser sounds had issues with cloakers, observers, etc. Index: struct.h =================================================================== RCS file: /cvsroot/netrek/client/netrekxp/include/struct.h,v retrieving revision 1.13 retrieving revision 1.14 diff -u -d -r1.13 -r1.14 --- struct.h 13 Dec 2006 09:03:00 -0000 1.13 +++ struct.h 25 Feb 2007 00:18:59 -0000 1.14 @@ -354,6 +354,9 @@ short ph_fuse; /* Life left for drawing */ int ph_x, ph_y; /* For when it hits a torp */ int ph_maxfuse; /* maxfuse normalized for updates per sec */ +#ifdef SOUND + int sound_phaser; /* If phaser sound should be played or not */ +#endif };