diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-11-07 13:57:23 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-11-07 13:58:13 +0300 |
commit | 6c7804c1422535c4b52f57fe59f40788575cd532 (patch) | |
tree | feb3a654561bdbb86a254ac80e039d6a803f3151 /src | |
parent | d21a9461e853d657c139b97cb474d8e2549d83a9 (diff) | |
download | mv-6c7804c1422535c4b52f57fe59f40788575cd532.tar.gz mv-6c7804c1422535c4b52f57fe59f40788575cd532.tar.bz2 mv-6c7804c1422535c4b52f57fe59f40788575cd532.tar.xz mv-6c7804c1422535c4b52f57fe59f40788575cd532.zip |
add missing file
Diffstat (limited to 'src')
-rw-r--r-- | src/CMakeLists.txt | 1 | ||||
-rw-r--r-- | src/Makefile.am | 1 | ||||
-rw-r--r-- | src/net/netconsts.h | 26 |
3 files changed, 28 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 5ea4bdad5..e516662e8 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -420,6 +420,7 @@ SET(SRCS net/npchandler.h net/net.cpp net/net.h + net/netconsts.h net/partyhandler.h net/playerhandler.h net/sdltcpnet.cpp diff --git a/src/Makefile.am b/src/Makefile.am index b62844381..9664099af 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -551,6 +551,7 @@ manaplus_SOURCES += gui/widgets/avatarlistbox.cpp \ net/messageout.h \ net/net.cpp \ net/net.h \ + net/netconsts.h \ net/npchandler.h \ net/partyhandler.h \ net/playerhandler.h \ diff --git a/src/net/netconsts.h b/src/net/netconsts.h new file mode 100644 index 000000000..38f84ebaa --- /dev/null +++ b/src/net/netconsts.h @@ -0,0 +1,26 @@ +/* + * The ManaPlus Client + * Copyright (C) 2013 The ManaPlus Developers + * + * This file is part of The ManaPlus Client. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +#ifndef NET_DEFAULTS_H +#define NET_DEFAULTS_H + +static const uint16_t DEFAULT_PORT = 6901; + +#endif // NET_DEFAULTS_H |