summaryrefslogtreecommitdiff
path: root/src/base/net_multiplayer.h
diff options
context:
space:
mode:
authorxHire <xhire@tuxportal.cz>2009-05-24 20:13:33 +0200
committerxHire <xhire@tuxportal.cz>2009-05-26 01:11:54 +0200
commitb992c007c186fddf31f67a7ed0bd5789cfb9b85e (patch)
tree8afca953f70438207634bc9a1e073bbeafe47ad6 /src/base/net_multiplayer.h
parent6ac111e0ed67187554ead8cccc241029465e8979 (diff)
Rectified the coding style in base .h files
Diffstat (limited to 'src/base/net_multiplayer.h')
-rw-r--r--src/base/net_multiplayer.h44
1 files changed, 21 insertions, 23 deletions
diff --git a/src/base/net_multiplayer.h b/src/base/net_multiplayer.h
index 8d5ab46..3da7137 100644
--- a/src/base/net_multiplayer.h
+++ b/src/base/net_multiplayer.h
@@ -1,39 +1,37 @@
-
#ifndef NET_MULTIPLAYER_H
+#define NET_MULTIPLAYER_H
-# define NET_MULTIPLAYER_H
-
-# include "main.h"
-# include "tux.h"
-# include "item.h"
-# include "arena.h"
+#include "main.h"
+#include "tux.h"
+#include "item.h"
+#include "arena.h"
-# define PROTO_UDPv4 0
-# define PROTO_UDPv6 1
+#define PROTO_UDPv4 0
+#define PROTO_UDPv6 1
-# define NET_GAME_TYPE_NONE 0
-# define NET_GAME_TYPE_SERVER 1
-# define NET_GAME_TYPE_CLIENT 2
+#define NET_GAME_TYPE_NONE 0
+#define NET_GAME_TYPE_SERVER 1
+#define NET_GAME_TYPE_CLIENT 2
-# define NET_STATUS_OK 0
-# define NET_STATUS_ZOMBIE 1
+#define NET_STATUS_OK 0
+#define NET_STATUS_ZOMBIE 1
-# define NET_PROTOCOL_TYPE_TCP 0
-# define NET_PROTOCOL_TYPE_UDP 1
+#define NET_PROTOCOL_TYPE_TCP 0
+#define NET_PROTOCOL_TYPE_UDP 1
-# define LIMIT_BUFFER 10240
+#define LIMIT_BUFFER 10240
-# define NET_MASTER_SERVER_DOMAIN "ms.tuxanci.org"
-# define NET_MASTER_SERVER "193.85.244.165"
-# define NET_MASTER_PORT 6800
+#define NET_MASTER_SERVER_DOMAIN "ms.tuxanci.org"
+#define NET_MASTER_SERVER "83.167.234.16"
+#define NET_MASTER_PORT 6800
-# ifdef PUBLIC_SERVER
+#ifdef PUBLIC_SERVER
extern int net_multiplayer_init_for_game_server(char *ip4, int port4, char *ip6, int port6);
-# endif
+#endif /* PUBLIC_SERVER */
extern int net_multiplayer_init(int type, char *ip, int port, int proto);
extern int net_multiplayer_get_game_type();
extern void net_multiplayer_event();
extern void net_multiplayer_quit();
-#endif
+#endif /* NET_MULTIPLAYER_H */