You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Rename version defines to GODOT_VERSION_* to match GDExtension godot-cpp
This commit is contained in:
@@ -339,7 +339,7 @@ void EditorNode::_update_title() {
|
||||
// Display the "modified" mark before anything else so that it can always be seen in the OS task bar.
|
||||
title = vformat("(*) %s", title);
|
||||
}
|
||||
DisplayServer::get_singleton()->window_set_title(title + String(" - ") + VERSION_NAME);
|
||||
DisplayServer::get_singleton()->window_set_title(title + String(" - ") + GODOT_VERSION_NAME);
|
||||
if (project_title) {
|
||||
project_title->set_text(title);
|
||||
}
|
||||
@@ -3221,7 +3221,7 @@ void EditorNode::_menu_option_confirm(int p_option, bool p_confirmed) {
|
||||
command_palette->open_popup();
|
||||
} break;
|
||||
case HELP_DOCS: {
|
||||
OS::get_singleton()->shell_open(VERSION_DOCS_URL "/");
|
||||
OS::get_singleton()->shell_open(GODOT_VERSION_DOCS_URL "/");
|
||||
} break;
|
||||
case HELP_FORUM: {
|
||||
OS::get_singleton()->shell_open("https://forum.godotengine.org/");
|
||||
@@ -5084,9 +5084,9 @@ String EditorNode::_get_system_info() const {
|
||||
}
|
||||
const String distribution_version = OS::get_singleton()->get_version_alias();
|
||||
|
||||
String godot_version = "Godot v" + String(VERSION_FULL_CONFIG);
|
||||
if (String(VERSION_BUILD) != "official") {
|
||||
String hash = String(VERSION_HASH);
|
||||
String godot_version = "Godot v" + String(GODOT_VERSION_FULL_CONFIG);
|
||||
if (String(GODOT_VERSION_BUILD) != "official") {
|
||||
String hash = String(GODOT_VERSION_HASH);
|
||||
hash = hash.is_empty() ? String("unknown") : vformat("(%s)", hash.left(9));
|
||||
godot_version += " " + hash;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user