mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 18:18:18 +00:00
3be8a592e5
Purely automatic change. In case of conflict with this change, apply the other change and rerun the formatting to restore it: $ python scripts/fix_style.py
31 lines
635 B
C
31 lines
635 B
C
/* (c) Magnus Auvinen. See licence.txt in the root of the distribution for more information. */
|
|
/* If you are missing that file, acquire a complete release at teeworlds.com. */
|
|
#ifndef GAME_VOTING_H
|
|
#define GAME_VOTING_H
|
|
|
|
enum
|
|
{
|
|
VOTE_DESC_LENGTH = 64,
|
|
VOTE_CMD_LENGTH = 512,
|
|
VOTE_REASON_LENGTH = 16,
|
|
|
|
MAX_VOTE_OPTIONS = 8192,
|
|
};
|
|
|
|
struct CVoteOptionClient
|
|
{
|
|
CVoteOptionClient *m_pNext;
|
|
CVoteOptionClient *m_pPrev;
|
|
char m_aDescription[VOTE_DESC_LENGTH];
|
|
};
|
|
|
|
struct CVoteOptionServer
|
|
{
|
|
CVoteOptionServer *m_pNext;
|
|
CVoteOptionServer *m_pPrev;
|
|
char m_aDescription[VOTE_DESC_LENGTH];
|
|
char m_aCommand[1];
|
|
};
|
|
|
|
#endif
|