1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-11 17:51:04 +00:00

Rename to Luanti (#15294)

The new header intentionally isn't in MTG stone design (or any other MTG-esque design), since we want to distance Luanti and MTG from each other. The font "undefined medium" (https://undefined-medium.com/) was used. 

ASCII art generated by https://patorjk.com/software/taag/#p=display&f=Graffiti&t=luanti
https://github.com/minetest/minetest/pull/11952#issuecomment-1013364703

---------

Co-authored-by: sfan5 <sfan5@live.de>
This commit is contained in:
grorp 2024-10-27 14:04:51 +01:00 committed by GitHub
parent b7073df68c
commit 4b90e582b4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
118 changed files with 206 additions and 179 deletions

View file

@ -61,7 +61,7 @@ extern "C" {
}
#if !defined(__cpp_rtti) || !defined(__cpp_exceptions)
#error Minetest cannot be built without exceptions or RTTI
#error Luanti cannot be built without exceptions or RTTI
#endif
#if defined(__MINGW32__) && !defined(__clang__)
@ -69,7 +69,7 @@ extern "C" {
// https://github.com/minetest/minetest/issues/10137 for one of the various issues we had
#error ==================================
#error MinGW gcc has a broken TLS implementation and is not supported for building \
Minetest. Look at testTLS() in test_threading.cpp and see for yourself. \
Luanti. Look at testTLS() in test_threading.cpp and see for yourself. \
Please use a clang-based compiler or alternatively MSVC.
#error ==================================
#endif
@ -174,6 +174,19 @@ int main(int argc, char *argv[])
warningstream << "Continuing without debugger" << std::endl;
}
{
auto exe_name = argc > 0 ? lowercase(fs::GetFilenameFromPath(argv[0])) : "";
if (str_starts_with(exe_name, "minetest")) {
#if CHECK_CLIENT_BUILD()
const char *new_ = PROJECT_NAME;
#else
const char *new_ = PROJECT_NAME "server";
#endif
warningstream << "The executable " << exe_name
<< " is a deprecated alias, please use " << new_ << " instead." << std::endl;
}
}
porting::signal_handler_init();
porting::initializePaths();
@ -366,15 +379,15 @@ static void set_allowed_options(OptionList *allowed_options)
allowed_options->insert(std::make_pair("gameid", ValueSpec(VALUETYPE_STRING,
_("Set gameid (\"--gameid list\" prints available ones)"))));
allowed_options->insert(std::make_pair("migrate", ValueSpec(VALUETYPE_STRING,
_("Migrate from current map backend to another (Only works when using minetestserver or with --server)"))));
_("Migrate from current map backend to another (Only works when using " PROJECT_NAME "server or with --server)"))));
allowed_options->insert(std::make_pair("migrate-players", ValueSpec(VALUETYPE_STRING,
_("Migrate from current players backend to another (Only works when using minetestserver or with --server)"))));
_("Migrate from current players backend to another (Only works when using " PROJECT_NAME "server or with --server)"))));
allowed_options->insert(std::make_pair("migrate-auth", ValueSpec(VALUETYPE_STRING,
_("Migrate from current auth backend to another (Only works when using minetestserver or with --server)"))));
_("Migrate from current auth backend to another (Only works when using " PROJECT_NAME "server or with --server)"))));
allowed_options->insert(std::make_pair("migrate-mod-storage", ValueSpec(VALUETYPE_STRING,
_("Migrate from current mod storage backend to another (Only works when using minetestserver or with --server)"))));
_("Migrate from current mod storage backend to another (Only works when using " PROJECT_NAME "server or with --server)"))));
allowed_options->insert(std::make_pair("terminal", ValueSpec(VALUETYPE_FLAG,
_("Feature an interactive terminal (Only works when using minetestserver or with --server)"))));
_("Feature an interactive terminal (Only works when using " PROJECT_NAME "server or with --server)"))));
allowed_options->insert(std::make_pair("recompress", ValueSpec(VALUETYPE_FLAG,
_("Recompress the blocks of the given map database."))));
#if CHECK_CLIENT_BUILD()