#include "pch.h"#include "cube.h"#include "hash.h"

Functions | |
| void | putint (ucharbuf &p, int n) |
| int | getint (ucharbuf &p) |
| void | putuint (ucharbuf &p, int n) |
| int | getuint (ucharbuf &p) |
| void | sendstring (const char *text, ucharbuf &p) |
| void | getstring (char *text, ucharbuf &p, int len) |
| void | filtertext (char *dst, const char *src, int whitespace, int len) |
| void | filterrichtext (char *dst, const char *src, int len) |
| const char * | fullmodestr (int n) |
| const char * | acronymmodestr (int n) |
| const char * | modestr (int n, bool acronyms) |
| const char * | voteerrorstr (int n) |
| const char * | mmfullname (int n) |
| char | msgsizelookup (int msg) |
| const char * | genpwdhash (const char *name, const char *pwd, int salt) |
Variables | |
| const char * | modefullnames [] |
| const char * | modeacronymnames [] |
| const char * | voteerrors [] = { "voting is currently disabled", "there is already a vote pending", "already voted", "can't vote that often", "this vote is not allowed in the current environment (singleplayer/multiplayer)", "no permission", "invalid vote" } |
| const char * | mmfullnames [] = { "open", "private" } |
| char | msgsizesl [] |
| const char* acronymmodestr | ( | int | n | ) |
| void filterrichtext | ( | char * | dst, | |
| const char * | src, | |||
| int | len | |||
| ) |
| void filtertext | ( | char * | dst, | |
| const char * | src, | |||
| int | whitespace, | |||
| int | len | |||
| ) |
| const char* fullmodestr | ( | int | n | ) |
| const char* genpwdhash | ( | const char * | name, | |
| const char * | pwd, | |||
| int | salt | |||
| ) |
| int getint | ( | ucharbuf & | p | ) |
| void getstring | ( | char * | text, | |
| ucharbuf & | p, | |||
| int | len | |||
| ) |
| int getuint | ( | ucharbuf & | p | ) |
| const char* mmfullname | ( | int | n | ) |
| const char* modestr | ( | int | n, | |
| bool | acronyms | |||
| ) |
| char msgsizelookup | ( | int | msg | ) |
| void putint | ( | ucharbuf & | p, | |
| int | n | |||
| ) |
| void putuint | ( | ucharbuf & | p, | |
| int | n | |||
| ) |
| void sendstring | ( | const char * | text, | |
| ucharbuf & | p | |||
| ) |
| const char* voteerrorstr | ( | int | n | ) |
| const char* mmfullnames[] = { "open", "private" } |
| const char* modeacronymnames[] |
Initial value:
{
"DEMO",
"TDM", "coop", "DM", "SURV", "TSURV", "CTF", "PF", "BTDM", "BDM", "LSS",
"OSOK", "TOSOK", "BOSOK", "HTF", "TKTF", "KTF"
}
| const char* modefullnames[] |
Initial value:
{
"demo playback",
"team deathmatch", "coopedit", "deathmatch", "survivor",
"team survivor", "ctf", "pistol frenzy", "bot team deathmatch", "bot deathmatch", "last swiss standing",
"one shot, one kill", "team one shot, one kill", "bot one shot, one kill", "hunt the flag", "team keep the flag", "keep the flag"
}
| char msgsizesl[] |
Initial value:
{
SV_INITS2C, 5, SV_WELCOME, 2, SV_INITC2S, 0, SV_POS, 0, SV_TEXT, 0, SV_TEAMTEXT, 0, SV_SOUND, 2, SV_VOICECOM, 2, SV_VOICECOMTEAM, 2, SV_CDIS, 2,
SV_SHOOT, 0, SV_EXPLODE, 0, SV_SUICIDE, 1, SV_AKIMBO, 2, SV_RELOAD, 3,
SV_GIBDIED, 4, SV_DIED, 4, SV_GIBDAMAGE, 6, SV_DAMAGE, 6, SV_HITPUSH, 6, SV_SHOTFX, 9, SV_THROWNADE, 8,
SV_TRYSPAWN, 1, SV_SPAWNSTATE, 23, SV_SPAWN, 3, SV_FORCEDEATH, 2, SV_RESUME, 0,
SV_TIMEUP, 2, SV_EDITENT, 10, SV_MAPRELOAD, 2, SV_NEXTMAP, 0, SV_ITEMACC, 2,
SV_MAPCHANGE, 0, SV_ITEMSPAWN, 2, SV_ITEMPICKUP, 2,
SV_PING, 2, SV_PONG, 2, SV_CLIENTPING, 2, SV_GAMEMODE, 2,
SV_EDITMODE, 2, SV_EDITH, 7, SV_EDITT, 7, SV_EDITS, 6, SV_EDITD, 6, SV_EDITE, 6, SV_NEWMAP, 2,
SV_SENDMAP, 0, SV_RECVMAP, 1, SV_SERVMSG, 0, SV_ITEMLIST, 0, SV_WEAPCHANGE, 2, SV_PRIMARYWEAP, 2,
SV_MODELSKIN, 2,
SV_FLAGACTION, 3, SV_FLAGINFO, 0, SV_FLAGMSG, 0, SV_FLAGCNT, 3,
SV_ARENAWIN, 2,
SV_SETADMIN, 0, SV_SERVOPINFO, 3,
SV_CALLVOTE, 0, SV_CALLVOTESUC, 1, SV_CALLVOTEERR, 2, SV_VOTE, 2, SV_VOTERESULT, 2,
SV_FORCETEAM, 3, SV_AUTOTEAM, 2, SV_CHANGETEAM, 1,
SV_WHOIS, 2, SV_WHOISINFO, 3,
SV_LISTDEMOS, 1, SV_SENDDEMOLIST, 0, SV_GETDEMO, 2, SV_SENDDEMO, 0, SV_DEMOPLAYBACK, 3,
SV_CONNECT, 0,
SV_CLIENT, 0,
SV_EXTENSION, 0,
SV_SPAWNLIST, 0, SV_FORCENOTIFY, 3,
-1
}
| const char* voteerrors[] = { "voting is currently disabled", "there is already a vote pending", "already voted", "can't vote that often", "this vote is not allowed in the current environment (singleplayer/multiplayer)", "no permission", "invalid vote" } |
1.5.7.1