summaryrefslogtreecommitdiff
path: root/game/shared/tf2/gasoline_shared.h
diff options
context:
space:
mode:
authorFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
committerFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
commit3bf9df6b2785fa6d951086978a3e66f49427166a (patch)
tree2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /game/shared/tf2/gasoline_shared.h
downloadarchived-source-engine-2018-hl2-src-master.tar.xz
archived-source-engine-2018-hl2-src-master.zip
Diffstat (limited to 'game/shared/tf2/gasoline_shared.h')
-rw-r--r--game/shared/tf2/gasoline_shared.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/game/shared/tf2/gasoline_shared.h b/game/shared/tf2/gasoline_shared.h
new file mode 100644
index 0000000..efd9280
--- /dev/null
+++ b/game/shared/tf2/gasoline_shared.h
@@ -0,0 +1,40 @@
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose:
+//
+// $NoKeywords: $
+//=============================================================================//
+
+#ifndef GASOLINE_SHARED_H
+#define GASOLINE_SHARED_H
+#ifdef _WIN32
+#pragma once
+#endif
+
+
+#define PYRO_AMMO_TYPE "Gasoline"
+
+
+// Radius in inches of each gasoline blob. They should render to about this size.
+#define GASOLINE_BLOB_RADIUS 30
+
+// Blobs start to attract each other when their centerpoints get this close.
+#define GASOLINE_ATTRACT_START_DISTANCE (GASOLINE_BLOB_RADIUS + 20)
+
+
+// Blobs expire after this long whether they are lit or not.
+#define MAX_LIT_GASOLINE_BLOB_LIFETIME 5.0
+#define MAX_UNLIT_GASOLINE_BLOB_LIFETIME 20.0
+
+
+// Heat per second given off by fire.
+#define FIRE_DAMAGE_PER_SEC 85
+
+
+#define BLOBFLAG_LIT 0x01 // This blob is on fire.
+#define BLOBFLAG_STOPPED 0x02 // This means it has hit a surface and stopped moving.
+#define BLOBFLAG_USE_GRAVITY 0x04
+#define NUM_BLOB_FLAGS 3
+
+
+#endif // GASOLINE_SHARED_H