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
5
6enum
7{
8 VOTE_DESC_LENGTH = 64,
9 VOTE_CMD_LENGTH = 512,
10 VOTE_REASON_LENGTH = 16,
11
12 MAX_VOTE_OPTIONS = 8192,
13};
14
15struct CVoteOptionClient
16{
17 CVoteOptionClient *m_pNext;
18 CVoteOptionClient *m_pPrev;
19 char m_aDescription[VOTE_DESC_LENGTH];
20};
21
22struct CVoteOptionServer
23{
24 CVoteOptionServer *m_pNext;
25 CVoteOptionServer *m_pPrev;
26 char m_aDescription[VOTE_DESC_LENGTH];
27 char m_aCommand[1];
28};
29
30#endif
31