aboutsummaryrefslogtreecommitdiff
path: root/mp/src/public/engine_hlds_api.h
diff options
context:
space:
mode:
authorJørgen P. Tjernø <[email protected]>2013-12-02 19:31:46 -0800
committerJørgen P. Tjernø <[email protected]>2013-12-02 19:46:31 -0800
commitf56bb35301836e56582a575a75864392a0177875 (patch)
treede61ddd39de3e7df52759711950b4c288592f0dc /mp/src/public/engine_hlds_api.h
parentMark some more files as text. (diff)
downloadsource-sdk-2013-f56bb35301836e56582a575a75864392a0177875.tar.xz
source-sdk-2013-f56bb35301836e56582a575a75864392a0177875.zip
Fix line endings. WHAMMY.
Diffstat (limited to 'mp/src/public/engine_hlds_api.h')
-rw-r--r--mp/src/public/engine_hlds_api.h106
1 files changed, 53 insertions, 53 deletions
diff --git a/mp/src/public/engine_hlds_api.h b/mp/src/public/engine_hlds_api.h
index 806313bc..80535958 100644
--- a/mp/src/public/engine_hlds_api.h
+++ b/mp/src/public/engine_hlds_api.h
@@ -1,53 +1,53 @@
-//========= Copyright Valve Corporation, All rights reserved. ============//
-//
-// Purpose:
-//
-//=============================================================================//
-
-#ifndef ENGINE_HLDS_API_H
-#define ENGINE_HLDS_API_H
-#ifdef _WIN32
-#pragma once
-#endif
-
-#include "interface.h"
-#include "appframework/IAppSystem.h"
-
-
-#define VENGINE_HLDS_API_VERSION "VENGINE_HLDS_API_VERSION002"
-
-
-struct ModInfo_t
-{
- void *m_pInstance;
- const char *m_pBaseDirectory; // Executable directory ("c:/program files/half-life 2", for example)
- const char *m_pInitialMod; // Mod name ("cstrike", for example)
- const char *m_pInitialGame; // Root game name ("hl2", for example, in the case of cstrike)
- CAppSystemGroup *m_pParentAppSystemGroup;
- bool m_bTextMode;
-};
-
-
-//-----------------------------------------------------------------------------
-// Purpose: This is the interface exported by the engine.dll to allow a dedicated server front end
-// application to host it.
-//-----------------------------------------------------------------------------
-class IDedicatedServerAPI : public IAppSystem
-{
-// Functions
-public:
- // Initialize the engine with the specified base directory and interface factories
- virtual bool ModInit( ModInfo_t &info ) = 0;
- // Shutdown the engine
- virtual void ModShutdown( void ) = 0;
- // Run a frame
- virtual bool RunFrame( void ) = 0;
- // Insert text into console
- virtual void AddConsoleText( char *text ) = 0;
- // Get current status to display in the hlds UI (console window title bar, e.g. )
- virtual void UpdateStatus(float *fps, int *nActive, int *nMaxPlayers, char *pszMap, int maxlen ) = 0;
- // Get current Hostname to display in the hlds UI (console window title bar, e.g. )
- virtual void UpdateHostname(char *pszHostname, int maxlen) = 0;
-};
-
-#endif // ENGINE_HLDS_API_H
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose:
+//
+//=============================================================================//
+
+#ifndef ENGINE_HLDS_API_H
+#define ENGINE_HLDS_API_H
+#ifdef _WIN32
+#pragma once
+#endif
+
+#include "interface.h"
+#include "appframework/IAppSystem.h"
+
+
+#define VENGINE_HLDS_API_VERSION "VENGINE_HLDS_API_VERSION002"
+
+
+struct ModInfo_t
+{
+ void *m_pInstance;
+ const char *m_pBaseDirectory; // Executable directory ("c:/program files/half-life 2", for example)
+ const char *m_pInitialMod; // Mod name ("cstrike", for example)
+ const char *m_pInitialGame; // Root game name ("hl2", for example, in the case of cstrike)
+ CAppSystemGroup *m_pParentAppSystemGroup;
+ bool m_bTextMode;
+};
+
+
+//-----------------------------------------------------------------------------
+// Purpose: This is the interface exported by the engine.dll to allow a dedicated server front end
+// application to host it.
+//-----------------------------------------------------------------------------
+class IDedicatedServerAPI : public IAppSystem
+{
+// Functions
+public:
+ // Initialize the engine with the specified base directory and interface factories
+ virtual bool ModInit( ModInfo_t &info ) = 0;
+ // Shutdown the engine
+ virtual void ModShutdown( void ) = 0;
+ // Run a frame
+ virtual bool RunFrame( void ) = 0;
+ // Insert text into console
+ virtual void AddConsoleText( char *text ) = 0;
+ // Get current status to display in the hlds UI (console window title bar, e.g. )
+ virtual void UpdateStatus(float *fps, int *nActive, int *nMaxPlayers, char *pszMap, int maxlen ) = 0;
+ // Get current Hostname to display in the hlds UI (console window title bar, e.g. )
+ virtual void UpdateHostname(char *pszHostname, int maxlen) = 0;
+};
+
+#endif // ENGINE_HLDS_API_H