diff options
author | Björn Steinbrink <B.Steinbrink@gmx.de> | 2005-09-13 22:56:29 +0000 |
---|---|---|
committer | Björn Steinbrink <B.Steinbrink@gmx.de> | 2005-09-13 22:56:29 +0000 |
commit | 3dc311a652d1fda1252903a974920395e56e5668 (patch) | |
tree | 7098d55015d28a4d973c5073d7c9e45ae03ec400 /src/serverinfo.h | |
parent | 78771718bf7af14273d7bb0090dccff97b00b397 (diff) | |
download | mana-3dc311a652d1fda1252903a974920395e56e5668.tar.gz mana-3dc311a652d1fda1252903a974920395e56e5668.tar.bz2 mana-3dc311a652d1fda1252903a974920395e56e5668.tar.xz mana-3dc311a652d1fda1252903a974920395e56e5668.zip |
Merged with SDL_NET_TEST branch.
Diffstat (limited to 'src/serverinfo.h')
-rw-r--r-- | src/serverinfo.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/serverinfo.h b/src/serverinfo.h index be3fccaa..b317b87b 100644 --- a/src/serverinfo.h +++ b/src/serverinfo.h @@ -21,16 +21,17 @@ * $Id$ */ -#ifndef _TMW_SERVERINFO_H -#define _TMW_SERVERINFO_H +#ifndef _TMW_SERVERINFO_ +#define _TMW_SERVERINFO_ -typedef struct { +#include <string> + +struct SERVER_INFO +{ int address; short port; - char name[20]; + std::string name; short online_users; -} SERVER_INFO; - -extern SERVER_INFO *server_info; +}; #endif |