summaryrefslogtreecommitdiff
path: root/game/client/tf2/c_entity_burn_effect.h
diff options
context:
space:
mode:
Diffstat (limited to 'game/client/tf2/c_entity_burn_effect.h')
-rw-r--r--game/client/tf2/c_entity_burn_effect.h44
1 files changed, 44 insertions, 0 deletions
diff --git a/game/client/tf2/c_entity_burn_effect.h b/game/client/tf2/c_entity_burn_effect.h
new file mode 100644
index 0000000..9a5d7d3
--- /dev/null
+++ b/game/client/tf2/c_entity_burn_effect.h
@@ -0,0 +1,44 @@
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose:
+//
+// $NoKeywords: $
+//=============================================================================//
+
+#ifndef C_ENTITY_BURN_EFFECT_H
+#define C_ENTITY_BURN_EFFECT_H
+#ifdef _WIN32
+#pragma once
+#endif
+
+#include "c_baseentity.h"
+#include "particle_util.h"
+#include "particles_simple.h"
+
+class C_EntityBurnEffect : public C_BaseEntity
+{
+public:
+
+ DECLARE_CLASS( C_EntityBurnEffect, C_BaseEntity );
+ DECLARE_CLIENTCLASS();
+
+ C_EntityBurnEffect();
+
+
+// Overrides.
+public:
+
+ virtual void OnDataChanged( DataUpdateType_t updateType );
+ virtual void ClientThink();
+
+
+private:
+ int m_hBurningEntity; // todo: this should be an ehandle but base networkables aren't setup for ehandles yet.
+
+ TimedEvent m_Timer;
+ CSmartPtr<CSimpleEmitter> m_pEmitter;
+ PMaterialHandle m_hFireMaterial;
+};
+
+
+#endif // C_ENTITY_BURN_EFFECT_H