From 1fb915df69aaa77ec8be39bb96650e5ec568e245 Mon Sep 17 00:00:00 2001 From: signde Date: Sat, 11 Sep 2004 19:34:11 +0000 Subject: (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] --- functions.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'functions.h') 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(); -- cgit v1.2.3-54-g00ecf