summaryrefslogtreecommitdiff
path: root/src/fs
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs')
-rw-r--r--src/fs/files.cpp17
-rw-r--r--src/fs/files.h6
-rw-r--r--src/fs/mkdir.cpp16
-rw-r--r--src/fs/mkdir.h6
-rw-r--r--src/fs/paths.cpp35
-rw-r--r--src/fs/paths.h6
-rw-r--r--src/fs/specialfolder.cpp10
-rw-r--r--src/fs/specialfolder.h10
-rw-r--r--src/fs/virtfs/direntry.cpp6
-rw-r--r--src/fs/virtfs/direntry.h6
-rw-r--r--src/fs/virtfs/file.cpp6
-rw-r--r--src/fs/virtfs/file.h6
-rw-r--r--src/fs/virtfs/fileapi.h6
-rw-r--r--src/fs/virtfs/fs.cpp12
-rw-r--r--src/fs/virtfs/fs.h6
-rw-r--r--src/fs/virtfs/fsdir.cpp26
-rw-r--r--src/fs/virtfs/fsdir.h6
-rw-r--r--src/fs/virtfs/fsdirrwops.cpp6
-rw-r--r--src/fs/virtfs/fsdirrwops.h6
-rw-r--r--src/fs/virtfs/fsentry.cpp6
-rw-r--r--src/fs/virtfs/fsentry.h6
-rw-r--r--src/fs/virtfs/fsfuncs.h6
-rw-r--r--src/fs/virtfs/fszip.cpp6
-rw-r--r--src/fs/virtfs/fszip.h6
-rw-r--r--src/fs/virtfs/fsziprwops.cpp6
-rw-r--r--src/fs/virtfs/fsziprwops.h6
-rw-r--r--src/fs/virtfs/list.cpp6
-rw-r--r--src/fs/virtfs/list.h6
-rw-r--r--src/fs/virtfs/rwops.cpp9
-rw-r--r--src/fs/virtfs/rwops.h8
-rw-r--r--src/fs/virtfs/rwopstypes.h6
-rw-r--r--src/fs/virtfs/tools.cpp6
-rw-r--r--src/fs/virtfs/tools.h6
-rw-r--r--src/fs/virtfs/zipentry.cpp6
-rw-r--r--src/fs/virtfs/zipentry.h6
-rw-r--r--src/fs/virtfs/ziplocalheader.cpp6
-rw-r--r--src/fs/virtfs/ziplocalheader.h6
-rw-r--r--src/fs/virtfs/zipreader.cpp6
-rw-r--r--src/fs/virtfs/zipreader.h6
39 files changed, 163 insertions, 160 deletions
diff --git a/src/fs/files.cpp b/src/fs/files.cpp
index fcce1c0ea..59fd31f11 100644
--- a/src/fs/files.cpp
+++ b/src/fs/files.cpp
@@ -1,8 +1,9 @@
/*
- * The ManaPlus Client
- * Copyright (C) 2013-2019 The ManaPlus Developers
+ * The ManaVerse Client
+ * Copyright (C) 2013-2020 The ManaPlus 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
@@ -208,7 +209,7 @@ int Files::copyFile(const std::string &restrict srcName,
bool Files::existsLocal(const std::string &path)
{
struct stat statbuf;
-#ifdef WIN32
+#ifdef _WIN32
// in windows path\file.ext\ by default detected as exists
// if file.ext is not directory, need return false
const bool res = (stat(path.c_str(), &statbuf) == 0);
@@ -220,9 +221,9 @@ bool Files::existsLocal(const std::string &path)
return false;
}
return true;
-#else // WIN32
+#else // _WIN32
return stat(path.c_str(), &statbuf) == 0;
-#endif // WIN32
+#endif // _WIN32
}
bool Files::loadTextFileLocal(const std::string &fileName,
@@ -302,7 +303,7 @@ void Files::enumFiles(StringVect &files,
const std::string file = next_file->d_name;
if (file == "." || file == "..")
continue;
-#ifndef WIN32
+#ifndef _WIN32
if (skipSymlinks == true)
{
struct stat statbuf;
@@ -312,7 +313,7 @@ void Files::enumFiles(StringVect &files,
continue;
}
}
-#endif // WIN32
+#endif // _WIN32
files.push_back(file);
}
closedir(dir);
diff --git a/src/fs/files.h b/src/fs/files.h
index a5b1a59bd..c5b495311 100644
--- a/src/fs/files.h
+++ b/src/fs/files.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
diff --git a/src/fs/mkdir.cpp b/src/fs/mkdir.cpp
index 6e4a9b72a..45a025c6a 100644
--- a/src/fs/mkdir.cpp
+++ b/src/fs/mkdir.cpp
@@ -1,10 +1,10 @@
/*
- * The ManaPlus Client
+ * The ManaVerse Client
* Copyright (C) 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
@@ -24,16 +24,16 @@
#include "utils/cast.h"
-#if defined WIN32
+#if defined _WIN32
#include <limits.h>
#include <windows.h>
-#endif // defined WIN32
+#endif // defined _WIN32
#include <sys/stat.h>
#include "debug.h"
-#if defined WIN32
+#if defined _WIN32
int mkdir_r(const char *const pathname)
{
if (!pathname)
@@ -103,7 +103,7 @@ int mkdir_r(const char *const pathname)
}
return 0;
}
-#else // WIN32
+#else // _WIN32
/// Create a directory, making leading components first if necessary
int mkdir_r(const char *const pathname)
@@ -164,4 +164,4 @@ int mkdir_r(const char *const pathname)
delete []tmp;
return 0;
}
-#endif // WIN32
+#endif // _WIN32
diff --git a/src/fs/mkdir.h b/src/fs/mkdir.h
index 6bc2eaf42..8ea6bd294 100644
--- a/src/fs/mkdir.h
+++ b/src/fs/mkdir.h
@@ -1,10 +1,10 @@
/*
- * The ManaPlus Client
+ * The ManaVerse Client
* Copyright (C) 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/fs/paths.cpp b/src/fs/paths.cpp
index 942f69471..492f5a449 100644
--- a/src/fs/paths.cpp
+++ b/src/fs/paths.cpp
@@ -1,8 +1,9 @@
/*
- * The ManaPlus Client
- * Copyright (C) 2011-2019 The ManaPlus Developers
+ * The ManaVerse Client
+ * Copyright (C) 2011-2020 The ManaPlus 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
@@ -41,22 +42,22 @@
#define realpath(N, R) strcpy(R, N)
#endif // __native_client__
-#ifdef WIN32
+#ifdef _WIN32
#include "fs/specialfolder.h"
#define realpath(N, R) _fullpath((R), (N), _MAX_PATH)
-#endif
+#endif // _WIN32
#if defined __OpenBSD__
#include <limits>
#else
#include <climits>
-#endif // WIN32
+#endif // __OpenBSD__
-#ifndef WIN32
+#ifndef _WIN32
#include <unistd.h>
#include <sys/types.h>
#include <pwd.h>
-#endif // WIN32
+#endif // _WIN32
PRAGMA48(GCC diagnostic push)
PRAGMA48(GCC diagnostic ignored "-Wshadow")
@@ -147,7 +148,7 @@ void prepareFsPath(std::string &path)
std::string &fixDirSeparators(std::string &str)
{
-#ifdef WIN32
+#ifdef _WIN32
return replaceAll(str, "/", "\\");
#else
return str;
@@ -168,7 +169,7 @@ std::string removeLast(const std::string &str)
return str;
}
-#ifdef WIN32
+#ifdef _WIN32
std::string getSelfName()
{
return "manaplus.exe";
@@ -194,18 +195,18 @@ std::string getSelfName()
return "";
}
-#else // WIN32
+#else // _WIN32
std::string getSelfName()
{
return "";
}
-#endif // WIN32
+#endif // _WIN32
std::string getPicturesDir()
{
-#ifdef WIN32
+#ifdef _WIN32
std::string dir = getSpecialFolderLocation(CSIDL_MYPICTURES);
if (dir.empty())
dir = getSpecialFolderLocation(CSIDL_DESKTOP);
@@ -243,7 +244,7 @@ std::string getPicturesDir()
}
}
}
-#endif // WIN32
+#endif // _WIN32
return pathJoin(VirtFs::getUserDir(), "Desktop");
}
@@ -256,11 +257,11 @@ std::string getHomePath()
dir += dirSeparator;
return dir;
#else // defined(UNITTESTS) && defined(UNITESTSDIR)
-#ifdef WIN32
+#ifdef _WIN32
return getSpecialFolderLocation(CSIDL_LOCAL_APPDATA);
#elif defined(__SWITCH__)
return VirtFs::getBaseDir();
-#else
+#else // _WIN32
const char *path = getenv("HOME");
if (path == nullptr)
{
@@ -278,7 +279,7 @@ std::string getHomePath()
if (findLast(dir, std::string(dirSeparator)) == false)
dir += dirSeparator;
return dir;
-#endif // WIN32
+#endif // _WIN32
#endif // defined(UNITTESTS) && defined(UNITESTSDIR)
}
diff --git a/src/fs/paths.h b/src/fs/paths.h
index dceeb5a33..7bb49e9cc 100644
--- a/src/fs/paths.h
+++ b/src/fs/paths.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/fs/specialfolder.cpp b/src/fs/specialfolder.cpp
index 140970a2d..34e37aec6 100644
--- a/src/fs/specialfolder.cpp
+++ b/src/fs/specialfolder.cpp
@@ -1,10 +1,10 @@
/*
- * The ManaPlus Client
+ * The ManaVerse Client
* Copyright (C) 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
@@ -20,7 +20,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifdef WIN32
+#ifdef _WIN32
#include "fs/specialfolder.h"
#include <windows.h>
@@ -57,4 +57,4 @@ std::string getSpecialFolderLocation(const int folderId)
return ret;
}
-#endif // WIN32
+#endif // _WIN32
diff --git a/src/fs/specialfolder.h b/src/fs/specialfolder.h
index ff91729cb..832750768 100644
--- a/src/fs/specialfolder.h
+++ b/src/fs/specialfolder.h
@@ -1,10 +1,10 @@
/*
- * The ManaPlus Client
+ * The ManaVerse Client
* Copyright (C) 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
@@ -23,12 +23,12 @@
#ifndef UTILS_SPECIALFOLDER_H
#define UTILS_SPECIALFOLDER_H
-#ifdef WIN32
+#ifdef _WIN32
#include <shlobj.h>
#include <string>
#include "localconsts.h"
std::string getSpecialFolderLocation(const int folderId) A_WARN_UNUSED;
-#endif // WIN32
+#endif // _WIN32
#endif // UTILS_SPECIALFOLDER_H
diff --git a/src/fs/virtfs/direntry.cpp b/src/fs/virtfs/direntry.cpp
index 97debaad5..9c9c54cd2 100644
--- a/src/fs/virtfs/direntry.cpp
+++ b/src/fs/virtfs/direntry.cpp
@@ -1,9 +1,9 @@
/*
- * The ManaPlus Client
+ * The ManaVerse Client
* Copyright (C) 2017-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/fs/virtfs/direntry.h b/src/fs/virtfs/direntry.h
index 3a3a7ddcd..7596cc2d7 100644
--- a/src/fs/virtfs/direntry.h
+++ b/src/fs/virtfs/direntry.h
@@ -1,9 +1,9 @@
/*
- * The ManaPlus Client
+ * The ManaVerse Client
* Copyright (C) 2017-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/fs/virtfs/file.cpp b/src/fs/virtfs/file.cpp
index f421f19eb..f53151869 100644
--- a/src/fs/virtfs/file.cpp
+++ b/src/fs/virtfs/file.cpp
@@ -1,9 +1,9 @@
/*
- * The ManaPlus Client
+ * The ManaVerse Client
* Copyright (C) 2017-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/fs/virtfs/file.h b/src/fs/virtfs/file.h
index 4e66310f7..21ea86263 100644
--- a/src/fs/virtfs/file.h
+++ b/src/fs/virtfs/file.h
@@ -1,9 +1,9 @@
/*
- * The ManaPlus Client
+ * The ManaVerse Client
* Copyright (C) 2017-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/fs/virtfs/fileapi.h b/src/fs/virtfs/fileapi.h
index 44a13c215..2ad703aee 100644
--- a/src/fs/virtfs/fileapi.h
+++ b/src/fs/virtfs/fileapi.h
@@ -1,9 +1,9 @@
/*
- * The ManaPlus Client
+ * The ManaVerse Client
* Copyright (C) 2017-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/fs/virtfs/fs.cpp b/src/fs/virtfs/fs.cpp
index 7c906a54e..13d15eb09 100644
--- a/src/fs/virtfs/fs.cpp
+++ b/src/fs/virtfs/fs.cpp
@@ -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
@@ -64,11 +64,11 @@ namespace VirtFs
void updateDirSeparator()
{
-#ifdef WIN32
+#ifdef _WIN32
dirSeparator = "\\";
-#else // WIN32
+#else // _WIN32
dirSeparator = "/";
-#endif // WIN32
+#endif // _WIN32
}
const char *getDirSeparator()
diff --git a/src/fs/virtfs/fs.h b/src/fs/virtfs/fs.h
index 371cde063..acc6b79e3 100644
--- a/src/fs/virtfs/fs.h
+++ b/src/fs/virtfs/fs.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
diff --git a/src/fs/virtfs/fsdir.cpp b/src/fs/virtfs/fsdir.cpp
index 1217208b7..c623638ca 100644
--- a/src/fs/virtfs/fsdir.cpp
+++ b/src/fs/virtfs/fsdir.cpp
@@ -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
@@ -204,7 +204,7 @@ namespace FsDir
const std::string file = next_file->d_name;
if (file == "." || file == "..")
continue;
-#ifndef WIN32
+#ifndef _WIN32
if (mPermitLinks == false)
{
struct stat statbuf;
@@ -214,7 +214,7 @@ namespace FsDir
continue;
}
}
-#endif // WIN32
+#endif // _WIN32
bool found(false);
FOR_EACH (StringVectCIter, itn, names)
@@ -256,7 +256,7 @@ namespace FsDir
name.c_str())
return false;
}
-#ifndef WIN32
+#ifndef _WIN32
if (mPermitLinks == false)
return false;
@@ -265,7 +265,7 @@ namespace FsDir
S_ISLNK(statbuf.st_mode) != 0;
#else
return false;
-#endif // WIN32
+#endif // _WIN32
}
void freeList(List *restrict const handle)
@@ -549,7 +549,7 @@ namespace FsDir
const std::string file = next_file->d_name;
if (file == "." || file == "..")
continue;
-#ifndef WIN32
+#ifndef _WIN32
if (mPermitLinks == false)
{
if (lstat(path.c_str(), &statbuf) == 0 &&
@@ -558,7 +558,7 @@ namespace FsDir
continue;
}
}
-#endif // WIN32
+#endif // _WIN32
const std::string filePath = pathJoin(path, file);
if (stat(filePath.c_str(), &statbuf) == 0)
@@ -599,7 +599,7 @@ namespace FsDir
const std::string file = next_file->d_name;
if (file == "." || file == "..")
continue;
-#ifndef WIN32
+#ifndef _WIN32
if (mPermitLinks == false)
{
if (lstat(path.c_str(), &statbuf) == 0 &&
@@ -608,7 +608,7 @@ namespace FsDir
continue;
}
}
-#endif // WIN32
+#endif // _WIN32
const std::string filePath = pathJoin(path, file);
if (stat(filePath.c_str(), &statbuf) == 0)
@@ -649,7 +649,7 @@ namespace FsDir
const std::string file = next_file->d_name;
if (file == "." || file == "..")
continue;
-#ifndef WIN32
+#ifndef _WIN32
if (mPermitLinks == false)
{
if (lstat(path.c_str(), &statbuf) == 0 &&
@@ -658,7 +658,7 @@ namespace FsDir
continue;
}
}
-#endif // WIN32
+#endif // _WIN32
const std::string filePath = pathJoin(path, file);
if (stat(filePath.c_str(), &statbuf) == 0)
diff --git a/src/fs/virtfs/fsdir.h b/src/fs/virtfs/fsdir.h
index fef9db1d7..57a548145 100644
--- a/src/fs/virtfs/fsdir.h
+++ b/src/fs/virtfs/fsdir.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
diff --git a/src/fs/virtfs/fsdirrwops.cpp b/src/fs/virtfs/fsdirrwops.cpp
index 1d4ce3ca3..b8851afec 100644
--- a/src/fs/virtfs/fsdirrwops.cpp
+++ b/src/fs/virtfs/fsdirrwops.cpp
@@ -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
diff --git a/src/fs/virtfs/fsdirrwops.h b/src/fs/virtfs/fsdirrwops.h
index 10608da96..ce3f010cb 100644
--- a/src/fs/virtfs/fsdirrwops.h
+++ b/src/fs/virtfs/fsdirrwops.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
diff --git a/src/fs/virtfs/fsentry.cpp b/src/fs/virtfs/fsentry.cpp
index 9ea242487..6a763d8a0 100644
--- a/src/fs/virtfs/fsentry.cpp
+++ b/src/fs/virtfs/fsentry.cpp
@@ -1,9 +1,9 @@
/*
- * The ManaPlus Client
+ * The ManaVerse Client
* Copyright (C) 2017-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/fs/virtfs/fsentry.h b/src/fs/virtfs/fsentry.h
index 77ac10f32..3361037a8 100644
--- a/src/fs/virtfs/fsentry.h
+++ b/src/fs/virtfs/fsentry.h
@@ -1,9 +1,9 @@
/*
- * The ManaPlus Client
+ * The ManaVerse Client
* Copyright (C) 2017-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/fs/virtfs/fsfuncs.h b/src/fs/virtfs/fsfuncs.h
index fde7d449f..1863aa18f 100644
--- a/src/fs/virtfs/fsfuncs.h
+++ b/src/fs/virtfs/fsfuncs.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
diff --git a/src/fs/virtfs/fszip.cpp b/src/fs/virtfs/fszip.cpp
index 5dd554c6e..976c8a23c 100644
--- a/src/fs/virtfs/fszip.cpp
+++ b/src/fs/virtfs/fszip.cpp
@@ -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
diff --git a/src/fs/virtfs/fszip.h b/src/fs/virtfs/fszip.h
index c03598a00..5e1aceeb2 100644
--- a/src/fs/virtfs/fszip.h
+++ b/src/fs/virtfs/fszip.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
diff --git a/src/fs/virtfs/fsziprwops.cpp b/src/fs/virtfs/fsziprwops.cpp
index 9e1305003..f9d366979 100644
--- a/src/fs/virtfs/fsziprwops.cpp
+++ b/src/fs/virtfs/fsziprwops.cpp
@@ -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
diff --git a/src/fs/virtfs/fsziprwops.h b/src/fs/virtfs/fsziprwops.h
index 118fabfc7..024d60219 100644
--- a/src/fs/virtfs/fsziprwops.h
+++ b/src/fs/virtfs/fsziprwops.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
diff --git a/src/fs/virtfs/list.cpp b/src/fs/virtfs/list.cpp
index 47ed089c2..eb53644a6 100644
--- a/src/fs/virtfs/list.cpp
+++ b/src/fs/virtfs/list.cpp
@@ -1,9 +1,9 @@
/*
- * The ManaPlus Client
+ * The ManaVerse Client
* Copyright (C) 2017-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/fs/virtfs/list.h b/src/fs/virtfs/list.h
index 17c9c4ae5..9ba18ca70 100644
--- a/src/fs/virtfs/list.h
+++ b/src/fs/virtfs/list.h
@@ -1,9 +1,9 @@
/*
- * The ManaPlus Client
+ * The ManaVerse Client
* Copyright (C) 2017-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/fs/virtfs/rwops.cpp b/src/fs/virtfs/rwops.cpp
index 14d79bdac..d710dc1d7 100644
--- a/src/fs/virtfs/rwops.cpp
+++ b/src/fs/virtfs/rwops.cpp
@@ -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
@@ -41,7 +41,7 @@
* This file was written by Ryan C. Gordon. (icculus@icculus.org).
*
* Copyright (C) 2012-2020 The ManaPlus Developers
- * Copyright (C) 2020-2023 The ManaVerse Developers
+ * Copyright (C) 2020-2025 The ManaVerse Developers
*/
#include "fs/virtfs/rwops.h"
@@ -52,6 +52,7 @@
#include "utils/checkutils.h"
#include "utils/fuzzer.h"
+#include "utils/performance.h"
PRAGMA48(GCC diagnostic push)
PRAGMA48(GCC diagnostic ignored "-Wshadow")
diff --git a/src/fs/virtfs/rwops.h b/src/fs/virtfs/rwops.h
index 17da96a7c..0a24fab82 100644
--- a/src/fs/virtfs/rwops.h
+++ b/src/fs/virtfs/rwops.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
@@ -41,7 +41,7 @@
* This file was written by Ryan C. Gordon. (icculus@icculus.org).
*
* Copyright (C) 2012-2020 The ManaPlus Developers
- * Copyright (C) 2020-2023 The ManaVerse Developers
+ * Copyright (C) 2020-2025 The ManaVerse Developers
*/
#ifndef SRC_FS_VIRTFSRWOPS_H
diff --git a/src/fs/virtfs/rwopstypes.h b/src/fs/virtfs/rwopstypes.h
index 3f1793db7..70efad9b0 100644
--- a/src/fs/virtfs/rwopstypes.h
+++ b/src/fs/virtfs/rwopstypes.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
diff --git a/src/fs/virtfs/tools.cpp b/src/fs/virtfs/tools.cpp
index 2a6818c42..d2ebd373c 100644
--- a/src/fs/virtfs/tools.cpp
+++ b/src/fs/virtfs/tools.cpp
@@ -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
diff --git a/src/fs/virtfs/tools.h b/src/fs/virtfs/tools.h
index f9917855f..a66388cb6 100644
--- a/src/fs/virtfs/tools.h
+++ b/src/fs/virtfs/tools.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
diff --git a/src/fs/virtfs/zipentry.cpp b/src/fs/virtfs/zipentry.cpp
index 6ca8a2c53..ce7611a4a 100644
--- a/src/fs/virtfs/zipentry.cpp
+++ b/src/fs/virtfs/zipentry.cpp
@@ -1,9 +1,9 @@
/*
- * The ManaPlus Client
+ * The ManaVerse Client
* Copyright (C) 2017-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/fs/virtfs/zipentry.h b/src/fs/virtfs/zipentry.h
index b1e78cfed..03bc51f03 100644
--- a/src/fs/virtfs/zipentry.h
+++ b/src/fs/virtfs/zipentry.h
@@ -1,9 +1,9 @@
/*
- * The ManaPlus Client
+ * The ManaVerse Client
* Copyright (C) 2017-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/fs/virtfs/ziplocalheader.cpp b/src/fs/virtfs/ziplocalheader.cpp
index 97c16f4db..9f80bc58b 100644
--- a/src/fs/virtfs/ziplocalheader.cpp
+++ b/src/fs/virtfs/ziplocalheader.cpp
@@ -1,9 +1,9 @@
/*
- * The ManaPlus Client
+ * The ManaVerse Client
* Copyright (C) 2017-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/fs/virtfs/ziplocalheader.h b/src/fs/virtfs/ziplocalheader.h
index e2f2c230b..b35db10fb 100644
--- a/src/fs/virtfs/ziplocalheader.h
+++ b/src/fs/virtfs/ziplocalheader.h
@@ -1,9 +1,9 @@
/*
- * The ManaPlus Client
+ * The ManaVerse Client
* Copyright (C) 2017-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/fs/virtfs/zipreader.cpp b/src/fs/virtfs/zipreader.cpp
index de9c7b43a..e9c2d9d75 100644
--- a/src/fs/virtfs/zipreader.cpp
+++ b/src/fs/virtfs/zipreader.cpp
@@ -1,9 +1,9 @@
/*
- * The ManaPlus Client
+ * The ManaVerse Client
* Copyright (C) 2017-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/fs/virtfs/zipreader.h b/src/fs/virtfs/zipreader.h
index a222c84e1..f5bc735b0 100644
--- a/src/fs/virtfs/zipreader.h
+++ b/src/fs/virtfs/zipreader.h
@@ -1,9 +1,9 @@
/*
- * The ManaPlus Client
+ * The ManaVerse Client
* Copyright (C) 2017-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