UDPNetworkUtility is a singleton, disabled InCombat scene

I found incombat to be way too finicky to keep up to date, so I disabled
it for now.
This commit is contained in:
Kayne Ruse
2014-08-13 06:53:43 +10:00
parent 182101b592
commit 74f809a801
15 changed files with 41 additions and 42 deletions
-2
View File
@@ -31,13 +31,11 @@
//-------------------------
CleanUp::CleanUp(
UDPNetworkUtility* const argNetwork,
int* const argClientIndex,
int* const argAccountIndex,
int* const argCharacterIndex,
CharacterMap* argCharacterMap
):
network(*argNetwork),
clientIndex(*argClientIndex),
accountIndex(*argAccountIndex),
characterIndex(*argCharacterIndex),
+1 -2
View File
@@ -45,7 +45,6 @@ class CleanUp : public BaseScene {
public:
//Public access members
CleanUp(
UDPNetworkUtility* const argNetwork,
int* const argClientIndex,
int* const argAccountIndex,
int* const argCharacterIndex,
@@ -68,7 +67,7 @@ protected:
void KeyUp(SDL_KeyboardEvent const&);
//shared parameters
UDPNetworkUtility& network;
UDPNetworkUtility& network = UDPNetworkUtility::GetSingleton();
int& clientIndex;
int& accountIndex;
int& characterIndex;
-2
View File
@@ -35,13 +35,11 @@
//-------------------------
InWorld::InWorld(
UDPNetworkUtility* const argNetwork,
int* const argClientIndex,
int* const argAccountIndex,
int* const argCharacterIndex,
CharacterMap* argCharacterMap
):
network(*argNetwork),
clientIndex(*argClientIndex),
accountIndex(*argAccountIndex),
characterIndex(*argCharacterIndex),
+1 -2
View File
@@ -49,7 +49,6 @@ class InWorld : public BaseScene {
public:
//Public access members
InWorld(
UDPNetworkUtility* const argNetwork,
int* const argClientIndex,
int* const argAccountIndex,
int* const argCharacterIndex,
@@ -92,7 +91,7 @@ protected:
void UpdateMap();
//shared parameters
UDPNetworkUtility& network;
UDPNetworkUtility& network = UDPNetworkUtility::GetSingleton();
int& clientIndex;
int& accountIndex;
int& characterIndex;
+1 -6
View File
@@ -30,12 +30,7 @@
//Public access members
//-------------------------
LobbyMenu::LobbyMenu(
UDPNetworkUtility* const argNetwork,
int* const argClientIndex,
int* const argAccountIndex
):
network(*argNetwork),
LobbyMenu::LobbyMenu(int* const argClientIndex, int* const argAccountIndex):
clientIndex(*argClientIndex),
accountIndex(*argAccountIndex)
{
+2 -6
View File
@@ -40,11 +40,7 @@
class LobbyMenu : public BaseScene {
public:
//Public access members
LobbyMenu(
UDPNetworkUtility* const argNetwork,
int* const argClientIndex,
int* const argAccountIndex
);
LobbyMenu(int* const argClientIndex, int* const argAccountIndex);
~LobbyMenu();
protected:
@@ -68,7 +64,7 @@ protected:
//shared parameters
ConfigUtility& config = ConfigUtility::GetSingleton();
UDPNetworkUtility& network;
UDPNetworkUtility& network = UDPNetworkUtility::GetSingleton();
int& clientIndex;
int& accountIndex;