[Gcblue-commits] gcb_wx/include/network tcMultiplayerInterface.h,1.25,1.26 tcUpdateMessageHandler.h,
Status: Alpha
Brought to you by:
ddcforge
|
From: Dewitt C. <ddc...@us...> - 2005-07-26 00:37:50
|
Update of /cvsroot/gcblue/gcb_wx/include/network In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13788/include/network Modified Files: tcMultiplayerInterface.h tcUpdateMessageHandler.h Log Message: Added mission goal status to "Mission" channel (hit F7), added sub periscope and mast ops to multiplayer, changed torpedo behavior to resume s-search if track lost early, made afterburner smoke thin a little more uniformly Index: tcUpdateMessageHandler.h =================================================================== RCS file: /cvsroot/gcblue/gcb_wx/include/network/tcUpdateMessageHandler.h,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** tcUpdateMessageHandler.h 8 May 2005 23:27:56 -0000 1.9 --- tcUpdateMessageHandler.h 26 Jul 2005 00:37:02 -0000 1.10 *************** *** 62,66 **** SOUND_EFFECT = 8, ///< play sound effect for object SCRIPT_COMMANDS = 9, ///< script commands to execute on server ! SCENARIO_INFO = 10 ///< info on scenario }; --- 62,67 ---- SOUND_EFFECT = 8, ///< play sound effect for object SCRIPT_COMMANDS = 9, ///< script commands to execute on server ! SCENARIO_INFO = 10, ///< info on scenario ! GOAL_STATUS = 11 ///< goal status for client }; *************** *** 72,75 **** --- 73,77 ---- static void AddCreateRequest(long id, tcStream& stream); static void AddDestroy(long id, tcStream& stream); + static void AddGoalStatus(long alliance, tcUpdateStream& stream); static void AddScenarioInfo(tcUpdateStream& stream); static void AddSensorUpdateHeader(long alliance, tcStream& stream); *************** *** 87,90 **** --- 89,93 ---- void HandleCreateRequest(tcStream& stream, int connectionId); void HandleDestroy(tcStream& stream); + void HandleGoalStatus(tcUpdateStream& stream); void HandleScenarioInfo(tcUpdateStream& stream); void HandleScriptCommands(tcStream& stream, int connectionId); Index: tcMultiplayerInterface.h =================================================================== RCS file: /cvsroot/gcblue/gcb_wx/include/network/tcMultiplayerInterface.h,v retrieving revision 1.25 retrieving revision 1.26 diff -C2 -d -r1.25 -r1.26 *** tcMultiplayerInterface.h 8 May 2005 23:27:56 -0000 1.25 --- tcMultiplayerInterface.h 26 Jul 2005 00:37:02 -0000 1.26 *************** *** 182,185 **** --- 182,186 ---- const unsigned int entityUpdateInterval; ///< 30 Hz tics const unsigned int sensorUpdateInterval; ///< 30 Hz tics + const unsigned int goalUpdateInterval; ///< 30 Hz tics void ClearMessageMap(); *************** *** 201,204 **** --- 202,206 ---- void UpdateEntityCommands(int connectionId, bool clearNewCmdFlag); void UpdateEntities(); + void UpdateGoalStatus(); void UpdatePing(); void UpdatePlayerInfo(); |