summaryrefslogtreecommitdiff
path: root/src/game/g_local.h
diff options
context:
space:
mode:
authorMikko Tiusanen <ams@daug.net>2015-04-03 19:24:09 +0300
committerMikko Tiusanen <ams@daug.net>2015-04-03 19:24:09 +0300
commitde1bb3421d464023570b96082809d79ca3ca6264 (patch)
tree0211e822a755475262ecf8a2a1dc39468ee95384 /src/game/g_local.h
parent7af0f802b62a34b9a613328dcd7fe157999b77b2 (diff)
parentd22b446abfa0d98d7b69511d6c4bbe555d2cb7bf (diff)
Merge branch 'master' of github.com:mtiusane/new-edge
Diffstat (limited to 'src/game/g_local.h')
-rw-r--r--src/game/g_local.h11
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;
};