1
0
mirror of https://github.com/godotengine/godot.git synced 2025-12-01 16:38:31 +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 "resource_format_binary.h"
#include "globals.h"
#include "io/file_access_compressed.h"
@@ -1741,7 +1742,8 @@ void ResourceFormatSaverBinaryInstance::write_variant(const Variant &p_property,
case Image::FORMAT_ATC_ALPHA_EXPLICIT: f->store_32(IMAGE_FORMAT_ATC_ALPHA_EXPLICIT); break;
case Image::FORMAT_ATC_ALPHA_INTERPOLATED: f->store_32(IMAGE_FORMAT_ATC_ALPHA_INTERPOLATED); break;
case Image::FORMAT_CUSTOM: f->store_32(IMAGE_FORMAT_CUSTOM); break;
default: {}
default: {
}
}
int dlen = val.get_data().size();
@@ -2020,7 +2022,8 @@ void ResourceFormatSaverBinaryInstance::_find_resources(const Variant &p_variant
} break;
default: {}
default: {
}
}
}
#if 0