summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjak1 <jak1@themanaworld.org>2024-02-16 14:50:14 -0300
committerFedja Beader <fedja@protonmail.ch>2025-06-23 17:30:50 +0200
commit8575ba404525c9dcfde77ebaa01e4f0d0f24eff3 (patch)
tree27570451e1c386ac7ddc6abd29d734ebc4bb7ca7 /src
parent16484e1dfcb01de3a7e2ac52b26ff44ff600427d (diff)
downloadmanaplus-8575ba404525c9dcfde77ebaa01e4f0d0f24eff3.tar.gz
manaplus-8575ba404525c9dcfde77ebaa01e4f0d0f24eff3.tar.bz2
manaplus-8575ba404525c9dcfde77ebaa01e4f0d0f24eff3.tar.xz
manaplus-8575ba404525c9dcfde77ebaa01e4f0d0f24eff3.zip
Rebrand program display name (appName)
Removes the "ManaPlus" in version info on updater screen; Screenshots now have ManaVerse in their file name, too PS: a lot of instances of "ManaVerse" could use PACKAGE_NAME from configure PPS: CMake passes PROJECT_NAME. Would need a proxy header with ifdefs. Split off by Fedja from: Rename the program from ManaPlus to ManaVerse. (!45) **** mana/plus!198
Diffstat (limited to 'src')
-rw-r--r--src/game.cpp4
-rw-r--r--src/main.h8
2 files changed, 7 insertions, 5 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 65f0fc2c0..ee22dc5c4 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -587,13 +587,13 @@ bool Game::saveScreenshot(SDL_Surface *const screenshot,
if (serverName.empty())
{
screenShortStr = strprintf("%s_Screenshot_%s_",
- branding.getValue("appName", "ManaPlus").c_str(),
+ branding.getValue("appName", "ManaVerse").c_str(),
buffer);
}
else
{
screenShortStr = strprintf("%s_Screenshot_%s_%s_",
- branding.getValue("appName", "ManaPlus").c_str(),
+ branding.getValue("appName", "ManaVerse").c_str(),
serverName.c_str(), buffer);
}
diff --git a/src/main.h b/src/main.h
index 330c34069..4119c16f1 100644
--- a/src/main.h
+++ b/src/main.h
@@ -158,10 +158,12 @@
#define SIMD_NAME ""
#endif // SIMD_SUPPORTED
-#define PACKAGE_EXTENDED_VERSION "ManaPlus (" PACKAGE_OS \
-"; %s; " SDL_NAME ", " XML_NAME SIMD_NAME ", %s; 4144 v" SMALL_VERSION ")"
+#define PACKAGE_EXTENDED_VERSION \
+ PACKAGE_NAME " (" PACKAGE_OS "; %s; " \
+ SDL_NAME ", " XML_NAME SIMD_NAME ", %s; v" SMALL_VERSION ")"
-#define FULL_VERSION "ManaPlus " SMALL_VERSION " " PACKAGE_OS ", " \
+#define FULL_VERSION \
+ PACKAGE_NAME " " SMALL_VERSION " " PACKAGE_OS ", " \
SDL_NAME ", " XML_NAME SIMD_NAME
#ifdef ANDROID