![]() |
DarkPlaces
Game engine based on the Quake 1 engine by id Software, developed by LadyHavoc
|
|
Go to the source code of this file.
Functions | |
| int | EntityFrame4_AckFrame (entityframe4_database_t *d, int framenum, int servermode) |
| void | EntityFrame4_AddCommitEntity (entityframe4_database_t *d, const entity_state_t *s) |
| entityframe4_database_t * | EntityFrame4_AllocDatabase (mempool_t *pool) |
| void | EntityFrame4_FreeDatabase (entityframe4_database_t *d) |
| entity_state_t * | EntityFrame4_GetReferenceEntity (entityframe4_database_t *d, int number) |
| void | EntityFrame4_ResetDatabase (entityframe4_database_t *d) |
| int EntityFrame4_AckFrame | ( | entityframe4_database_t * | d, |
| int | framenum, | ||
| int | servermode ) |
Definition at line 74 of file com_ents4.c.
References entity_state_t::active, ACTIVE_NETWORK, entityframe4_database_t::commit, Con_Print(), Con_Printf(), defaultstate, developer_networkentities, entity_database4_commit_t::entity, EntityFrame4_GetReferenceEntity(), entity_database4_commit_t::framenum, MAX_ENTITY_HISTORY, entityframe4_database_t::maxreferenceentities, entity_state_t::modelindex, entity_state_t::number, entity_database4_commit_t::numentities, entityframe4_database_t::referenceentity, and entityframe4_database_t::referenceframenum.
Referenced by EntityFrame4_CL_ReadFrame(), and SV_FrameAck().
| void EntityFrame4_AddCommitEntity | ( | entityframe4_database_t * | d, |
| const entity_state_t * | s ) |
Definition at line 57 of file com_ents4.c.
References entityframe4_database_t::currentcommit, entity_database4_commit_t::entity, entity_database4_commit_t::maxentities, Mem_Alloc, Mem_Free, entityframe4_database_t::mempool, and entity_database4_commit_t::numentities.
Referenced by EntityFrame4_CL_ReadFrame(), and EntityFrame4_WriteFrame().
| entityframe4_database_t * EntityFrame4_AllocDatabase | ( | mempool_t * | pool | ) |
Definition at line 4 of file com_ents4.c.
References EntityFrame4_ResetDatabase(), Mem_Alloc, and entityframe4_database_t::mempool.
Referenced by EntityFrame4_CL_ReadFrame(), and SV_SendServerinfo().
| void EntityFrame4_FreeDatabase | ( | entityframe4_database_t * | d | ) |
Definition at line 13 of file com_ents4.c.
References entityframe4_database_t::commit, entity_database4_commit_t::entity, MAX_ENTITY_HISTORY, Mem_Free, and entityframe4_database_t::referenceentity.
Referenced by SV_DropClient(), and SV_SendServerinfo().
| entity_state_t * EntityFrame4_GetReferenceEntity | ( | entityframe4_database_t * | d, |
| int | number ) |
Definition at line 34 of file com_ents4.c.
References defaultstate, entityframe4_database_t::maxreferenceentities, Mem_Alloc, Mem_Free, entityframe4_database_t::mempool, entity_state_t::number, and entityframe4_database_t::referenceentity.
Referenced by EntityFrame4_AckFrame(), EntityFrame4_CL_ReadFrame(), and EntityFrame4_WriteFrame().
| void EntityFrame4_ResetDatabase | ( | entityframe4_database_t * | d | ) |
Definition at line 24 of file com_ents4.c.
References entityframe4_database_t::commit, defaultstate, MAX_ENTITY_HISTORY, entityframe4_database_t::maxreferenceentities, entity_database4_commit_t::numentities, entityframe4_database_t::referenceentity, and entityframe4_database_t::referenceframenum.
Referenced by EntityFrame4_AllocDatabase(), and EntityFrame4_CL_ReadFrame().