diff options
| author | Paweł Redman <pawel.redman@gmail.com> | 2015-04-03 00:33:39 +0200 | 
|---|---|---|
| committer | Paweł Redman <pawel.redman@gmail.com> | 2015-04-03 00:33:39 +0200 | 
| commit | 5678a7bb3498f20123523f008df947a39eb44ccc (patch) | |
| tree | 79a9984682742613ba610155ab43705e86f4ba9c /src/game/g_local.h | |
| parent | 216fc980dd8221198e491745a0eaa029c37f74d3 (diff) | |
Implement damage blobs.
Diffstat (limited to 'src/game/g_local.h')
| -rw-r--r-- | src/game/g_local.h | 11 | 
1 files changed, 11 insertions, 0 deletions
diff --git a/src/game/g_local.h b/src/game/g_local.h index 30a61b0..cbf98bd 100644 --- a/src/game/g_local.h +++ b/src/game/g_local.h @@ -403,6 +403,14 @@ typedef struct unlagged_s {    qboolean    used;  } unlagged_t; +#define MAX_BUFFERED_BLOBS 20 +typedef struct +{ +  vec3_t origin; +  int value; +  int flags; +} g_damageBlob_t; +  #define MAX_TRAMPLE_BUILDABLES_TRACKED 20  // this structure is cleared on each ClientSpawn(),  // except for 'client->pers' and 'client->sess' @@ -511,6 +519,9 @@ struct gclient_s    int                 notrackEndTime;       // Time when the current no track period ends    int                 blobs; + +  g_damageBlob_t      blobBuffer[ MAX_BUFFERED_BLOBS ]; +  int                 bufferedBlobCount;  };  | 
