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/IHammer.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/IHammer.h')
| -rw-r--r-- | mp/src/public/IHammer.h | 112 |
1 files changed, 56 insertions, 56 deletions
diff --git a/mp/src/public/IHammer.h b/mp/src/public/IHammer.h index ee3a94af..7e85f2d7 100644 --- a/mp/src/public/IHammer.h +++ b/mp/src/public/IHammer.h @@ -1,56 +1,56 @@ -//========= Copyright Valve Corporation, All rights reserved. ============//
-//
-// Purpose: The application object.
-//
-//=============================================================================//
-
-#ifndef IHAMMER_H
-#define IHAMMER_H
-
-#include "appframework/IAppSystem.h"
-
-typedef struct tagMSG MSG;
-
-
-class IStudioDataCache;
-
-
-//-----------------------------------------------------------------------------
-// Return values for RequestNewConfig
-//-----------------------------------------------------------------------------
-enum RequestRetval_t
-{
- REQUEST_OK = 0,
- REQUEST_QUIT
-};
-
-
-//-----------------------------------------------------------------------------
-// Interface used to drive hammer
-//-----------------------------------------------------------------------------
-#define INTERFACEVERSION_HAMMER "Hammer001"
-class IHammer : public IAppSystem
-{
-public:
- virtual bool HammerPreTranslateMessage( MSG * pMsg ) = 0;
- virtual bool HammerIsIdleMessage( MSG * pMsg ) = 0;
- virtual bool HammerOnIdle( long count ) = 0;
-
- virtual void RunFrame() = 0;
-
- // Returns the mod and the game to initially start up
- virtual const char *GetDefaultMod() = 0;
- virtual const char *GetDefaultGame() = 0;
-
- virtual bool InitSessionGameConfig( const char *szGameDir ) = 0;
-
- // Request a new config from hammer's config system
- virtual RequestRetval_t RequestNewConfig() = 0;
-
- // Returns the full path to the mod and the game to initially start up
- virtual const char *GetDefaultModFullPath() = 0;
-
- virtual int MainLoop() = 0;
-};
-
-#endif // IHAMMER_H
+//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: The application object. +// +//=============================================================================// + +#ifndef IHAMMER_H +#define IHAMMER_H + +#include "appframework/IAppSystem.h" + +typedef struct tagMSG MSG; + + +class IStudioDataCache; + + +//----------------------------------------------------------------------------- +// Return values for RequestNewConfig +//----------------------------------------------------------------------------- +enum RequestRetval_t +{ + REQUEST_OK = 0, + REQUEST_QUIT +}; + + +//----------------------------------------------------------------------------- +// Interface used to drive hammer +//----------------------------------------------------------------------------- +#define INTERFACEVERSION_HAMMER "Hammer001" +class IHammer : public IAppSystem +{ +public: + virtual bool HammerPreTranslateMessage( MSG * pMsg ) = 0; + virtual bool HammerIsIdleMessage( MSG * pMsg ) = 0; + virtual bool HammerOnIdle( long count ) = 0; + + virtual void RunFrame() = 0; + + // Returns the mod and the game to initially start up + virtual const char *GetDefaultMod() = 0; + virtual const char *GetDefaultGame() = 0; + + virtual bool InitSessionGameConfig( const char *szGameDir ) = 0; + + // Request a new config from hammer's config system + virtual RequestRetval_t RequestNewConfig() = 0; + + // Returns the full path to the mod and the game to initially start up + virtual const char *GetDefaultModFullPath() = 0; + + virtual int MainLoop() = 0; +}; + +#endif // IHAMMER_H |