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

Hedgewars: Hide "Video Record" keybind option

completed by: Mitchell

mentors: Andrey Korotaev, Xeli, Sheepy, koda

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

Your task

A past GSoC student introduced the possibility of recording a match to a video file; you can press 'r' or configure your keybindings to any other key so that portions of your match will be saved and stored in a file.

When this feature is disabled (for example not compiled in because the required libraries were not found) this option should not be listed in the available keybindings, and the relevant code should be IFDEF'd away. Check out QTfrontend/ui/page/pageeditteam.cpp as a hint where to start (and notice that BINDS_NUMBER should be carefully handled)!


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.