[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[netPanzer-CVS] netpanzer/src/NetPanzer/Interfaces GameControlR...
From: |
Hankin Chick |
Subject: |
[netPanzer-CVS] netpanzer/src/NetPanzer/Interfaces GameControlR... |
Date: |
Sun, 23 Nov 2003 19:08:59 -0500 |
CVSROOT: /cvsroot/netpanzer
Module name: netpanzer
Branch:
Changes by: Hankin Chick <address@hidden> 03/11/23 19:08:58
Modified files:
src/NetPanzer/Interfaces: GameControlRulesDaemon.cpp
GameControlRulesDaemon.hpp
DedicatedGameManager.cpp
Log message:
fix for crash after winning "host" gui games
Patches:
Index: netpanzer/src/NetPanzer/Interfaces/DedicatedGameManager.cpp
diff -u netpanzer/src/NetPanzer/Interfaces/DedicatedGameManager.cpp:1.7
netpanzer/src/NetPanzer/Interfaces/DedicatedGameManager.cpp:1.8
--- netpanzer/src/NetPanzer/Interfaces/DedicatedGameManager.cpp:1.7 Sat Nov
22 10:43:34 2003
+++ netpanzer/src/NetPanzer/Interfaces/DedicatedGameManager.cpp Sun Nov 23
19:08:58 2003
@@ -148,6 +148,7 @@
SERVER->hostSession();
GameControlRulesDaemon::setStateServerInProgress();
+ GameControlRulesDaemon::setDedicatedServer();
NetworkState::setNetworkStatus( _network_state_server );
GameManager::setNetPanzerGameOptions();
Index: netpanzer/src/NetPanzer/Interfaces/GameControlRulesDaemon.cpp
diff -u netpanzer/src/NetPanzer/Interfaces/GameControlRulesDaemon.cpp:1.9
netpanzer/src/NetPanzer/Interfaces/GameControlRulesDaemon.cpp:1.10
--- netpanzer/src/NetPanzer/Interfaces/GameControlRulesDaemon.cpp:1.9 Sat Nov
22 10:43:35 2003
+++ netpanzer/src/NetPanzer/Interfaces/GameControlRulesDaemon.cpp Sun Nov
23 19:08:57 2003
@@ -74,9 +74,14 @@
//-----------------------------------------------------------------
void GameControlRulesDaemon::setStateServerInProgress()
{
- GameControlRulesDaemon::execution_mode = _execution_mode_dedicated_server;
GameControlRulesDaemon::game_state = _game_state_in_progress;
}
+//-----------------------------------------------------------------
+void GameControlRulesDaemon::setDedicatedServer()
+{
+ GameControlRulesDaemon::execution_mode = _execution_mode_dedicated_server;
+}
+
//-----------------------------------------------------------------
void GameControlRulesDaemon::mapCycleFsmClient( void )
{
Index: netpanzer/src/NetPanzer/Interfaces/GameControlRulesDaemon.hpp
diff -u netpanzer/src/NetPanzer/Interfaces/GameControlRulesDaemon.hpp:1.6
netpanzer/src/NetPanzer/Interfaces/GameControlRulesDaemon.hpp:1.7
--- netpanzer/src/NetPanzer/Interfaces/GameControlRulesDaemon.hpp:1.6 Sat Nov
22 10:43:35 2003
+++ netpanzer/src/NetPanzer/Interfaces/GameControlRulesDaemon.hpp Sun Nov
23 19:08:57 2003
@@ -50,6 +50,8 @@
public:
static void setStateServerInProgress();
+ static void setDedicatedServer();
+
static void processNetMessage(NetMessage *message);
static void forceMapCycle();
static void updateGameControlFlow();
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [netPanzer-CVS] netpanzer/src/NetPanzer/Interfaces GameControlR...,
Hankin Chick <=