diff options
| author | Narendra Umate <[email protected]> | 2013-12-02 23:36:05 -0800 |
|---|---|---|
| committer | Narendra Umate <[email protected]> | 2013-12-02 23:36:05 -0800 |
| commit | 8737f191f3b59f001a77bf6c08091109211c1c9f (patch) | |
| tree | dbbf05c004d9b026f2c1f23f06600fe0add82c36 /mp/src/game/shared/sharedInterface.h | |
| parent | Update .gitignore. (diff) | |
| parent | Make .xcconfigs text files too. (diff) | |
| download | source-sdk-2013-8737f191f3b59f001a77bf6c08091109211c1c9f.tar.xz source-sdk-2013-8737f191f3b59f001a77bf6c08091109211c1c9f.zip | |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'mp/src/game/shared/sharedInterface.h')
| -rw-r--r-- | mp/src/game/shared/sharedInterface.h | 74 |
1 files changed, 37 insertions, 37 deletions
diff --git a/mp/src/game/shared/sharedInterface.h b/mp/src/game/shared/sharedInterface.h index 468ffb98..4f668373 100644 --- a/mp/src/game/shared/sharedInterface.h +++ b/mp/src/game/shared/sharedInterface.h @@ -1,37 +1,37 @@ -//========= Copyright Valve Corporation, All rights reserved. ============//
-//
-// Purpose: Exposes client-server neutral interfaces implemented in both places
-//
-// $NoKeywords: $
-//=============================================================================//
-
-#ifndef SHAREDINTERFACE_H
-#define SHAREDINTERFACE_H
-
-#ifdef POSIX
-#define random random_valve// stdlib.h defined random() and our class defn conflicts so under POSIX rename it using the preprocessor
-#endif
-
-class IFileSystem;
-class IUniformRandomStream;
-class CGaussianRandomStream;
-class IEngineSound;
-class IMapData;
-
-extern IFileSystem *filesystem;
-#if defined(_STATIC_LINKED) && defined(_SUBSYSTEM) && (defined(CLIENT_DLL) || defined(GAME_DLL))
-namespace _SUBSYSTEM
-{
-extern IUniformRandomStream *random;
-}
-#else
-extern IUniformRandomStream *random;
-#endif
-extern CGaussianRandomStream *randomgaussian;
-extern IEngineSound *enginesound;
-extern IMapData *g_pMapData; // TODO: current implementations of the
- // interface are in TF2, should probably move
- // to TF2/HL2 neutral territory
-
-#endif // SHAREDINTERFACE_H
-
+//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: Exposes client-server neutral interfaces implemented in both places +// +// $NoKeywords: $ +//=============================================================================// + +#ifndef SHAREDINTERFACE_H +#define SHAREDINTERFACE_H + +#ifdef POSIX +#define random random_valve// stdlib.h defined random() and our class defn conflicts so under POSIX rename it using the preprocessor +#endif + +class IFileSystem; +class IUniformRandomStream; +class CGaussianRandomStream; +class IEngineSound; +class IMapData; + +extern IFileSystem *filesystem; +#if defined(_STATIC_LINKED) && defined(_SUBSYSTEM) && (defined(CLIENT_DLL) || defined(GAME_DLL)) +namespace _SUBSYSTEM +{ +extern IUniformRandomStream *random; +} +#else +extern IUniformRandomStream *random; +#endif +extern CGaussianRandomStream *randomgaussian; +extern IEngineSound *enginesound; +extern IMapData *g_pMapData; // TODO: current implementations of the + // interface are in TF2, should probably move + // to TF2/HL2 neutral territory + +#endif // SHAREDINTERFACE_H + |