Completely arbitrary tweaking of tunnel values (avoids a nil) - still needs smooth curves (probably a target dx/dy to aim for, and slow alterations) and taking less CPU. Also disable unused function in Highlander
For instructions, please visit: http://code.google.com/p/hedgewars/wiki/BuildingOnWindows