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

Hedgewars: Use player's name for the default team

completed by: An Ha

mentors: Andrey Korotaev, Xeli, 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

When assets files are created the first time Hedgewars runs, a team called "Default Team" is created. It would be nicer to use the player's name when using this team: see QTfrontend/hwform.cpp.


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.