Author: gentildemon
Date: Sat Dec 15 11:10:20 2007
New Revision: 3805

URL: http://svn.gna.org/viewcvs/wormux?rev=3805&view=rev
Log:
[MAJOR] Change the network random numbers generator management.
Now each client compute its own random numbers but the seed is refreshed each 
turn by the turn master. This way, the random generators stay 
synchronized.
This is related to bug #9861.

WARNING: The random generator seems unsynchronized in the initialization of the 
game, when mines and barrels are put. Thus, they are not in the same 
place. Anyway, now, when gnu and polecat rebounds, it is exactly at the same 
place, so it's ok for the generator, but there's something to fix during 
the initialization.


Modified:
    trunk/src/game/game.cpp
    trunk/src/include/action.h
    trunk/src/include/action_handler.cpp
    trunk/src/network/randomsync.cpp
    trunk/src/network/randomsync.h


_______________________________________________
Wormux-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/wormux-cvs

Reply via email to