diff options
author | signde <signde@openttd.org> | 2004-09-11 19:34:11 +0000 |
---|---|---|
committer | signde <signde@openttd.org> | 2004-09-11 19:34:11 +0000 |
commit | 1fb915df69aaa77ec8be39bb96650e5ec568e245 (patch) | |
tree | a7f24d905e8470f6331b816f08ef922fb43b8532 /functions.h | |
parent | d03afadad23fced4bbb11df12a01f26cdbaf6844 (diff) | |
download | openttd-1fb915df69aaa77ec8be39bb96650e5ec568e245.tar.xz |
(svn r207) -Codechange: randomizer handling
-Fix: desync problem fixes
-Fix: server doesnt hang anymore when a client timed out
-Feature: low latency connection enhancements [*net_sync_freq, *net_ready_ahead]
Diffstat (limited to 'functions.h')
-rw-r--r-- | functions.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/functions.h b/functions.h index 90f99b530..778b57517 100644 --- a/functions.h +++ b/functions.h @@ -95,6 +95,8 @@ void memswap(void *a, void *b, size_t size); uint32 Random(); uint RandomRange(uint max); +void InitPlayerRandoms(); + uint32 InteractiveRandom(); /* Used for random sequences that are not the same on the other end of the multiplayer link */ void SetDate(uint date); /* facedraw.c */ @@ -131,6 +133,8 @@ void NetworkSendCommand(TileIndex tile, uint32 p1, uint32 p2, uint32 cmd, Comman void NetworkStartSync(bool fcreset); void NetworkClose(bool client); void NetworkSendReadyPacket(); +void NetworkSendSyncPackets(); +bool NetworkCheckClientReady(); void NetworkIPListInit(); |