diff options
| author | scarab <scarab@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-07-24 21:52:47 +0000 |
|---|---|---|
| committer | scarab <scarab@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-07-24 21:52:47 +0000 |
| commit | 1cbcfe088fd1cb54a1e562a0ef872cf4b9c6e64c (patch) | |
| tree | b41060a58c0395aee1026f8a958e0590ccd020b0 /src/base/net_multiplayer.c | |
| parent | 5db4fc63dc273e8a4a57f63de3f73e43c2751747 (diff) | |
- uprava udp pro fungovani na win
- pridani fuknce na ziskani precizniho casu do mytimer.c
- uprava hlasek do EN
git-svn-id: http://opensvn.csie.org/tuxanci_ng@162 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e
Diffstat (limited to 'src/base/net_multiplayer.c')
| -rw-r--r-- | src/base/net_multiplayer.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/base/net_multiplayer.c b/src/base/net_multiplayer.c index 43a9508..3404581 100644 --- a/src/base/net_multiplayer.c +++ b/src/base/net_multiplayer.c @@ -16,10 +16,6 @@ #include "udp.h" #endif -#ifdef SUPPORT_NET_SDL_UDP -#include "sdl_udp.h" -#endif - #ifndef PUBLIC_SERVER #include "screen_setting.h" #include "screen_choiceArena.h" @@ -56,8 +52,8 @@ int initNetMuliplayer(int type, char *ip, int port, int proto) case NET_GAME_TYPE_SERVER : if( initUdpServer(ip, port, proto) != 0 ) { - fprintf(stderr, "Neomzem inicalizovat sietovu hru pre server !\n"); - netGameType = NET_GAME_TYPE_NONE; + fprintf(stderr, "Unable to inicialize network game as server!\n"); + netGameType = NET_GAME_TYPE_NONE; return -1; } break; @@ -66,7 +62,7 @@ int initNetMuliplayer(int type, char *ip, int port, int proto) case NET_GAME_TYPE_CLIENT : if( initUdpClient(ip, port, proto) != 0 ) { - fprintf(stderr, "Neomzem inicalizovat sietovu hru pre clienta !\n"); + fprintf(stderr, "Unable to inicialize network game as client!\n"); netGameType = NET_GAME_TYPE_NONE; return -1; } |