[Freeciv-Dev] Re: Patch: ability to choose random nation (PR#308)
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Jeff Mallatt <jjm@xxxxxxxxxxxx> writes:
> Anyway, I was thinking that if I don't want to think, I really don't want
> to think! How about, rather than an extra toggle, adding a button at the
> bottom that both selects a random nation and closes the dialog, all in one?
Good idea. I've hacked together something here, but I'm not sure how to
handle the select race race :-)
Should we add a select_random_nation server function, or:
Do the random selection on the client side, checking in
handle_select_nation for a reject.
If we do get a reject, generate a new random and resend, until we get an
ok from the server.
--
Daniel Zinsli
University of Bergen, Norway
Finger s830@xxxxxxxxxxxxxxx for more info
|
|