More work on vote kick. Some network packets are exchanged, but still not functional.

This commit is contained in:
lotodore
2008-11-16 22:57:11 +00:00
parent f501ef1a20
commit 1cfe551f19
10 changed files with 87 additions and 6 deletions
+10
View File
@@ -22,6 +22,7 @@
#define _GAMEDATA_H_
#include <playerdata.h>
#include <third_party/boost/timers.hpp>
#define SERVER_COMPUTER_PLAYER_NAME "Computer"
@@ -87,5 +88,14 @@ struct StartData
int numberOfPlayers;
};
struct VoteKickData
{
unsigned petitionId;
unsigned kickPlayerId;
unsigned numVotesToKick;
boost::timers::portable::microsec_timer voteTimer;
std::list<unsigned> votedPlayerIds;
};
#endif