added a limit for the number of votes that can be added to the server and send option...
[twcon.git] / src / game / voting.h
blobe1706cafb2407b1f97fea9ad7a491a040f6003bd
1 /* (c) Magnus Auvinen. See licence.txt in the root of the distribution for more information. */
2 /* If you are missing that file, acquire a complete release at teeworlds.com. */
3 #ifndef GAME_VOTING_H
4 #define GAME_VOTING_H
6 enum
8 VOTE_DESC_LENGTH=64,
9 VOTE_CMD_LENGTH=512,
10 VOTE_REASON_LENGTH=16,
12 MAX_VOTE_OPTIONS=128,
15 struct CVoteOptionClient
17 CVoteOptionClient *m_pNext;
18 CVoteOptionClient *m_pPrev;
19 char m_aDescription[VOTE_DESC_LENGTH];
22 struct CVoteOptionServer
24 CVoteOptionServer *m_pNext;
25 CVoteOptionServer *m_pPrev;
26 char m_aDescription[VOTE_DESC_LENGTH];
27 char m_aCommand[1];
30 #endif