2010-11-20 10:37:14 +00:00
|
|
|
/* (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. */
|
2010-05-29 07:25:38 +00:00
|
|
|
#ifndef VERSIONSRV_VERSIONSRV_H
|
|
|
|
#define VERSIONSRV_VERSIONSRV_H
|
2010-08-15 13:34:55 +00:00
|
|
|
static const int VERSIONSRV_PORT = 8302;
|
|
|
|
|
2011-03-31 13:13:49 +00:00
|
|
|
struct CMapVersion
|
|
|
|
{
|
|
|
|
char m_aName[8];
|
|
|
|
unsigned char m_aCrc[4];
|
|
|
|
unsigned char m_aSize[4];
|
|
|
|
};
|
|
|
|
|
2010-08-15 13:34:55 +00:00
|
|
|
static const unsigned char VERSIONSRV_GETVERSION[] = {255, 255, 255, 255, 'v', 'e', 'r', 'g'};
|
|
|
|
static const unsigned char VERSIONSRV_VERSION[] = {255, 255, 255, 255, 'v', 'e', 'r', 's'};
|
2011-03-31 13:13:49 +00:00
|
|
|
|
|
|
|
static const unsigned char VERSIONSRV_GETMAPLIST[] = {255, 255, 255, 255, 'v', 'm', 'l', 'g'};
|
|
|
|
static const unsigned char VERSIONSRV_MAPLIST[] = {255, 255, 255, 255, 'v', 'm', 'l', 's'};
|
2010-05-29 07:25:38 +00:00
|
|
|
#endif
|