GSoC/GCI Archive
Google Code-in 2012 Copyleft Games Group

Hedgewars: Sound option, hear only music

completed by: Mitchell

mentors: Andrey Korotaev, Xeli, koda

Remember to join our IRC channel when working on this task! We are on #hedgewars at freenode.net. If you are new to IRC, read this tutorial from a past GCI participant.

Your task

Add one more option to audio configuration: right now you can turn off sound completely or just turn off the music. Implement the possibility of turning off only sound effects while leaving music on. See QTfrontend/ui/page/pageoptions.cpp and hedgewars/uSound.pas where (most of) such options are configured.

Deliverables: A working patch, that applies cleanly to our source tree. This patch should be in the form of a pull from clone, hg export or unified diff format (in order of preference) implementing the functionality required.