![]() |
DarkPlaces
Game engine based on the Quake 1 engine by id Software, developed by LadyHavoc
|
|
Go to the source code of this file.
Functions | |
static int | EntityFrameCSQC_AllocFrame (client_t *client, int framenum) |
static void | EntityFrameCSQC_DeallocFrame (client_t *client, int framenum) |
static void | EntityFrameCSQC_LostAllFrames (client_t *client) |
void | EntityFrameCSQC_LostFrame (client_t *client, int framenum) |
qbool | EntityFrameCSQC_WriteFrame (sizebuf_t *msg, int maxsize, int numnumbers, const unsigned short *numbers, int framenum) |
Variables | |
cvar_t | sv_sendentities_csqc_randomize_order |
Definition at line 138 of file sv_ents_csqc.c.
References client_t::csqcentityframehistory, client_t::csqcentityframehistory_next, csqcentityframedb_t::framenum, csqcentityframedb_t::num, and NUM_CSQCENTITYDB_FRAMES.
Referenced by EntityFrameCSQC_WriteFrame().
Definition at line 147 of file sv_ents_csqc.c.
References Con_Printf(), client_t::csqcentityframehistory, client_t::csqcentityframehistory_next, csqcentityframedb_t::framenum, csqcentityframedb_t::num, and NUM_CSQCENTITYDB_FRAMES.
Referenced by EntityFrameCSQC_WriteFrame().
Definition at line 10 of file sv_ents_csqc.c.
References client_t::csqcentityscope, client_t::csqcentitysendflags, client_t::csqcnumedicts, prvm_prog_t::edicts, i, n, PRVM_serveredictfunction, SCOPE_ASSUMED_EXISTING, SCOPE_EXISTED_ONCE, and SVVM_prog.
Referenced by EntityFrameCSQC_LostFrame().
Definition at line 30 of file sv_ents_csqc.c.
References Con_DPrintf(), Con_Printf(), client_t::csqcentityframe_lastreset, client_t::csqcentityframehistory, client_t::csqcentityframehistory_next, client_t::csqcentityscope, client_t::csqcentitysendflags, client_t::csqcnumedicts, EntityFrameCSQC_LostAllFrames(), csqcentityframedb_t::entno, csqcentityframedb_t::framenum, i, MAX_EDICTS, csqcentityframedb_t::num, NUM_CSQCENTITYDB_FRAMES, SCOPE_ASSUMED_EXISTING, and csqcentityframedb_t::sendflags.
qbool EntityFrameCSQC_WriteFrame | ( | sizebuf_t * | msg, |
int | maxsize, | ||
int | numnumbers, | ||
const unsigned short * | numbers, | ||
int | framenum ) |
Definition at line 164 of file sv_ents_csqc.c.
References sizebuf_t::allowoverflow, server_static_t::clients, client_t::csqcentityframe_lastreset, client_t::csqcentityframehistory, client_t::csqcentityscope, client_t::csqcentitysendflags, client_t::csqcnumedicts, sizebuf_t::cursize, prvm_prog_t::edicts, EntityFrameCSQC_AllocFrame(), EntityFrameCSQC_DeallocFrame(), ENTITYSIZEPROFILING_END, ENTITYSIZEPROFILING_START, csqcentityframedb_t::entno, prvm_prog_t::ExecuteProgram, cvar_t::integer, server_static_t::maxclients, MSG_WriteByte(), MSG_WriteShort(), n, csqcentityframedb_t::num, NUM_CSQCENTITIES_PER_FRAME, prvm_prog_t::num_edicts, OFS_PARM0, OFS_PARM1, OFS_RETURN, sizebuf_t::overflowed, PRVM_G_FLOAT, PRVM_G_INT, PRVM_serveredictfunction, PRVM_serverglobaledict, SCOPE_ASSUMED_EXISTING, SCOPE_EXISTED_ONCE, SCOPE_WANTREMOVE, SCOPE_WANTSEND, SCOPE_WANTUPDATE, self, csqcentityframedb_t::sendflags, sv, sv_sendentities_csqc_randomize_order, svc_csqcentities, svs, SVVM_prog, server_t::writeentitiestoclient_cliententitynumber, and server_t::writeentitiestoclient_clientnumber.
|
extern |
Definition at line 221 of file sv_main.c.
Referenced by EntityFrameCSQC_WriteFrame(), and SV_Init().