Update of /cvsroot/netrek/client/netrekxp/include In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv25743/include Modified Files: struct.h Log Message: Minor formatting fixes, especially in the phaser draw area of local.c. Set motion mouse steer default to on. Mimic GU_UNSAFE definition in server source. Major bug fix: phasers were not drawing proper if show weapons on galactic was turned off. Major bug fix: Double buffering design was flawed, writing memory dc over memory dc has potential to cause errors in certain graphics card. This operation was not only unnecessary to prevent flicker, but it cost resources and didn't do anything, so it was removed. Single buffering is sufficient to prevent screen flicker. Suggestion for future: rename double buffering option to single buffering to reflect what it actually does. Index: struct.h =================================================================== RCS file: /cvsroot/netrek/client/netrekxp/include/struct.h,v retrieving revision 1.31 retrieving revision 1.32 diff -u -d -r1.31 -r1.32 --- struct.h 16 Jul 2008 23:23:07 -0000 1.31 +++ struct.h 9 Jan 2009 03:34:07 -0000 1.32 @@ -166,8 +166,9 @@ * (append) ) byte18++: the text to pre or append .. depending on termination * above. text is null terminated and the last thing in this distress */ -/* The following defines are for gameup field */ +/* The following defines are for gameup field and SP_GENERIC_32 'b' */ #define GU_GAMEOK 0x1 +#define GU_UNSAFE 0x1 /* not currently safe due idle */ #define GU_PRACTICE 0x2 /* Basepractice robot is present */ /* also set by INL robot during a pause, in pre-game, or post-game */ #define GU_CHAOS 0x4