Removed the shared parameters structure (read more)

I've also stopped using a separate branch for sharing the CharacterData
structre. This commit won't build, mostly because I need to refactor
InWorld to handle the loss of the PlayerCharacter class.

I should probably rename SQL's tables too.
This commit is contained in:
Kayne Ruse
2014-05-27 22:24:30 +10:00
parent ac4a264f12
commit 5893342ad8
11 changed files with 149 additions and 95 deletions
+12 -2
View File
@@ -25,9 +25,13 @@
#include "scene_list.hpp"
#include "base_scene.hpp"
#include "shared_parameters.hpp"
#include "config_utility.hpp"
#include "udp_network_utility.hpp"
#include "character_data.hpp"
#include "combat_data.hpp"
#include "enemy_data.hpp"
#include <map>
class ClientApplication {
public:
@@ -48,7 +52,13 @@ private:
//shared parameters
ConfigUtility config;
UDPNetworkUtility network;
SharedParameters params;
int clientIndex = -1;
int accountIndex = -1;
int characterIndex = -1;
std::map<int, CharacterData> characterMap;
std::map<int, CombatData> combatMap;
std::map<int, EnemyData> enemyMap;
};
#endif