summaryrefslogtreecommitdiffstats
path: root/src/render/SmokeTrails.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/SmokeTrails.h')
-rw-r--r--src/render/SmokeTrails.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/render/SmokeTrails.h b/src/render/SmokeTrails.h
new file mode 100644
index 00000000..87fc8b2b
--- /dev/null
+++ b/src/render/SmokeTrails.h
@@ -0,0 +1,23 @@
+#pragma once
+
+class CSmokeTrail {
+ CVector m_pos[16];
+ float m_density[16];
+ int m_time[16];
+ char m_unused[536];
+ int m_seed;
+public:
+ void Render(void);
+ void RegisterPoint(CVector position, float a);
+ void Init(int num);
+};
+
+class CSmokeTrails {
+ static CSmokeTrail aSmoke[3];
+public:
+ static bool CigOn;
+ static void Update(void);
+ static void Render(void);
+ static void Init(void);
+};
+