mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +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
|
@ -713,7 +713,7 @@ Error DisplayServerWindows::_file_dialog_with_options_show(const String &p_title
|
|||
|
||||
String appname;
|
||||
if (Engine::get_singleton()->is_editor_hint()) {
|
||||
appname = "Godot.GodotEditor." + String(VERSION_BRANCH);
|
||||
appname = "Godot.GodotEditor." + String(GODOT_VERSION_BRANCH);
|
||||
} else {
|
||||
String name = GLOBAL_GET("application/config/name");
|
||||
String version = GLOBAL_GET("application/config/version");
|
||||
|
@ -6364,7 +6364,7 @@ DisplayServer::WindowID DisplayServerWindows::_create_window(WindowMode p_mode,
|
|||
PROPVARIANT val;
|
||||
String appname;
|
||||
if (Engine::get_singleton()->is_editor_hint()) {
|
||||
appname = "Godot.GodotEditor." + String(VERSION_FULL_CONFIG);
|
||||
appname = "Godot.GodotEditor." + String(GODOT_VERSION_FULL_CONFIG);
|
||||
} else {
|
||||
String name = GLOBAL_GET("application/config/name");
|
||||
String version = GLOBAL_GET("application/config/version");
|
||||
|
@ -6970,7 +6970,7 @@ DisplayServerWindows::DisplayServerWindows(const String &p_rendering_driver, Win
|
|||
#endif
|
||||
String appname;
|
||||
if (Engine::get_singleton()->is_editor_hint()) {
|
||||
appname = "Godot.GodotEditor." + String(VERSION_FULL_CONFIG);
|
||||
appname = "Godot.GodotEditor." + String(GODOT_VERSION_FULL_CONFIG);
|
||||
} else {
|
||||
String name = GLOBAL_GET("application/config/name");
|
||||
String version = GLOBAL_GET("application/config/version");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue