Pass engine name and version parts as proper strings

Removes the need for _MKSTR all over the place which has the drawback of
converting _MKSTR(UNKNOWN_DEFINE) to "UKNOWN_DEFINE" instead of throwing
a compilation error.
This commit is contained in:
Rémi Verschelde 2017-11-19 21:18:01 +01:00
parent ecf80fbbba
commit 6947bed015
15 changed files with 28 additions and 31 deletions

View file

@ -177,7 +177,7 @@ static String get_full_version_string() {
void Main::print_help(const char *p_binary) {
print_line(String(_MKSTR(VERSION_NAME)) + " v" + get_full_version_string() + " - https://godotengine.org");
print_line(String(VERSION_NAME) + " v" + get_full_version_string() + " - https://godotengine.org");
OS::get_singleton()->print("(c) 2007-2017 Juan Linietsky, Ariel Manzur.\n");
OS::get_singleton()->print("(c) 2014-2017 Godot Engine contributors.\n");
OS::get_singleton()->print("\n");