Quake II RTX doxygen
1.0 dev
|
|
Go to the documentation of this file.
19 #include "../server.h"
22 #define MVD_Malloc(size) Z_TagMalloc(size, TAG_MVD)
23 #define MVD_Mallocz(size) Z_TagMallocz(size, TAG_MVD)
24 #define MVD_CopyString(s) Z_TagCopyString(s, TAG_MVD)
26 #define FOR_EACH_MVD(mvd) \
27 LIST_FOR_EACH(mvd_t, mvd, &mvd_channel_list, entry)
29 #define FOR_EACH_MVDCL(cl, mvd) \
30 LIST_FOR_EACH(mvd_client_t, cl, &(mvd)->clients, entry)
32 #define EDICT_MVDCL(ent) ((mvd_client_t *)((ent)->client))
33 #define CS_NUM(c, n) ((char *)(c) + (n) * MAX_QPATH)
35 #define MVD_InfoSet(var, val) \
36 Cvar_FullSet(var, val, CVAR_SERVERINFO | CVAR_GAME, FROM_CODE)
39 #define MVD_FEATURES (GMF_CLIENTNUM | GMF_PROPERINUSE | GMF_WANT_ALL_DISCONNECTS)
41 #define LAYOUT_MSEC 3000
53 #define FLOOD_SAMPLES 16
54 #define FLOOD_MASK (FLOOD_SAMPLES - 1)
90 byte chase_bitmap[MAX_CLIENTS / CHAR_BIT];
105 #define MAX_MVD_NAME 16
161 byte dcs[CS_BITMAP_BYTES];
194 extern cvar_t *mvd_shownet;
231 int mask, const
char *fmt, ...)
q_printf(4, 5);
void MVD_StopRecord(mvd_t *mvd)
void MVD_GameClientNameChanged(edict_t *ent, const char *name)
void MVD_StreamedRecord_f(void)
qboolean(* read_frame)(struct mvd_s *)
void MVD_UpdateConfigstring(mvd_t *mvd, int index)
byte dcs[CS_BITMAP_BYTES]
void MVD_ParseEntityString(mvd_t *mvd, const char *data)
void void MVD_PrepWorldFrame(void)
qboolean MVD_ParseMessage(mvd_t *mvd)
qboolean(* forward_cmd)(mvd_client_t *)
void MVD_StreamedStop_f(void)
char configstrings[MAX_CONFIGSTRINGS][MAX_QPATH]
void MVD_GameClientDrop(edict_t *ent, const char *prefix, const char *reason)
unsigned mvd_last_activity
mvd_t * MVD_SetChannel(int arg)
void MVD_LinkEdict(mvd_t *mvd, edict_t *ent)
void void MVD_Shutdown(void)
void MVD_SetPlayerNames(mvd_t *mvd)
void MVD_File_g(genctx_t *ctx)
char layout[MAX_NET_STRING]
void MVD_SwitchChannel(mvd_client_t *client, mvd_t *mvd)
void MVD_UpdateClients(mvd_t *mvd)
void MVD_ClearState(mvd_t *mvd, qboolean full)
static void q_printf(2, 3)
char oldscores[MAX_NET_STRING]
edict_t edicts[MAX_EDICTS]
void MVD_BroadcastPrintf(mvd_t *mvd, int level, int mask, const char *fmt,...) q_printf(4
void MVD_FreePlayer(mvd_player_t *player)
void MVD_RemoveClient(client_t *client)
void MVD_Destroyf(mvd_t *mvd, const char *fmt,...) q_noreturn q_printf(2
char baseconfigstrings[MAX_CONFIGSTRINGS][MAX_QPATH]
mvd_client_t * mvd_clients