aboutsummaryrefslogtreecommitdiff
path: root/mp/src/game/client/clientsideeffects.h
diff options
context:
space:
mode:
authorJohn Schoenick <[email protected]>2015-09-09 18:35:41 -0700
committerJohn Schoenick <[email protected]>2015-09-09 18:35:41 -0700
commit0d8dceea4310fde5706b3ce1c70609d72a38efdf (patch)
treec831ef32c2c801a5c5a80401736b52c7b5a528ec /mp/src/game/client/clientsideeffects.h
parentUpdated the SDK with the latest code from the TF and HL2 branches. (diff)
downloadsource-sdk-2013-master.tar.xz
source-sdk-2013-master.zip
Updated the SDK with the latest code from the TF and HL2 branches.HEADmaster
Diffstat (limited to 'mp/src/game/client/clientsideeffects.h')
-rw-r--r--mp/src/game/client/clientsideeffects.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/mp/src/game/client/clientsideeffects.h b/mp/src/game/client/clientsideeffects.h
index c5aa4fd6..fd749565 100644
--- a/mp/src/game/client/clientsideeffects.h
+++ b/mp/src/game/client/clientsideeffects.h
@@ -32,7 +32,10 @@ public:
virtual bool IsActive( void );
// Sets the effect to inactive so it can be destroed
virtual void Destroy( void );
-
+
+ // Sets the effect name (useful for debugging).
+ virtual void SetEffectName( const char *pszName );
+
private:
// Name of effect ( static data )
const char *m_pszName;
@@ -50,6 +53,8 @@ public:
// Add an effect to the list of effects
virtual void AddEffect( CClientSideEffect *effect ) = 0;
+ // Remove the specified effect
+ virtual void RemoveEffect( CClientSideEffect *effect ) = 0;
// Simulate/Update/Draw effects on list
virtual void DrawEffects( double frametime ) = 0;
// Flush out all effects fbrom the list