Quake II RTX doxygen
1.0 dev
|
|
Go to the documentation of this file.
37 #define TRAIL_LENGTH 8
43 #define NEXT(n) (((n) + 1) & (TRAIL_LENGTH - 1))
44 #define PREV(n) (((n) - 1) & (TRAIL_LENGTH - 1))
56 trail[n]->classname =
"player_trail";
101 if (
trail[marker]->timestamp <= self->monsterinfo.trail_time)
102 marker =
NEXT(marker);
108 return trail[marker];
115 return trail[marker];
127 if (
trail[marker]->timestamp <= self->monsterinfo.trail_time)
128 marker =
NEXT(marker);
133 return trail[marker];
void PlayerTrail_New(vec3_t spot)
edict_t * PlayerTrail_LastSpot(void)
void PlayerTrail_Add(vec3_t spot)
float vectoyaw(vec3_t vec)
edict_t * PlayerTrail_PickFirst(edict_t *self)
edict_t * trail[TRAIL_LENGTH]
qboolean visible(edict_t *self, edict_t *other)
void PlayerTrail_Init(void)
edict_t * PlayerTrail_PickNext(edict_t *self)