Home
last modified time | relevance | path

Searched refs:oldmaxedicts (Results 1 – 4 of 4) sorted by relevance

/dports/games/nexuiz/Nexuiz/sources/darkplaces/
H A Dprotocol.c1949 int oldmaxedicts = d->maxedicts; in EntityFrame5_ExpandEdicts() local
1962 if (oldmaxedicts) in EntityFrame5_ExpandEdicts()
1964 memcpy(d->deltabits, olddeltabits, oldmaxedicts * sizeof(int)); in EntityFrame5_ExpandEdicts()
1965 memcpy(d->priorities, oldpriorities, oldmaxedicts * sizeof(unsigned char)); in EntityFrame5_ExpandEdicts()
1966 memcpy(d->updateframenum, oldupdateframenum, oldmaxedicts * sizeof(int)); in EntityFrame5_ExpandEdicts()
1967 memcpy(d->states, oldstates, oldmaxedicts * sizeof(entity_state_t)); in EntityFrame5_ExpandEdicts()
1968 memcpy(d->visiblebits, oldvisiblebits, (oldmaxedicts+7)/8 * sizeof(unsigned char)); in EntityFrame5_ExpandEdicts()
H A Dprvm_edict.c98 int oldmaxedicts = prog->max_edicts; in PRVM_MEM_IncreaseEdicts() local
113 memcpy(prog->edictsfields, oldedictsfields, oldmaxedicts * prog->edict_size); in PRVM_MEM_IncreaseEdicts()
114 memcpy(prog->edictprivate, oldedictprivate, oldmaxedicts * prog->edictprivate_size); in PRVM_MEM_IncreaseEdicts()
/dports/games/xonotic/Xonotic/source/darkplaces/
H A Dprotocol.c2022 int oldmaxedicts = d->maxedicts; in EntityFrame5_ExpandEdicts() local
2035 if (oldmaxedicts) in EntityFrame5_ExpandEdicts()
2037 memcpy(d->deltabits, olddeltabits, oldmaxedicts * sizeof(int)); in EntityFrame5_ExpandEdicts()
2038 memcpy(d->priorities, oldpriorities, oldmaxedicts * sizeof(unsigned char)); in EntityFrame5_ExpandEdicts()
2039 memcpy(d->updateframenum, oldupdateframenum, oldmaxedicts * sizeof(int)); in EntityFrame5_ExpandEdicts()
2040 memcpy(d->states, oldstates, oldmaxedicts * sizeof(entity_state_t)); in EntityFrame5_ExpandEdicts()
2041 memcpy(d->visiblebits, oldvisiblebits, (oldmaxedicts+7)/8 * sizeof(unsigned char)); in EntityFrame5_ExpandEdicts()
/dports/games/darkplaces/darkplaces/
H A Dprotocol.c2022 int oldmaxedicts = d->maxedicts; in EntityFrame5_ExpandEdicts() local
2035 if (oldmaxedicts) in EntityFrame5_ExpandEdicts()
2037 memcpy(d->deltabits, olddeltabits, oldmaxedicts * sizeof(int)); in EntityFrame5_ExpandEdicts()
2038 memcpy(d->priorities, oldpriorities, oldmaxedicts * sizeof(unsigned char)); in EntityFrame5_ExpandEdicts()
2039 memcpy(d->updateframenum, oldupdateframenum, oldmaxedicts * sizeof(int)); in EntityFrame5_ExpandEdicts()
2040 memcpy(d->states, oldstates, oldmaxedicts * sizeof(entity_state_t)); in EntityFrame5_ExpandEdicts()
2041 memcpy(d->visiblebits, oldvisiblebits, (oldmaxedicts+7)/8 * sizeof(unsigned char)); in EntityFrame5_ExpandEdicts()