Go to the documentation of this file.
39 #define TRAIL_LENGTH 8
45 #define NEXT(n) (((n) + 1) & (TRAIL_LENGTH - 1))
46 #define PREV(n) (((n) - 1) & (TRAIL_LENGTH - 1))
106 marker =
NEXT(marker);
113 return trail[marker];
121 return trail[marker];
135 marker =
NEXT(marker);
140 return trail[marker];
void PlayerTrail_New(vec3_t spot)
#define VectorSubtract(a, b, c)
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]
monsterinfo_t monsterinfo
qboolean visible(edict_t *self, edict_t *other)
void PlayerTrail_Init(void)
edict_t * PlayerTrail_PickNext(edict_t *self)