diff options
| author | oy <Tom_Adams@web.de> | 2011-01-17 13:28:15 +0100 |
|---|---|---|
| committer | oy <Tom_Adams@web.de> | 2011-01-17 13:28:15 +0100 |
| commit | bf6fcc20f4a9cccab0470d5848a2401bd0bfe93e (patch) | |
| tree | a945e41ad55c5a0d5877e60e3eefa90e563e907a /src/engine/client/client.h | |
| parent | 40f6740742c7d967038abdd5a582d8b50712d1b2 (diff) | |
| download | zcatch-bf6fcc20f4a9cccab0470d5848a2401bd0bfe93e.tar.gz zcatch-bf6fcc20f4a9cccab0470d5848a2401bd0bfe93e.zip | |
added an error popup on startup when the sound couldn't be initialised. Closes #425
Diffstat (limited to 'src/engine/client/client.h')
| -rw-r--r-- | src/engine/client/client.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/engine/client/client.h b/src/engine/client/client.h index f25e7cf7..8ba70662 100644 --- a/src/engine/client/client.h +++ b/src/engine/client/client.h @@ -142,6 +142,7 @@ class CClient : public IClient, public CDemoPlayer::IListner int m_SnapCrcErrors; bool m_AutoScreenshotRecycle; bool m_EditorActive; + bool m_SoundInitFailed; int m_AckGameTick; int m_CurrentRecvTick; @@ -235,6 +236,8 @@ public: virtual bool ConnectionProblems(); + virtual bool SoundInitFailed() { return m_SoundInitFailed; } + void DirectInput(int *pInput, int Size); void SendInput(); |