From a117d4bf53cbace2ef97ca3003904c1470643955 Mon Sep 17 00:00:00 2001 From: manuel Date: Wed, 13 Apr 2011 04:00:48 +0200 Subject: 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 --- pacman-c++/actor.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'pacman-c++/actor.h') diff --git a/pacman-c++/actor.h b/pacman-c++/actor.h index 5ec1a59..1739d9f 100644 --- a/pacman-c++/actor.h +++ b/pacman-c++/actor.h @@ -46,12 +46,17 @@ public: private: void moveByServer(Movement direction); +private slots: + void startPlayer1(); + void startPlayer2(); + private: QPixmap m_pix; Movement m_direction; PixmapItem m_icon; bool m_local; - AudioPlayer *m_wakaPlayer; + AudioPlayer *m_wakaPlayer1; + AudioPlayer *m_wakaPlayer2; unsigned int m_roundPoints; unsigned int m_gamePoints; -- cgit v1.2.3