diff options
| author | Jørgen P. Tjernø <[email protected]> | 2013-12-02 19:31:46 -0800 |
|---|---|---|
| committer | Jørgen P. Tjernø <[email protected]> | 2013-12-02 19:46:31 -0800 |
| commit | f56bb35301836e56582a575a75864392a0177875 (patch) | |
| tree | de61ddd39de3e7df52759711950b4c288592f0dc /mp/src/public/toolframework/iclientenginetools.h | |
| parent | Mark some more files as text. (diff) | |
| download | source-sdk-2013-f56bb35301836e56582a575a75864392a0177875.tar.xz source-sdk-2013-f56bb35301836e56582a575a75864392a0177875.zip | |
Fix line endings. WHAMMY.
Diffstat (limited to 'mp/src/public/toolframework/iclientenginetools.h')
| -rw-r--r-- | mp/src/public/toolframework/iclientenginetools.h | 118 |
1 files changed, 59 insertions, 59 deletions
diff --git a/mp/src/public/toolframework/iclientenginetools.h b/mp/src/public/toolframework/iclientenginetools.h index 13e2edb3..32c460a5 100644 --- a/mp/src/public/toolframework/iclientenginetools.h +++ b/mp/src/public/toolframework/iclientenginetools.h @@ -1,59 +1,59 @@ -//========= Copyright Valve Corporation, All rights reserved. ============//
-//
-// Purpose:
-//
-//=============================================================================
-
-#ifndef ICLIENTENGINETOOLS_H
-#define ICLIENTENGINETOOLS_H
-#ifdef _WIN32
-#pragma once
-#endif
-
-#include "interface.h"
-#include "toolframework/itoolentity.h" // HTOOLHANDLE
-
-//-----------------------------------------------------------------------------
-// Forward declarations
-//-----------------------------------------------------------------------------
-class KeyValues;
-struct AudioState_t;
-
-
-//-----------------------------------------------------------------------------
-// Purpose: Exported from engine to client .dll to marshall tool framework calls
-// into IToolSystems
-//-----------------------------------------------------------------------------
-class IClientEngineTools : public IBaseInterface
-{
-public:
- // Level init, shutdown
- virtual void LevelInitPreEntityAllTools() = 0;
- // entities are created / spawned / precached here
- virtual void LevelInitPostEntityAllTools() = 0;
-
- virtual void LevelShutdownPreEntityAllTools() = 0;
- // Entities are deleted / released here...
- virtual void LevelShutdownPostEntityAllTools() = 0;
-
- virtual void PreRenderAllTools() = 0;
- virtual void PostRenderAllTools() = 0;
-
- virtual void PostToolMessage( HTOOLHANDLE hEntity, KeyValues *msg ) = 0;
-
- virtual void AdjustEngineViewport( int& x, int& y, int& width, int& height ) = 0;
- virtual bool SetupEngineView( Vector &origin, QAngle &angles, float &fov ) = 0;
- virtual bool SetupAudioState( AudioState_t &audioState ) = 0;
-
- // Paintmode is an enum declared in ienginevgui.h
- virtual void VGui_PreRenderAllTools( int paintMode ) = 0;
- virtual void VGui_PostRenderAllTools( int paintMode ) = 0;
-
- virtual bool IsThirdPersonCamera( ) = 0;
-
- virtual bool InToolMode() = 0;
-};
-
-#define VCLIENTENGINETOOLS_INTERFACE_VERSION "VCLIENTENGINETOOLS001"
-
-#endif // ICLIENTENGINETOOLS_H
+//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +//============================================================================= + +#ifndef ICLIENTENGINETOOLS_H +#define ICLIENTENGINETOOLS_H +#ifdef _WIN32 +#pragma once +#endif + +#include "interface.h" +#include "toolframework/itoolentity.h" // HTOOLHANDLE + +//----------------------------------------------------------------------------- +// Forward declarations +//----------------------------------------------------------------------------- +class KeyValues; +struct AudioState_t; + + +//----------------------------------------------------------------------------- +// Purpose: Exported from engine to client .dll to marshall tool framework calls +// into IToolSystems +//----------------------------------------------------------------------------- +class IClientEngineTools : public IBaseInterface +{ +public: + // Level init, shutdown + virtual void LevelInitPreEntityAllTools() = 0; + // entities are created / spawned / precached here + virtual void LevelInitPostEntityAllTools() = 0; + + virtual void LevelShutdownPreEntityAllTools() = 0; + // Entities are deleted / released here... + virtual void LevelShutdownPostEntityAllTools() = 0; + + virtual void PreRenderAllTools() = 0; + virtual void PostRenderAllTools() = 0; + + virtual void PostToolMessage( HTOOLHANDLE hEntity, KeyValues *msg ) = 0; + + virtual void AdjustEngineViewport( int& x, int& y, int& width, int& height ) = 0; + virtual bool SetupEngineView( Vector &origin, QAngle &angles, float &fov ) = 0; + virtual bool SetupAudioState( AudioState_t &audioState ) = 0; + + // Paintmode is an enum declared in ienginevgui.h + virtual void VGui_PreRenderAllTools( int paintMode ) = 0; + virtual void VGui_PostRenderAllTools( int paintMode ) = 0; + + virtual bool IsThirdPersonCamera( ) = 0; + + virtual bool InToolMode() = 0; +}; + +#define VCLIENTENGINETOOLS_INTERFACE_VERSION "VCLIENTENGINETOOLS001" + +#endif // ICLIENTENGINETOOLS_H |