From 6ed79c5de77b3f6be5c297cb5432d123ff1ff177 Mon Sep 17 00:00:00 2001 From: oroborus Date: Sat, 5 Jul 2008 15:56:13 +0000 Subject: - miny sa nezobrazuju na radare - tux moze chodit strielat a zmenit zbran sucastne - master server sa pouziga ten na "ms.tuxanci.org" - AI sa nastavuje v GUI ako v TFG git-svn-id: http://opensvn.csie.org/tuxanci_ng@93 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e --- src/base/net_multiplayer.h | 5 +++-- src/base/proto.c | 5 ++++- src/base/tux.c | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) (limited to 'src/base') diff --git a/src/base/net_multiplayer.h b/src/base/net_multiplayer.h index aacd55f..a37df6f 100644 --- a/src/base/net_multiplayer.h +++ b/src/base/net_multiplayer.h @@ -23,8 +23,9 @@ #define LIMIT_BUFFER 10240 -#define NET_MASTER_SERVER "193.85.244.165" -#define NET_MASTER_PORT 2200 +#define NET_MASTER_SERVER_DOMAIN "ms.tuxanci.org" +#define NET_MASTER_SERVER "193.85.244.165" +#define NET_MASTER_PORT 2200 #ifdef PUBLIC_SERVER extern int initNetMulitplayerPublicServer(char *ip4, int port4, char *ip6, int port6); diff --git a/src/base/proto.c b/src/base/proto.c index 9a5cc4b..cc33149 100644 --- a/src/base/proto.c +++ b/src/base/proto.c @@ -618,7 +618,10 @@ void proto_recv_additem_client(char *msg) return; } - addToRadar(id, x, y, RADAR_TYPE_ITEM); + if( type != ITEM_MINE && type != ITEM_EXPLOSION && type != ITEM_BIG_EXPLOSION ) + { + addToRadar(id, x, y, RADAR_TYPE_ITEM); + } item = newItem(x, y, type, author_id); diff --git a/src/base/tux.c b/src/base/tux.c index f60bd1b..7992bd9 100644 --- a/src/base/tux.c +++ b/src/base/tux.c @@ -754,7 +754,7 @@ void eventListTux(list_t *listTux) #endif pickUpGun(thisTux); eventBonus(thisTux); - eventGiveTuxListItem(thisTux, arena->spaceItem); + //eventGiveTuxListItem(thisTux, arena->spaceItem); } } -- cgit v1.2.3