widelands-dev team mailing list archive
-
widelands-dev team
-
Mailing list archive
-
Message #01415
Re: [Merge] lp:~widelands-dev/widelands/game_end_summary into lp:widelands
I went for an enum for the result (won/lost/resigned).
I also changed the report_result function to only take 3 arguments : player, result, and the info string.
I added some comment to show allowed values for that string, and parsed some of them in the game_summary screen.
--
https://code.launchpad.net/~widelands-dev/widelands/game_end_summary/+merge/176000
Your team Widelands Developers is subscribed to branch lp:~widelands-dev/widelands/game_end_summary.
References