diff options
| author | Joe Ludwig <[email protected]> | 2013-06-26 15:22:04 -0700 |
|---|---|---|
| committer | Joe Ludwig <[email protected]> | 2013-06-26 15:22:04 -0700 |
| commit | 39ed87570bdb2f86969d4be821c94b722dc71179 (patch) | |
| tree | abc53757f75f40c80278e87650ea92808274aa59 /mp/src/game/client/mumble.h | |
| download | source-sdk-2013-39ed87570bdb2f86969d4be821c94b722dc71179.tar.xz source-sdk-2013-39ed87570bdb2f86969d4be821c94b722dc71179.zip | |
First version of the SOurce SDK 2013
Diffstat (limited to 'mp/src/game/client/mumble.h')
| -rw-r--r-- | mp/src/game/client/mumble.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/mp/src/game/client/mumble.h b/mp/src/game/client/mumble.h new file mode 100644 index 00000000..6fe750f7 --- /dev/null +++ b/mp/src/game/client/mumble.h @@ -0,0 +1,40 @@ +//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose: Contains an interface to enable positional audio support in Mumble
+//
+// $NoKeywords: $
+//
+//===========================================================================//
+
+#ifndef MUMBLE_H
+#define MUMBLE_H
+
+#ifdef _WIN32
+#pragma once
+#endif
+
+#include "igamesystem.h"
+#include "GameEventListener.h"
+
+class CMumbleSystem : public CBaseGameSystemPerFrame, public CGameEventListener
+{
+public:
+ // Methods of IGameSystem
+ virtual bool Init();
+ virtual void LevelInitPostEntity();
+ virtual void LevelShutdownPreEntity();
+ virtual void PostRender();
+
+ // Methods of IGameSystem
+ virtual void FireGameEvent( IGameEvent *event );
+
+private:
+ char m_szSteamIDCurrentServer[32];
+ int m_cubSteamIDCurrentServer;
+ bool m_bHasSetPlayerUniqueId;
+ int m_nTeamSetInUniqueId;
+};
+
+IGameSystem *MumbleSystem();
+
+#endif // MUMBLE_H
\ No newline at end of file |