URL: <http://gna.org/patch/?6703>
Summary: Send whether player colour is unset and/or chooseable in pregame to client Project: Freeciv Submitted by: jtn Submitted on: Sat 19 Dec 2015 11:50:37 AM UTC Category: None Priority: 3 - Low Status: None Privacy: Public Assigned to: None Originator Email: Open/Closed: Open Discussion Lock: Any Planned Release: 2.6.0, 3.0.0 _______________________________________________________ Details: I've got a half-finished patch somewhere which shows player colours in pregame, with a notion of adding UI to let players select their colours when plrcolormode is set appropriately. To do this well there are a couple of boolean fields that should be added to the network protocol per-player: * Whether or not there is a specific colour that the player will get (so that client can show colour as unset -- currently package_player_info() sends black in this situation) * Whether client can usefully send /playercolor to change colour (currently depends whether plrcolormode is PLR_SET, but this knowledge should remain in server) _______________________________________________________ Reply to this item at: <http://gna.org/patch/?6703> _______________________________________________ Message sent via/by Gna! http://gna.org/ _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev