From 6c7804c1422535c4b52f57fe59f40788575cd532 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 7 Nov 2013 13:57:23 +0300 Subject: add missing file --- src/CMakeLists.txt | 1 + src/Makefile.am | 1 + src/net/netconsts.h | 26 ++++++++++++++++++++++++++ 3 files changed, 28 insertions(+) create mode 100644 src/net/netconsts.h 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 . + */ + +#ifndef NET_DEFAULTS_H +#define NET_DEFAULTS_H + +static const uint16_t DEFAULT_PORT = 6901; + +#endif // NET_DEFAULTS_H -- cgit v1.2.3-60-g2f50