[Freeciv-Dev] PRNG, and not telling the client some server options
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
This is mainly Cedric's PRNG, updated yet again to current CVS, and with
an extra addition:
I've added a field "to_client" to the server options struct, so that
some server options are not reported to the client. There are two
reasons for this:
1. Some options the client is not interested in (saveturns, scorelog),
and some the client should not know about (seed and randseed, especially
given a good deterministic PRNG).
2. With the new aqueductloss option, and now randseed, the message for
report_server_options got too long for the struct packet_generic_message
string. There could be better ways of fixing this, but in the meantime
using to_client also works.
-- David
rand_dwp4.diff.gz
Description: GNU Zip compressed data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] PRNG, and not telling the client some server options,
David Pfitzner <=
|
|