Update of /cvsroot/netrek/client/netrekxp/include In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv31529/include Modified Files: data.h Log Message: Moved message HUD display into local DrawMisc() function rather than updating local independently, as it was causing problems with double buffering. Added HUDbuf and showHUD variables to let local.c interact with smessage.c for displaying messages on tactical. Made HUDoffset a global variable. Removed unused mdisplayed variable. Readded some BlankChar calls that had been removed (no idea why), these missing calls were causing message cursor to not be erased properly on delete/backspace/ctrl-u. Fixed wrong info in hints about SB phaser cycling. Message window will now say "Click here to send a message to ALL" until any message is sent, then it will be blank as usual. Left clicking on message window will either a) start a new message to ALL board or b) continue current pending message. Added explanation of what DI is in the rank window. Index: data.h =================================================================== RCS file: /cvsroot/netrek/client/netrekxp/include/data.h,v retrieving revision 1.66 retrieving revision 1.67 diff -u -d -r1.66 -r1.67 --- data.h 25 Mar 2007 23:44:35 -0000 1.66 +++ data.h 2 Apr 2007 21:12:41 -0000 1.67 @@ -61,11 +61,13 @@ extern int messpend; #ifdef XTRA_MESSAGE_UI extern int messageHUD; /* Show message being typed on the local display */ -extern int messageHoldThresh; /* Threshold value for putting a message on hold */ -extern int messMouseDelta; /* To keep track of mouse movement delta */ +extern char HUDbuf[90]; /* Buffer to hold current message for display */ +extern int showHUD; /* Internal variable to control when to display message */ +extern int HUDoffset; /* Internal variable that determines message offset */ +extern int messageHoldThresh; /* Threshold value for putting a message on hold */ +extern int messMouseDelta; /* To keep track of mouse movement delta */ #endif extern int lastcount; -extern int mdisplayed; extern int lastm; extern time_t delay; extern time_t rdelay;