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

Hedgewars: Change argument passing between frontend and engine

completed by: Rowan D

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

Now that engine command line arguments have been "standardised" it would be nice to unify the way of calling it from frontend. Instead of passing a random list of values, change the invocation to a proper --option VALUE in QTfrontend/game.cpp by modifying HWGame::getArguments() and hedgewars/ as needed.


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.