Added console server app. First try. Depends on qt for locale-specific stuff. Cannot start a game yet, only join is possible. Cannot run multiple games yet.
Not yet as service/daemon, because testing is easier with a simple console app.
This commit is contained in:
1 parent
5d13dd7803
commit
f11998c28c
12 files changed
+374
-33
No files matched your search
@@ -347,7 +347,6 @@ ClientStateStartSession::Process(ClientThread &client)
|
||||
NetPacketJoinGame::Data initData;
|
||||
initData.password = context.GetPassword();
|
||||
initData.playerName = context.GetPlayerName();
|
||||
initData.ptype = PLAYER_TYPE_HUMAN; // TODO
|
||||
|
||||
boost::shared_ptr<NetPacket> packet(new NetPacketJoinGame);
|
||||
((NetPacketJoinGame *)packet.get())->SetData(initData);
|
||||
|
||||
Reference in new issue
Block a user