added amb1119 - sm_revote command

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402151
This commit is contained in:
David Anderson
2008-05-17 05:12:52 +00:00
parent 0fac3fd74e
commit b2fbd9691d
8 changed files with 194 additions and 33 deletions
+5
View File
@@ -72,6 +72,9 @@ public:
IBaseMenu *GetCurrentMenu();
bool IsCancelling();
unsigned int GetRemainingVoteDelay();
bool IsClientInVotePool(int client);
bool GetClientVoteChoice(int client, unsigned int *pItem);
bool RedrawToClient(int client);
private:
void Reset(IMenuHandler *mh);
void DecrementPlayerCount();
@@ -93,6 +96,8 @@ private:
unsigned int m_NumVotes;
unsigned int m_VoteTime;
unsigned int m_VoteFlags;
float m_fStartTime;
unsigned int m_nMenuTime;
int m_ClientVotes[256+1];
};