1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-05 19:31:35 +00:00

Update copyright statements to 2020

And apply clang-format 10 to the codebase.
This commit is contained in:
Rémi Verschelde
2020-08-13 22:58:13 +02:00
parent 18484dd45e
commit b97401f304
1447 changed files with 5601 additions and 3131 deletions

View File

@@ -5,8 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/*************************************************************************/
/* Copyright (c) 2007-2019 Juan Linietsky, Ariel Manzur. */
/* Copyright (c) 2014-2019 Godot Engine contributors (cf. AUTHORS.md) */
/* Copyright (c) 2007-2020 Juan Linietsky, Ariel Manzur. */
/* Copyright (c) 2014-2020 Godot Engine contributors (cf. AUTHORS.md). */
/* */
/* Permission is hereby granted, free of charge, to any person obtaining */
/* a copy of this software and associated documentation files (the */
@@ -27,6 +27,7 @@
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
#include "editor_node.h"
#include "editor_themes.h"
#include "print_string.h"
@@ -822,7 +823,8 @@ bool EditorNode::_find_and_save_edited_subresources(Object *obj, Map<RES, bool>
ret_changed = true;
}
} break;
default: {}
default: {
}
}
}
@@ -3135,7 +3137,7 @@ Error EditorNode::save_translatable_strings(const String &p_to_file) {
OS::Time time = OS::get_singleton()->get_time();
f->store_line("# Translation Strings Dump.");
f->store_line("# Created By.");
f->store_line("# \t" VERSION_FULL_NAME " (c) 2007-2019 Juan Linietsky, Ariel Manzur.");
f->store_line("# \t" VERSION_FULL_NAME " (c) 2007-2020 Juan Linietsky, Ariel Manzur.");
f->store_line("# From Scene: ");
f->store_line("# \t" + get_edited_scene()->get_filename());
f->store_line("");
@@ -6087,7 +6089,7 @@ EditorNode::EditorNode() {
about->add_child(vbc);
vbc->add_child(hbc);
Label *about_text = memnew(Label);
about_text->set_text(VERSION_FULL_NAME + String::utf8("\n\u00A9 2007-2019 Juan Linietsky, Ariel Manzur.\n\u00A9 2014-2019 ") + TTR("Godot Engine contributors") + "\n");
about_text->set_text(VERSION_FULL_NAME + String::utf8("\n\u00A9 2007-2020 Juan Linietsky, Ariel Manzur.\n\u00A9 2014-2020 ") + TTR("Godot Engine contributors") + "\n");
TextureFrame *logo = memnew(TextureFrame);
logo->set_texture(gui_base->get_icon("Logo", "EditorIcons"));
hbc->add_child(logo);