Skip to content
Snippets Groups Projects
Commit c38457f2 authored by Prisima the Fox's avatar Prisima the Fox
Browse files

No more magic numbers

parent 67331526
No related branches found
No related tags found
No related merge requests found
...@@ -436,6 +436,17 @@ extern consvar_t cv_playbackspeed; ...@@ -436,6 +436,17 @@ extern consvar_t cv_playbackspeed;
#define KICK_MSG_CUSTOM_KICK 7 #define KICK_MSG_CUSTOM_KICK 7
#define KICK_MSG_CUSTOM_BAN 8 #define KICK_MSG_CUSTOM_BAN 8
typedef enum
{
KR_KICK = 1, //Kicked by server
KR_PINGLIMIT = 2, //Broke Ping Limit
KR_SYNCH = 3, //Synch Failure
KR_TIMEOUT = 4, //Connection Timeout
KR_BAN = 5, //Banned by server
KR_LEAVE = 6, //Quit the game
} kickreason_t;
extern boolean server; extern boolean server;
extern boolean dedicated; // for dedicated server extern boolean dedicated; // for dedicated server
extern UINT16 software_MAXPACKETLENGTH; extern UINT16 software_MAXPACKETLENGTH;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment