summaryrefslogtreecommitdiff
path: root/tf2/ScreenSpaceEffects.h
diff options
context:
space:
mode:
authorboris <wzn@moneybot.cc>2018-11-28 16:00:02 +1300
committerboris <wzn@moneybot.cc>2018-11-28 16:00:02 +1300
commit3d412a4b30a9f7c7f51ea6562e694315948bd3da (patch)
tree26d67dfd1f3e5fd12903ad13e85d0cb8bcf8f21c /tf2/ScreenSpaceEffects.h
parente4729e4393d90271a3814c7a79950a660c48325a (diff)
cleaned up
in short, the cheat and loader are now separate solutions. unused stuff was moved into the legacy solution in case anyone wants to compile it or whatever. i can change this back if you want to. also, i configured the loader to compile in x64, and have separate build types for linux and win64
Diffstat (limited to 'tf2/ScreenSpaceEffects.h')
-rw-r--r--tf2/ScreenSpaceEffects.h50
1 files changed, 0 insertions, 50 deletions
diff --git a/tf2/ScreenSpaceEffects.h b/tf2/ScreenSpaceEffects.h
deleted file mode 100644
index ec0b6e8..0000000
--- a/tf2/ScreenSpaceEffects.h
+++ /dev/null
@@ -1,50 +0,0 @@
-#pragma once
-class KeyValues;
-
-class IScreenSpaceEffect {
-public:
-
- virtual void Init( ) = 0;
- virtual void Shutdown( ) = 0;
-
- virtual void SetParameters( KeyValues *params ) = 0;
-
- virtual void Render( int x, int y, int w, int h ) = 0;
-
- virtual void Enable( bool bEnable ) = 0;
- virtual bool IsEnabled( ) = 0;
-};
-
-class IScreenSpaceEffectManager {
-public:
-
- virtual void InitScreenSpaceEffects( ) = 0;
- virtual void ShutdownScreenSpaceEffects( ) = 0;
-
- virtual IScreenSpaceEffect *GetScreenSpaceEffect( const char *pEffectName ) = 0;
-
- virtual void SetScreenSpaceEffectParams( const char *pEffectName, KeyValues *params ) = 0;
- virtual void SetScreenSpaceEffectParams( IScreenSpaceEffect *pEffect, KeyValues *params ) = 0;
-
- virtual void EnableScreenSpaceEffect( const char *pEffectName ) = 0;
- virtual void EnableScreenSpaceEffect( IScreenSpaceEffect *pEffect ) = 0;
-
- virtual void DisableScreenSpaceEffect( const char *pEffectName ) = 0;
- virtual void DisableScreenSpaceEffect( IScreenSpaceEffect *pEffect ) = 0;
-
- virtual void DisableAllScreenSpaceEffects( ) = 0;
-
- virtual void RenderEffects( int x, int y, int w, int h ) = 0;
-};
-
-class CScreenSpaceEffectRegistration {
-public:
- CScreenSpaceEffectRegistration( const char *pName, IScreenSpaceEffect *pEffect );
-
- const char *m_pEffectName;
- IScreenSpaceEffect *m_pEffect;
-
- CScreenSpaceEffectRegistration *m_pNext;
-
- static CScreenSpaceEffectRegistration *s_pHead;
-}; \ No newline at end of file