Hedgewars: Optional Second Argument
completed by: Rowan D
mentors: Andrey Korotaev, Xeli, koda
Hwengine is the program that runs our engine directly. It calls requires at least three parameters, a local datapath, the official datapath and the replay file. Make the second argument optional, so that you can launch hwengine only with the local datapath and replay file. Check out hedgewars/ArgParsers.inc to read how argument parsing is done. Note that you probably need to save the official datapath somewhere at configure time and this is performed in hedgewars/config.inc.
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.