mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Rename version defines to GODOT_VERSION_* to match GDExtension godot-cpp
This commit is contained in:
parent
74907876d3
commit
97ee05e9b7
53 changed files with 220 additions and 197 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue