Added lua, added db connection to PlayerManager

I've also revised the startup process a bit.
This commit is contained in:
Kayne Ruse
2014-03-05 00:27:21 +11:00
parent 756d4e770d
commit f17fa0f345
6 changed files with 65 additions and 18 deletions
+3 -1
View File
@@ -27,6 +27,7 @@
#include "udp_network_utility.hpp"
//APIs
#include "lua/lua.hpp"
#include "sqlite3/sqlite3.h"
#include "SDL/SDL.h"
@@ -73,13 +74,14 @@ private:
sqlite3* database = nullptr;
//lua
//TODO
lua_State* luaState = nullptr;
//misc
bool running = true;
ConfigUtility config;
ClientManager clientMgr;
PlayerManager playerMgr;
};
#endif