#include "g_local.h"Go to the source code of this file.
Macros | |
| #define | TRAIL_LENGTH 8 |
| #define | NEXT(n) (((n) + 1) & (TRAIL_LENGTH - 1)) |
| #define | PREV(n) (((n) - 1) & (TRAIL_LENGTH - 1)) |
Functions | |
| void | PlayerTrail_Init (void) |
| void | PlayerTrail_Add (vec3_t spot) |
| void | PlayerTrail_New (vec3_t spot) |
| edict_t * | PlayerTrail_PickFirst (edict_t *self) |
| edict_t * | PlayerTrail_PickNext (edict_t *self) |
| edict_t * | PlayerTrail_LastSpot (void) |
Variables | |
| edict_t * | trail [TRAIL_LENGTH] |
| int | trail_head |
| qboolean | trail_active = false |
| #define NEXT | ( | n | ) | (((n) + 1) & (TRAIL_LENGTH - 1)) |
| #define PREV | ( | n | ) | (((n) - 1) & (TRAIL_LENGTH - 1)) |
Definition at line 67 of file p_trail.c.
Referenced by ClientBeginServerFrame(), and PlayerTrail_New().
Definition at line 143 of file p_trail.c.
Referenced by ClientBeginServerFrame().
| edict_t* trail[TRAIL_LENGTH] |
Definition at line 41 of file p_trail.c.
Referenced by PlayerTrail_Add(), PlayerTrail_Init(), PlayerTrail_LastSpot(), PlayerTrail_PickFirst(), and PlayerTrail_PickNext().
Definition at line 43 of file p_trail.c.
Referenced by PlayerTrail_Add(), PlayerTrail_Init(), PlayerTrail_New(), PlayerTrail_PickFirst(), and PlayerTrail_PickNext().
| int trail_head |
Definition at line 42 of file p_trail.c.
Referenced by PlayerTrail_Add(), PlayerTrail_Init(), PlayerTrail_LastSpot(), PlayerTrail_PickFirst(), and PlayerTrail_PickNext().