rewrote memory system entirely (hunk, cache, and zone are gone, memory pools replaced...
[xonotic/darkplaces.git] / protocol.c
1
2 #include "quakedef.h"
3
4 void ClearStateToDefault(entity_state_t *s)
5 {
6         s->time = 0;
7         VectorClear(s->origin);
8         VectorClear(s->angles);
9         s->effects = 0;
10         s->modelindex = 0;
11         s->frame = 0;
12         s->colormap = 0;
13         s->skin = 0;
14         s->alpha = 255;
15         s->scale = 16;
16         s->glowsize = 0;
17         s->glowcolor = 254;
18         s->flags = 0;
19         s->active = 0;
20 }
21