[Kde-games-devel] Review Request 127370: KBlocks: Enable sounds
Julian Helfferich
julian.helfferich at googlemail.com
Mon Mar 14 02:10:25 UTC 2016
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/127370/
-----------------------------------------------------------
Review request for KDE Games.
Bugs: 319372
http://bugs.kde.org/show_bug.cgi?id=319372
Repository: kblocks
Description
-------
Enable sounds in KBlocks. The sounds are only played for the human player in Human vs. AI matches. For the "BlockMove" and "BlockDrop" sounds, the respective keyboard inputs emit a new signal blockMoved() or blockDropped() signal which are connected to the new playMoveSound() and playDropSound() slots. The BlockRemove sound is played when one or more lines are removed.
Diffs
-----
KBlocksKeyboardPlayer.h cc78472
KBlocksKeyboardPlayer.cpp cf6225f
KBlocksScene.h 7280710
KBlocksScene.cpp c84d68e
KBlocksWin.cpp a3c83f2
Diff: https://git.reviewboard.kde.org/r/127370/diff/
Testing
-------
* Played single game -> Sounds play correctly.
* Played Human vs AI -> Sounds play only for human player (as intended).
* Turned off/on sounds -> Sounds off/on correctly.
Thanks,
Julian Helfferich
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-games-devel/attachments/20160314/c3655feb/attachment.html>
More information about the kde-games-devel
mailing list