diff options
| author | manuel <manuel@mausz.at> | 2011-04-13 04:00:48 +0200 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2011-04-13 04:00:48 +0200 |
| commit | a117d4bf53cbace2ef97ca3003904c1470643955 (patch) | |
| tree | 78cc58961249e6d2c126aa0a2e6e928e610a121b /pacman-c++/mainwidget.h | |
| parent | 646c9849bc02c64398d5490b633132c0a3291441 (diff) | |
| download | foop-a117d4bf53cbace2ef97ca3003904c1470643955.tar.gz foop-a117d4bf53cbace2ef97ca3003904c1470643955.tar.bz2 foop-a117d4bf53cbace2ef97ca3003904c1470643955.zip | |
try to play the sound more gapless. if that won't work for totycro I'll revert the crap. it makes the code really ugly
Diffstat (limited to 'pacman-c++/mainwidget.h')
| -rw-r--r-- | pacman-c++/mainwidget.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pacman-c++/mainwidget.h b/pacman-c++/mainwidget.h index a3cde3d..cbc195e 100644 --- a/pacman-c++/mainwidget.h +++ b/pacman-c++/mainwidget.h | |||
| @@ -30,6 +30,8 @@ private slots: | |||
| 30 | void playerScoreClicked(); | 30 | void playerScoreClicked(); |
| 31 | void tick(); | 31 | void tick(); |
| 32 | void sendKeyUpdate(); | 32 | void sendKeyUpdate(); |
| 33 | void startPlayer1(); | ||
| 34 | void startPlayer2(); | ||
| 33 | 35 | ||
| 34 | private: | 36 | private: |
| 35 | void createGui(); | 37 | void createGui(); |
| @@ -49,7 +51,8 @@ private: | |||
| 49 | 51 | ||
| 50 | /* game running */ | 52 | /* game running */ |
| 51 | bool m_running; | 53 | bool m_running; |
| 52 | AudioPlayer *m_sirenPlayer; | 54 | AudioPlayer *m_sirenPlayer1; |
| 55 | AudioPlayer *m_sirenPlayer2; | ||
| 53 | 56 | ||
| 54 | QTcpSocket *m_socket; | 57 | QTcpSocket *m_socket; |
| 55 | SceneHolder *m_scene; | 58 | SceneHolder *m_scene; |
