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/game/client/vgui_game_viewport.cpp | |
| 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/game/client/vgui_game_viewport.cpp')
| -rw-r--r-- | mp/src/game/client/vgui_game_viewport.cpp | 104 |
1 files changed, 52 insertions, 52 deletions
diff --git a/mp/src/game/client/vgui_game_viewport.cpp b/mp/src/game/client/vgui_game_viewport.cpp index 2af52a13..b4f638dc 100644 --- a/mp/src/game/client/vgui_game_viewport.cpp +++ b/mp/src/game/client/vgui_game_viewport.cpp @@ -1,52 +1,52 @@ -//========= Copyright Valve Corporation, All rights reserved. ============//
-//
-// Purpose:
-//
-// $NoKeywords: $
-//
-//=============================================================================//
-#include "cbase.h"
-#include "clientmode.h"
-
-// memdbgon must be the last include file in a .cpp file!!!
-#include "tier0/memdbgon.h"
-
-//================================================================
-// Global startup and shutdown functions for game code in the DLL.
-//================================================================
-
-class CViewportClientSystem : public IGameSystem
-{
-public:
- CViewportClientSystem()
- {
- }
-
- virtual char const *Name() { return "CViewportClientSystem"; }
- virtual bool IsPerFrame() { return false; }
-
- // Init, shutdown
- virtual bool Init()
- {
- g_pClientMode->Layout();
- return true;
- }
- virtual void PostInit() {}
- virtual void Shutdown() {}
- virtual void LevelInitPreEntity() {}
- virtual void LevelInitPostEntity() {}
- virtual void LevelShutdownPreEntity() {}
- virtual void LevelShutdownPostEntity() {}
- virtual void SafeRemoveIfDesired() {}
-
- virtual void OnSave() {}
- virtual void OnRestore() {}
-
-};
-
-static CViewportClientSystem g_ViewportClientSystem;
-
-IGameSystem *ViewportClientSystem()
-{
- return &g_ViewportClientSystem;
-}
+//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +// $NoKeywords: $ +// +//=============================================================================// +#include "cbase.h" +#include "clientmode.h" + +// memdbgon must be the last include file in a .cpp file!!! +#include "tier0/memdbgon.h" + +//================================================================ +// Global startup and shutdown functions for game code in the DLL. +//================================================================ + +class CViewportClientSystem : public IGameSystem +{ +public: + CViewportClientSystem() + { + } + + virtual char const *Name() { return "CViewportClientSystem"; } + virtual bool IsPerFrame() { return false; } + + // Init, shutdown + virtual bool Init() + { + g_pClientMode->Layout(); + return true; + } + virtual void PostInit() {} + virtual void Shutdown() {} + virtual void LevelInitPreEntity() {} + virtual void LevelInitPostEntity() {} + virtual void LevelShutdownPreEntity() {} + virtual void LevelShutdownPostEntity() {} + virtual void SafeRemoveIfDesired() {} + + virtual void OnSave() {} + virtual void OnRestore() {} + +}; + +static CViewportClientSystem g_ViewportClientSystem; + +IGameSystem *ViewportClientSystem() +{ + return &g_ViewportClientSystem; +} |