summaryrefslogtreecommitdiff
path: root/src/const/net
diff options
context:
space:
mode:
Diffstat (limited to 'src/const/net')
-rw-r--r--src/const/net/inventory.h6
-rw-r--r--src/const/net/maxpacketversion.h16
-rw-r--r--src/const/net/net.h18
-rw-r--r--src/const/net/nostat.h6
-rw-r--r--src/const/net/skill.h6
5 files changed, 18 insertions, 34 deletions
diff --git a/src/const/net/inventory.h b/src/const/net/inventory.h
index 491c9ba40..34f546607 100644
--- a/src/const/net/inventory.h
+++ b/src/const/net/inventory.h
@@ -1,11 +1,11 @@
/*
- * The ManaPlus Client
+ * The ManaVerse Client
* Copyright (C) 2004-2009 The Mana World Development Team
* Copyright (C) 2009-2010 The Mana Developers
* Copyright (C) 2011-2020 The ManaPlus Developers
- * Copyright (C) 2020-2023 The ManaVerse Developers
+ * Copyright (C) 2020-2025 The ManaVerse Developers
*
- * This file is part of The ManaPlus Client.
+ * This file is part of The ManaVerse 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
diff --git a/src/const/net/maxpacketversion.h b/src/const/net/maxpacketversion.h
index e44b005f7..a73042f79 100644
--- a/src/const/net/maxpacketversion.h
+++ b/src/const/net/maxpacketversion.h
@@ -1,9 +1,9 @@
/*
- * The ManaPlus Client
+ * The ManaVerse Client
* Copyright (C) 2013-2020 The ManaPlus Developers
- * Copyright (C) 2020-2023 The ManaVerse Developers
+ * Copyright (C) 2020-2025 The ManaVerse Developers
*
- * This file is part of The ManaPlus Client.
+ * This file is part of The ManaVerse 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
@@ -22,15 +22,7 @@
#ifndef CONST_NET_MAXPACKETVERSION_H
#define CONST_NET_MAXPACKETVERSION_H
-#if defined(__GXX_EXPERIMENTAL_CXX0X__)
-#if defined(__APPLE__)
-#include <tr1/cstdint>
-#else // defined(__APPLE__)
-#include <cstdint>
-#endif // defined(__APPLE__)
-#else // defined(__GXX_EXPERIMENTAL_CXX0X__)
-#include <stdint.h>
-#endif // defined(__GXX_EXPERIMENTAL_CXX0X__)
+#include <stdint.h> // see commit's discussion
static const uint32_t maxPacketVersion = 20171101;
diff --git a/src/const/net/net.h b/src/const/net/net.h
index 3790f2bf0..c2325b293 100644
--- a/src/const/net/net.h
+++ b/src/const/net/net.h
@@ -1,9 +1,9 @@
/*
- * The ManaPlus Client
+ * The ManaVerse Client
* Copyright (C) 2013-2020 The ManaPlus Developers
- * Copyright (C) 2020-2023 The ManaVerse Developers
+ * Copyright (C) 2020-2025 The ManaVerse Developers
*
- * This file is part of The ManaPlus Client.
+ * This file is part of The ManaVerse 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
@@ -22,20 +22,12 @@
#ifndef CONST_NET_NET_H
#define CONST_NET_NET_H
-#if defined(__GXX_EXPERIMENTAL_CXX0X__)
-#if defined(__APPLE__)
-#include <tr1/cstdint>
-#else // defined(__APPLE__)
-#include <cstdint>
-#endif // defined(__APPLE__)
-#else // defined(__GXX_EXPERIMENTAL_CXX0X__)
-#include <stdint.h>
-#endif // defined(__GXX_EXPERIMENTAL_CXX0X__)
+#include <stdint.h> // see commit's discussion
#ifdef TMWA_SUPPORT
static const uint16_t DEFAULT_PORT = 6901;
#else // TMWA_SUPPORT
-
static const uint16_t DEFAULT_PORT = 6900;
#endif // TMWA_SUPPORT
+
#endif // CONST_NET_NET_H
diff --git a/src/const/net/nostat.h b/src/const/net/nostat.h
index f8025fbbf..e34d5fb8b 100644
--- a/src/const/net/nostat.h
+++ b/src/const/net/nostat.h
@@ -1,9 +1,9 @@
/*
- * The ManaPlus Client
+ * The ManaVerse Client
* Copyright (C) 2011-2020 The ManaPlus Developers
- * Copyright (C) 2020-2023 The ManaVerse Developers
+ * Copyright (C) 2020-2025 The ManaVerse Developers
*
- * This file is part of The ManaPlus Client.
+ * This file is part of The ManaVerse 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
diff --git a/src/const/net/skill.h b/src/const/net/skill.h
index 157ea6662..c4465475c 100644
--- a/src/const/net/skill.h
+++ b/src/const/net/skill.h
@@ -1,11 +1,11 @@
/*
- * The ManaPlus Client
+ * The ManaVerse Client
* Copyright (C) 2004-2009 The Mana World Development Team
* Copyright (C) 2009-2010 The Mana Developers
* Copyright (C) 2011-2020 The ManaPlus Developers
- * Copyright (C) 2020-2023 The ManaVerse Developers
+ * Copyright (C) 2020-2025 The ManaVerse Developers
*
- * This file is part of The ManaPlus Client.
+ * This file is part of The ManaVerse 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