blob: 114353b71875f55f215d10ba8e87e3b5f23ec63c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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
|