summaryrefslogtreecommitdiff
path: root/src/client/client.h
diff options
context:
space:
mode:
authororoborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-07-10 11:28:59 +0000
committeroroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-07-10 11:28:59 +0000
commitbb15df3f3428df7cd2a4482adebcdaa6fc2f516e (patch)
tree61993b5576bebeff7cf9dbcecc5fabdf592abfcc /src/client/client.h
parent0eda3185ba30d433029c9a7e725529a801c93d80 (diff)
- precisteny kod sietoveho multiplayera
- moduly si mozu mosielat spravy cez sietovy protokol - opravy chyb v moduloch - oprava chyby, v textovych poliach sa zobrazuju znaky, ktore ste nestalcili - director_t* loadDirector(char *s) vracia NULL ak adresar neexistuje ( predtym sa proces zrutil ) git-svn-id: http://opensvn.csie.org/tuxanci_ng@126 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e
Diffstat (limited to 'src/client/client.h')
-rw-r--r--src/client/client.h21
1 files changed, 2 insertions, 19 deletions
diff --git a/src/client/client.h b/src/client/client.h
index cd8c4c4..e301c4b 100644
--- a/src/client/client.h
+++ b/src/client/client.h
@@ -5,31 +5,14 @@
#include "main.h"
-#if defined SUPPORT_NET_UNIX_UDP || defined SUPPORT_NET_SDL_UDP
#define CLIENT_TIMEOUT 1000
#define SERVER_TIMEOUT_ALIVE 5000
-#endif
-
-#ifdef SUPPORT_NET_UNIX_UDP
extern int initUdpClient(char *ip, int port, int proto);
-extern void eventPingServer();
-extern void selectClientUdpSocket();
-extern void refreshPingServerAlive();
+extern void sendServer(char *msg);
+extern void eventClient();
extern void quitUdpClient();
-#endif
-#ifdef SUPPORT_NET_SDL_UDP
-extern int initSdlUdpClient(char *ip, int port);
-extern void eventPingServer();
-extern void selectClientSdlUdpSocket();
-extern void refreshPingServerAlive();
-extern bool_t isServerAlive();
-extern void quitSdlUdpClient();
#endif
-extern void sendServer(char *msg);
-extern void eventServerBuffer();
-
-#endif