Follow-up Comment #3, patch #2062 (project freeciv):
>> /playercolor takes a color argument like in the
>> format "0xrrggbb". However, the featured text module already
>> use a different format for colors ("#rrggbb"). They should be
>> the same to do not confuse the users.
> I did try this but a '#' is an invalid character wrt the command
> line. It has to be added to fc_isalnum() (see stdinhand.c:3971)
We currently can use '#' in command line, using quotes. fc_isalnum() (line
3971???) is not a problem. Plain '#' are currently cut in cut_comment().
> /playercolor => the information is included in /list players;
> see patch #2063
> /playercolor <player-name> => remove this
> /playercolor <player-name> <color> => define the color
> /playercolor <player-name> reset => clear the user-defined
> color; only available in pre-game
That sounds a good idea.
Reply to this item at:
Message posté via/par Gna!
Freeciv-dev mailing list