Improve documentation of thirdparty code snippets
This commit is contained in:
parent
5d10b8fabd
commit
c8aea60324
53 changed files with 382 additions and 46 deletions
|
@ -1,2 +1,3 @@
|
|||
Godot Logo (c) Andrea Calabró, distributed under the terms of the CC By License:
|
||||
https://creativecommons.org/licenses/by/3.0/legalcode
|
||||
Godot Logo (C) Andrea Calabró
|
||||
Distributed under the terms of the Creative Commons Attribution License
|
||||
version 3.0 (CC-BY 3.0) <https://creativecommons.org/licenses/by/3.0/legalcode>.
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
# Arabic translation of the Godot Engine editor
|
||||
# Copyright (C) 2016-2017 Juan Linietsky, Ariel Manzur and the Godot community
|
||||
# Copyright (C) 2007-2017 Juan Linietsky, Ariel Manzur
|
||||
# Copyright (C) 2014-2017 Godot Engine contributors (cf. AUTHORS.md)
|
||||
# This file is distributed under the same license as the Godot source code.
|
||||
#
|
||||
# athomield <athomield@hotmail.com>, 2017.
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
# Bulgarian translation of the Godot Engine editor
|
||||
# Copyright (C) 2016-2017 Juan Linietsky, Ariel Manzur and the Godot community
|
||||
# Copyright (C) 2007-2017 Juan Linietsky, Ariel Manzur
|
||||
# Copyright (C) 2014-2017 Godot Engine contributors (cf. AUTHORS.md)
|
||||
# This file is distributed under the same license as the Godot source code.
|
||||
#
|
||||
# Bojidar Marinov <bojidar.marinov.bg@gmail.com>, 2016.
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
# Bengali translation of the Godot Engine editor
|
||||
# Copyright (C) 2016-2017 Juan Linietsky, Ariel Manzur and the Godot community
|
||||
# Copyright (C) 2007-2017 Juan Linietsky, Ariel Manzur
|
||||
# Copyright (C) 2014-2017 Godot Engine contributors (cf. AUTHORS.md)
|
||||
# This file is distributed under the same license as the Godot source code.
|
||||
#
|
||||
# Abu Md. Maruf Sarker <maruf.webdev@gmail.com>, 2016-2017.
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
# Catalan translation of the Godot Engine editor
|
||||
# Copyright (C) 2016-2017 Juan Linietsky, Ariel Manzur and the Godot community
|
||||
# Copyright (C) 2007-2017 Juan Linietsky, Ariel Manzur
|
||||
# Copyright (C) 2014-2017 Godot Engine contributors (cf. AUTHORS.md)
|
||||
# This file is distributed under the same license as the Godot source code.
|
||||
#
|
||||
# Roger BR <drai_kin@hotmail.com>, 2016.
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
# Czech translation of the Godot Engine editor
|
||||
# Copyright (C) 2016-2017 Juan Linietsky, Ariel Manzur and the Godot community
|
||||
# Copyright (C) 2007-2017 Juan Linietsky, Ariel Manzur
|
||||
# Copyright (C) 2014-2017 Godot Engine contributors (cf. AUTHORS.md)
|
||||
# This file is distributed under the same license as the Godot source code.
|
||||
#
|
||||
# Jan 'spl!te' Kondelík <j.kondelik@centrum.cz>, 2016.
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
# Danish translation of the Godot Engine editor
|
||||
# Copyright (C) 2016-2017 Juan Linietsky, Ariel Manzur and the Godot community
|
||||
# Copyright (C) 2007-2017 Juan Linietsky, Ariel Manzur
|
||||
# Copyright (C) 2014-2017 Godot Engine contributors (cf. AUTHORS.md)
|
||||
# This file is distributed under the same license as the Godot source code.
|
||||
#
|
||||
# David Lamhauge <davidlamhauge@gmail.com>, 2016.
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
# German translation of the Godot Engine editor
|
||||
# Copyright (C) 2016-2017 Juan Linietsky, Ariel Manzur and the Godot community
|
||||
# Copyright (C) 2007-2017 Juan Linietsky, Ariel Manzur
|
||||
# Copyright (C) 2014-2017 Godot Engine contributors (cf. AUTHORS.md)
|
||||
# This file is distributed under the same license as the Godot source code.
|
||||
#
|
||||
# Alexander Mahr <alex.mahr@gmail.com>, 2016.
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
# Swiss High German translation of the Godot Engine editor
|
||||
# Copyright (C) 2016-2017 Juan Linietsky, Ariel Manzur and the Godot community
|
||||
# Copyright (C) 2007-2017 Juan Linietsky, Ariel Manzur
|
||||
# Copyright (C) 2014-2017 Godot Engine contributors (cf. AUTHORS.md)
|
||||
# This file is distributed under the same license as the Godot source code.
|
||||
#
|
||||
# Christian Fisch <christian.fiesel@gmail.com>, 2016.
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
# LANGUAGE translation of the Godot Engine editor
|
||||
# Copyright (C) 2016-2017 Juan Linietsky, Ariel Manzur and the Godot community
|
||||
# Copyright (C) 2007-2017 Juan Linietsky, Ariel Manzur
|
||||
# Copyright (C) 2014-2017 Godot Engine contributors (cf. AUTHORS.md)
|
||||
# This file is distributed under the same license as the Godot source code.
|
||||
#
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
# Greek translation of the Godot Engine editor
|
||||
# Copyright (C) 2016-2017 Juan Linietsky, Ariel Manzur and the Godot community
|
||||
# Copyright (C) 2007-2017 Juan Linietsky, Ariel Manzur
|
||||
# Copyright (C) 2014-2017 Godot Engine contributors (cf. AUTHORS.md)
|
||||
# This file is distributed under the same license as the Godot source code.
|
||||
#
|
||||
# gtsiam <gtsiam@windowslive.com>, 2017.
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
# Spanish translation of the Godot Engine editor
|
||||
# Copyright (C) 2016-2017 Juan Linietsky, Ariel Manzur and the Godot community
|
||||
# Copyright (C) 2007-2017 Juan Linietsky, Ariel Manzur
|
||||
# Copyright (C) 2014-2017 Godot Engine contributors (cf. AUTHORS.md)
|
||||
# This file is distributed under the same license as the Godot source code.
|
||||
#
|
||||
# Alejandro Alvarez <eliluminado00@gmail.com>, 2017.
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
# Spanish (Argentina) translation of the Godot Engine editor
|
||||
# Copyright (C) 2016-2017 Juan Linietsky, Ariel Manzur and the Godot community
|
||||
# Copyright (C) 2007-2017 Juan Linietsky, Ariel Manzur
|
||||
# Copyright (C) 2014-2017 Godot Engine contributors (cf. AUTHORS.md)
|
||||
# This file is distributed under the same license as the Godot source code.
|
||||
#
|
||||
# Lisandro Lorea <lisandrolorea@gmail.com>, 2016-2017.
|
||||
|
|
|
@ -38,7 +38,8 @@ unique_str = []
|
|||
unique_loc = {}
|
||||
main_po = """
|
||||
# LANGUAGE translation of the Godot Engine editor
|
||||
# Copyright (C) 2016-2017 Juan Linietsky, Ariel Manzur and the Godot community
|
||||
# Copyright (C) 2007-2017 Juan Linietsky, Ariel Manzur
|
||||
# Copyright (C) 2014-2017 Godot Engine contributors (cf. AUTHORS.md)
|
||||
# This file is distributed under the same license as the Godot source code.
|
||||
#
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
# Persian translation of the Godot Engine editor
|
||||
# Copyright (C) 2016-2017 Juan Linietsky, Ariel Manzur and the Godot community
|
||||
# Copyright (C) 2007-2017 Juan Linietsky, Ariel Manzur
|
||||
# Copyright (C) 2014-2017 Godot Engine contributors (cf. AUTHORS.md)
|
||||
# This file is distributed under the same license as the Godot source code.
|
||||
#
|
||||
# alabd14313 <alabd14313@yahoo.com>, 2016.
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
# French translation of the Godot Engine editor
|
||||
# Copyright (C) 2016-2017 Juan Linietsky, Ariel Manzur and the Godot community
|
||||
# Copyright (C) 2007-2017 Juan Linietsky, Ariel Manzur
|
||||
# Copyright (C) 2014-2017 Godot Engine contributors (cf. AUTHORS.md)
|
||||
# This file is distributed under the same license as the Godot source code.
|
||||
#
|
||||
# Brice <bbric@free.fr>, 2016.
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
# Hungarian translation of the Godot Engine editor
|
||||
# Copyright (C) 2016-2017 Juan Linietsky, Ariel Manzur and the Godot community
|
||||
# Copyright (C) 2007-2017 Juan Linietsky, Ariel Manzur
|
||||
# Copyright (C) 2014-2017 Godot Engine contributors (cf. AUTHORS.md)
|
||||
# This file is distributed under the same license as the Godot source code.
|
||||
#
|
||||
# Varga Dániel <danikah.danikah@gmail.com>, 2016.
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
# Indonesian translation of the Godot Engine editor
|
||||
# Copyright (C) 2016-2017 Juan Linietsky, Ariel Manzur and the Godot community
|
||||
# Copyright (C) 2007-2017 Juan Linietsky, Ariel Manzur
|
||||
# Copyright (C) 2014-2017 Godot Engine contributors (cf. AUTHORS.md)
|
||||
# This file is distributed under the same license as the Godot source code.
|
||||
#
|
||||
# Abdul Aziz Muslim Alqudsy <abdul.aziz.muslim.alqudsy@gmail.com>, 2016.
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
# Italian translation of the Godot Engine editor
|
||||
# Copyright (C) 2016-2017 Juan Linietsky, Ariel Manzur and the Godot community
|
||||
# Copyright (C) 2007-2017 Juan Linietsky, Ariel Manzur
|
||||
# Copyright (C) 2014-2017 Godot Engine contributors (cf. AUTHORS.md)
|
||||
# This file is distributed under the same license as the Godot source code.
|
||||
#
|
||||
# Dario Bonfanti <bonfi.96@hotmail.it>, 2016-2017.
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
# Japanese translation of the Godot Engine editor
|
||||
# Copyright (C) 2016-2017 Juan Linietsky, Ariel Manzur and the Godot community
|
||||
# Copyright (C) 2007-2017 Juan Linietsky, Ariel Manzur
|
||||
# Copyright (C) 2014-2017 Godot Engine contributors (cf. AUTHORS.md)
|
||||
# This file is distributed under the same license as the Godot source code.
|
||||
#
|
||||
# akirakido <achts.y@gmail.com>, 2016.
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
# Korean translation of the Godot Engine editor
|
||||
# Copyright (C) 2016-2017 Juan Linietsky, Ariel Manzur and the Godot community
|
||||
# Copyright (C) 2007-2017 Juan Linietsky, Ariel Manzur
|
||||
# Copyright (C) 2014-2017 Godot Engine contributors (cf. AUTHORS.md)
|
||||
# This file is distributed under the same license as the Godot source code.
|
||||
#
|
||||
# 박한얼 (volzhs) <volzhs@gmail.com>, 2016-2017.
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
# Norwegian Bokmål translation of the Godot Engine editor
|
||||
# Copyright (C) 2016-2017 Juan Linietsky, Ariel Manzur and the Godot community
|
||||
# Copyright (C) 2007-2017 Juan Linietsky, Ariel Manzur
|
||||
# Copyright (C) 2014-2017 Godot Engine contributors (cf. AUTHORS.md)
|
||||
# This file is distributed under the same license as the Godot source code.
|
||||
#
|
||||
# Anonymous <GentleSaucepan@protonmail.com>, 2017.
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
# Dutch translation of the Godot Engine editor
|
||||
# Copyright (C) 2016-2017 Juan Linietsky, Ariel Manzur and the Godot community
|
||||
# Copyright (C) 2007-2017 Juan Linietsky, Ariel Manzur
|
||||
# Copyright (C) 2014-2017 Godot Engine contributors (cf. AUTHORS.md)
|
||||
# This file is distributed under the same license as the Godot source code.
|
||||
#
|
||||
# Aram Nap <xyphex.aram@gmail.com>, 2017
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
# Polish translation of the Godot Engine editor
|
||||
# Copyright (C) 2016-2017 Juan Linietsky, Ariel Manzur and the Godot community
|
||||
# Copyright (C) 2007-2017 Juan Linietsky, Ariel Manzur
|
||||
# Copyright (C) 2014-2017 Godot Engine contributors (cf. AUTHORS.md)
|
||||
# This file is distributed under the same license as the Godot source code.
|
||||
#
|
||||
# 8-bit Pixel <dawdejw@gmail.com>, 2016.
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
# Pirate translation of the Godot Engine editor
|
||||
# Copyright (C) 2016-2017 Juan Linietsky, Ariel Manzur and the Godot community
|
||||
# Copyright (C) 2007-2017 Juan Linietsky, Ariel Manzur
|
||||
# Copyright (C) 2014-2017 Godot Engine contributors (cf. AUTHORS.md)
|
||||
# This file is distributed under the same license as the Godot source code.
|
||||
#
|
||||
# Zion Nimchuk <zionnimchuk@gmail.com>, 2016-2017.
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
# Portuguese (Brazil) translation of the Godot Engine editor
|
||||
# Copyright (C) 2016-2017 Juan Linietsky, Ariel Manzur and the Godot community
|
||||
# Copyright (C) 2007-2017 Juan Linietsky, Ariel Manzur
|
||||
# Copyright (C) 2014-2017 Godot Engine contributors (cf. AUTHORS.md)
|
||||
# This file is distributed under the same license as the Godot source code.
|
||||
#
|
||||
# Allyson Souza <allyson_as@outlook.com>, 2017.
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
# Portuguese (Portugal) translation of the Godot Engine editor
|
||||
# Copyright (C) 2016-2017 Juan Linietsky, Ariel Manzur and the Godot community
|
||||
# Copyright (C) 2007-2017 Juan Linietsky, Ariel Manzur
|
||||
# Copyright (C) 2014-2017 Godot Engine contributors (cf. AUTHORS.md)
|
||||
# This file is distributed under the same license as the Godot source code.
|
||||
#
|
||||
# António Sarmento <antonio.luis.sarmento@gmail.com>, 2016.
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
# Russian translation of the Godot Engine editor
|
||||
# Copyright (C) 2016-2017 Juan Linietsky, Ariel Manzur and the Godot community
|
||||
# Copyright (C) 2007-2017 Juan Linietsky, Ariel Manzur
|
||||
# Copyright (C) 2014-2017 Godot Engine contributors (cf. AUTHORS.md)
|
||||
# This file is distributed under the same license as the Godot source code.
|
||||
#
|
||||
# DimOkGamer <dimokgamer@gmail.com>, 2016-2017.
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
# Slovak translation of the Godot Engine editor
|
||||
# Copyright (C) 2016-2017 Juan Linietsky, Ariel Manzur and the Godot community
|
||||
# Copyright (C) 2007-2017 Juan Linietsky, Ariel Manzur
|
||||
# Copyright (C) 2014-2017 Godot Engine contributors (cf. AUTHORS.md)
|
||||
# This file is distributed under the same license as the Godot source code.
|
||||
#
|
||||
# J08nY <johnenter@gmail.com>, 2016.
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
# Slovenian translation of the Godot Engine editor
|
||||
# Copyright (C) 2016-2017 Juan Linietsky, Ariel Manzur and the Godot community
|
||||
# Copyright (C) 2007-2017 Juan Linietsky, Ariel Manzur
|
||||
# Copyright (C) 2014-2017 Godot Engine contributors (cf. AUTHORS.md)
|
||||
# This file is distributed under the same license as the Godot source code.
|
||||
#
|
||||
# matevž lapajne <sivar.lapajne@gmail.com>, 2016.
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
# Thai translation of the Godot Engine editor
|
||||
# Copyright (C) 2016-2017 Juan Linietsky, Ariel Manzur and the Godot community
|
||||
# Copyright (C) 2007-2017 Juan Linietsky, Ariel Manzur
|
||||
# Copyright (C) 2014-2017 Godot Engine contributors (cf. AUTHORS.md)
|
||||
# This file is distributed under the same license as the Godot source code.
|
||||
#
|
||||
# Poommetee Ketson <poommetee@protonmail.com>, 2017.
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
# Turkish translation of the Godot Engine editor
|
||||
# Copyright (C) 2016-2017 Juan Linietsky, Ariel Manzur and the Godot community
|
||||
# Copyright (C) 2007-2017 Juan Linietsky, Ariel Manzur
|
||||
# Copyright (C) 2014-2017 Godot Engine contributors (cf. AUTHORS.md)
|
||||
# This file is distributed under the same license as the Godot source code.
|
||||
#
|
||||
# Aprın Çor Tigin <kabusturk38@gmail.com>, 2016-2017.
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
# Urdu (Pakistan) translation of the Godot Engine editor
|
||||
# Copyright (C) 2016-2017 Juan Linietsky, Ariel Manzur and the Godot community
|
||||
# Copyright (C) 2007-2017 Juan Linietsky, Ariel Manzur
|
||||
# Copyright (C) 2014-2017 Godot Engine contributors (cf. AUTHORS.md)
|
||||
# This file is distributed under the same license as the Godot source code.
|
||||
#
|
||||
# Muhammad Ali <ali@codeonion.com>, 2016.
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
# Chinese (China) translation of the Godot Engine editor
|
||||
# Copyright (C) 2016-2017 Juan Linietsky, Ariel Manzur and the Godot community
|
||||
# Copyright (C) 2007-2017 Juan Linietsky, Ariel Manzur
|
||||
# Copyright (C) 2014-2017 Godot Engine contributors (cf. AUTHORS.md)
|
||||
# This file is distributed under the same license as the Godot source code.
|
||||
#
|
||||
# 纯洁的坏蛋 <tqj.zyy@gmail.com>, 2016.
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
# Chinese (Honk Kong) translation of the Godot Engine editor
|
||||
# Copyright (C) 2016-2017 Juan Linietsky, Ariel Manzur and the Godot community
|
||||
# Copyright (C) 2007-2017 Juan Linietsky, Ariel Manzur
|
||||
# Copyright (C) 2014-2017 Godot Engine contributors (cf. AUTHORS.md)
|
||||
# This file is distributed under the same license as the Godot source code.
|
||||
#
|
||||
# Wesley (zx-wt) <ZX_WT@ymail.com>, 2016.
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
# Chinese (Taiwan) translation of the Godot Engine editor
|
||||
# Copyright (C) 2016-2017 Juan Linietsky, Ariel Manzur and the Godot community
|
||||
# Copyright (C) 2007-2017 Juan Linietsky, Ariel Manzur
|
||||
# Copyright (C) 2014-2017 Godot Engine contributors (cf. AUTHORS.md)
|
||||
# This file is distributed under the same license as the Godot source code.
|
||||
#
|
||||
# popcade <popcade@gmail.com>, 2016.
|
||||
|
|
|
@ -1,3 +1,19 @@
|
|||
/*
|
||||
* Copyright (C) 2010 The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
/*
|
||||
* This file is auto-generated. DO NOT MODIFY.
|
||||
* Original file: aidl/ILicenseResultListener.aidl
|
||||
|
|
|
@ -1,3 +1,19 @@
|
|||
/*
|
||||
* Copyright (C) 2010 The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
/*
|
||||
* This file is auto-generated. DO NOT MODIFY.
|
||||
* Original file: aidl/ILicensingService.aidl
|
||||
|
|
|
@ -28,10 +28,35 @@
|
|||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/*************************************************************************/
|
||||
|
||||
#include "core/error_macros.h"
|
||||
/*
|
||||
Adapted from corresponding SDL 2.0 code.
|
||||
*/
|
||||
|
||||
/*
|
||||
Simple DirectMedia Layer
|
||||
Copyright (C) 1997-2017 Sam Lantinga <slouken@libsdl.org>
|
||||
|
||||
This software is provided 'as-is', without any express or implied
|
||||
warranty. In no event will the authors be held liable for any damages
|
||||
arising from the use of this software.
|
||||
|
||||
Permission is granted to anyone to use this software for any purpose,
|
||||
including commercial applications, and to alter it and redistribute it
|
||||
freely, subject to the following restrictions:
|
||||
|
||||
1. The origin of this software must not be misrepresented; you must not
|
||||
claim that you wrote the original software. If you use this software
|
||||
in a product, an acknowledgment in the product documentation would be
|
||||
appreciated but is not required.
|
||||
2. Altered source versions must be plainly marked as such, and must not be
|
||||
misrepresented as being the original software.
|
||||
3. This notice may not be removed or altered from any source distribution.
|
||||
*/
|
||||
|
||||
#include "power_android.h"
|
||||
|
||||
#include "core/error_macros.h"
|
||||
|
||||
static void LocalReferenceHolder_Cleanup(struct LocalReferenceHolder *refholder) {
|
||||
if (refholder->m_env) {
|
||||
JNIEnv *env = refholder->m_env;
|
||||
|
|
|
@ -1,3 +1,19 @@
|
|||
/*
|
||||
* Copyright (c) 2011-2013 Research In Motion Limited.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <assert.h>
|
||||
#include <ctype.h>
|
||||
#include <stdio.h>
|
||||
|
|
|
@ -1,3 +1,19 @@
|
|||
/*
|
||||
* Copyright (c) 2011-2013 Research In Motion Limited.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef _UTILITY_H_INCLUDED
|
||||
#define _UTILITY_H_INCLUDED
|
||||
|
||||
|
|
|
@ -27,6 +27,32 @@
|
|||
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/*************************************************************************/
|
||||
|
||||
/*
|
||||
Adapted from corresponding SDL 2.0 code.
|
||||
*/
|
||||
|
||||
/*
|
||||
Simple DirectMedia Layer
|
||||
Copyright (C) 1997-2017 Sam Lantinga <slouken@libsdl.org>
|
||||
|
||||
This software is provided 'as-is', without any express or implied
|
||||
warranty. In no event will the authors be held liable for any damages
|
||||
arising from the use of this software.
|
||||
|
||||
Permission is granted to anyone to use this software for any purpose,
|
||||
including commercial applications, and to alter it and redistribute it
|
||||
freely, subject to the following restrictions:
|
||||
|
||||
1. The origin of this software must not be misrepresented; you must not
|
||||
claim that you wrote the original software. If you use this software
|
||||
in a product, an acknowledgment in the product documentation would be
|
||||
appreciated but is not required.
|
||||
2. Altered source versions must be plainly marked as such, and must not be
|
||||
misrepresented as being the original software.
|
||||
3. This notice may not be removed or altered from any source distribution.
|
||||
*/
|
||||
|
||||
#include "power_osx.h"
|
||||
|
||||
#include <CoreFoundation/CoreFoundation.h>
|
||||
|
|
|
@ -5,7 +5,8 @@
|
|||
/* GODOT ENGINE */
|
||||
/* http://www.godotengine.org */
|
||||
/*************************************************************************/
|
||||
/* Copyright (c) 2007-2016 Juan Linietsky, Ariel Manzur. */
|
||||
/* Copyright (c) 2007-2017 Juan Linietsky, Ariel Manzur. */
|
||||
/* Copyright (c) 2014-2017 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 */
|
||||
|
|
|
@ -5,7 +5,8 @@
|
|||
/* GODOT ENGINE */
|
||||
/* http://www.godotengine.org */
|
||||
/*************************************************************************/
|
||||
/* Copyright (c) 2007-2016 Juan Linietsky, Ariel Manzur. */
|
||||
/* Copyright (c) 2007-2017 Juan Linietsky, Ariel Manzur. */
|
||||
/* Copyright (c) 2014-2017 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 */
|
||||
|
|
|
@ -28,6 +28,31 @@
|
|||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/*************************************************************************/
|
||||
|
||||
/*
|
||||
Adapted from corresponding SDL 2.0 code.
|
||||
*/
|
||||
|
||||
/*
|
||||
Simple DirectMedia Layer
|
||||
Copyright (C) 1997-2017 Sam Lantinga <slouken@libsdl.org>
|
||||
|
||||
This software is provided 'as-is', without any express or implied
|
||||
warranty. In no event will the authors be held liable for any damages
|
||||
arising from the use of this software.
|
||||
|
||||
Permission is granted to anyone to use this software for any purpose,
|
||||
including commercial applications, and to alter it and redistribute it
|
||||
freely, subject to the following restrictions:
|
||||
|
||||
1. The origin of this software must not be misrepresented; you must not
|
||||
claim that you wrote the original software. If you use this software
|
||||
in a product, an acknowledgment in the product documentation would be
|
||||
appreciated but is not required.
|
||||
2. Altered source versions must be plainly marked as such, and must not be
|
||||
misrepresented as being the original software.
|
||||
3. This notice may not be removed or altered from any source distribution.
|
||||
*/
|
||||
|
||||
#include "power_windows.h"
|
||||
|
||||
// CODE CHUNK IMPORTED FROM SDL 2.0
|
||||
|
|
|
@ -28,6 +28,31 @@
|
|||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/*************************************************************************/
|
||||
|
||||
/*
|
||||
Adapted from corresponding SDL 2.0 code.
|
||||
*/
|
||||
|
||||
/*
|
||||
Simple DirectMedia Layer
|
||||
Copyright (C) 1997-2017 Sam Lantinga <slouken@libsdl.org>
|
||||
|
||||
This software is provided 'as-is', without any express or implied
|
||||
warranty. In no event will the authors be held liable for any damages
|
||||
arising from the use of this software.
|
||||
|
||||
Permission is granted to anyone to use this software for any purpose,
|
||||
including commercial applications, and to alter it and redistribute it
|
||||
freely, subject to the following restrictions:
|
||||
|
||||
1. The origin of this software must not be misrepresented; you must not
|
||||
claim that you wrote the original software. If you use this software
|
||||
in a product, an acknowledgment in the product documentation would be
|
||||
appreciated but is not required.
|
||||
2. Altered source versions must be plainly marked as such, and must not be
|
||||
misrepresented as being the original software.
|
||||
3. This notice may not be removed or altered from any source distribution.
|
||||
*/
|
||||
|
||||
#include "power_x11.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
|
|
@ -34,6 +34,31 @@
|
|||
|
||||
/*************** Bullet's GJK-EPA2 IMPLEMENTATION *******************/
|
||||
|
||||
/*
|
||||
Bullet Continuous Collision Detection and Physics Library
|
||||
Copyright (c) 2003-2008 Erwin Coumans http://continuousphysics.com/Bullet/
|
||||
|
||||
This software is provided 'as-is', without any express or implied warranty.
|
||||
In no event will the authors be held liable for any damages arising from the
|
||||
use of this software.
|
||||
Permission is granted to anyone to use this software for any purpose,
|
||||
including commercial applications, and to alter it and redistribute it
|
||||
freely,
|
||||
subject to the following restrictions:
|
||||
|
||||
1. The origin of this software must not be misrepresented; you must not
|
||||
claim that you wrote the original software. If you use this software in a
|
||||
product, an acknowledgment in the product documentation would be appreciated
|
||||
but is not required.
|
||||
2. Altered source versions must be plainly marked as such, and must not be
|
||||
misrepresented as being the original software.
|
||||
3. This notice may not be removed or altered from any source distribution.
|
||||
*/
|
||||
|
||||
/*
|
||||
GJK-EPA collision solver by Nathanael Presson, 2008
|
||||
*/
|
||||
|
||||
// Config
|
||||
|
||||
/* GJK */
|
||||
|
|
|
@ -30,7 +30,23 @@
|
|||
|
||||
/*
|
||||
Adapted to Godot from the Bullet library.
|
||||
See corresponding header file for licensing info.
|
||||
*/
|
||||
|
||||
/*
|
||||
Bullet Continuous Collision Detection and Physics Library
|
||||
ConeTwistJointSW is Copyright (c) 2007 Starbreeze Studios
|
||||
|
||||
This software is provided 'as-is', without any express or implied warranty.
|
||||
In no event will the authors be held liable for any damages arising from the use of this software.
|
||||
Permission is granted to anyone to use this software for any purpose,
|
||||
including commercial applications, and to alter it and redistribute it freely,
|
||||
subject to the following restrictions:
|
||||
|
||||
1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required.
|
||||
2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
|
||||
3. This notice may not be removed or altered from any source distribution.
|
||||
|
||||
Written by: Marcus Hennix
|
||||
*/
|
||||
|
||||
#include "cone_twist_joint_sw.h"
|
||||
|
|
|
@ -30,7 +30,28 @@
|
|||
|
||||
/*
|
||||
Adapted to Godot from the Bullet library.
|
||||
See corresponding header file for licensing info.
|
||||
*/
|
||||
|
||||
/*
|
||||
Bullet Continuous Collision Detection and Physics Library
|
||||
Copyright (c) 2003-2006 Erwin Coumans http://continuousphysics.com/Bullet/
|
||||
|
||||
This software is provided 'as-is', without any express or implied warranty.
|
||||
In no event will the authors be held liable for any damages arising from the use of this software.
|
||||
Permission is granted to anyone to use this software for any purpose,
|
||||
including commercial applications, and to alter it and redistribute it freely,
|
||||
subject to the following restrictions:
|
||||
|
||||
1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required.
|
||||
2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
|
||||
3. This notice may not be removed or altered from any source distribution.
|
||||
*/
|
||||
|
||||
/*
|
||||
2007-09-09
|
||||
Generic6DOFJointSW Refactored by Francisco Le?n
|
||||
email: projectileman@yahoo.com
|
||||
http://gimpact.sf.net
|
||||
*/
|
||||
|
||||
#include "generic_6dof_joint_sw.h"
|
||||
|
|
|
@ -30,7 +30,21 @@
|
|||
|
||||
/*
|
||||
Adapted to Godot from the Bullet library.
|
||||
See corresponding header file for licensing info.
|
||||
*/
|
||||
|
||||
/*
|
||||
Bullet Continuous Collision Detection and Physics Library
|
||||
Copyright (c) 2003-2006 Erwin Coumans http://continuousphysics.com/Bullet/
|
||||
|
||||
This software is provided 'as-is', without any express or implied warranty.
|
||||
In no event will the authors be held liable for any damages arising from the use of this software.
|
||||
Permission is granted to anyone to use this software for any purpose,
|
||||
including commercial applications, and to alter it and redistribute it freely,
|
||||
subject to the following restrictions:
|
||||
|
||||
1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required.
|
||||
2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
|
||||
3. This notice may not be removed or altered from any source distribution.
|
||||
*/
|
||||
|
||||
#include "hinge_joint_sw.h"
|
||||
|
|
|
@ -30,7 +30,21 @@
|
|||
|
||||
/*
|
||||
Adapted to Godot from the Bullet library.
|
||||
See corresponding header file for licensing info.
|
||||
*/
|
||||
|
||||
/*
|
||||
Bullet Continuous Collision Detection and Physics Library
|
||||
Copyright (c) 2003-2006 Erwin Coumans http://continuousphysics.com/Bullet/
|
||||
|
||||
This software is provided 'as-is', without any express or implied warranty.
|
||||
In no event will the authors be held liable for any damages arising from the use of this software.
|
||||
Permission is granted to anyone to use this software for any purpose,
|
||||
including commercial applications, and to alter it and redistribute it freely,
|
||||
subject to the following restrictions:
|
||||
|
||||
1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required.
|
||||
2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
|
||||
3. This notice may not be removed or altered from any source distribution.
|
||||
*/
|
||||
|
||||
#include "pin_joint_sw.h"
|
||||
|
|
|
@ -30,7 +30,27 @@
|
|||
|
||||
/*
|
||||
Adapted to Godot from the Bullet library.
|
||||
See corresponding header file for licensing info.
|
||||
*/
|
||||
|
||||
/*
|
||||
Bullet Continuous Collision Detection and Physics Library
|
||||
Copyright (c) 2003-2006 Erwin Coumans http://continuousphysics.com/Bullet/
|
||||
|
||||
This software is provided 'as-is', without any express or implied warranty.
|
||||
In no event will the authors be held liable for any damages arising from the use of this software.
|
||||
Permission is granted to anyone to use this software for any purpose,
|
||||
including commercial applications, and to alter it and redistribute it freely,
|
||||
subject to the following restrictions:
|
||||
|
||||
1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required.
|
||||
2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
|
||||
3. This notice may not be removed or altered from any source distribution.
|
||||
*/
|
||||
|
||||
/*
|
||||
Added by Roman Ponomarev (rponom@gmail.com)
|
||||
April 04, 2008
|
||||
|
||||
*/
|
||||
|
||||
#include "slider_joint_sw.h"
|
||||
|
|
25
thirdparty/misc/yuv2rgb.h
vendored
25
thirdparty/misc/yuv2rgb.h
vendored
|
@ -1,5 +1,28 @@
|
|||
/* Thirdparty code presumably from http://wss.co.uk/pinknoise/yuv2rgb/ */
|
||||
/* FIXME: Move to thirdparty dir */
|
||||
|
||||
/*
|
||||
This YUV2RGB code is Copyright (C) 2008-11 Robin Watts
|
||||
<theorarm@wss.co.uk>.
|
||||
|
||||
The software is released under the BSD license.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION
|
||||
OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
In particular, I warrant absolutely nothing about how patent free
|
||||
this method is. It is your responsibility to ensure that this code
|
||||
does not infringe any patents that apply in your area before you
|
||||
ship it.
|
||||
*/
|
||||
|
||||
#ifndef YUV2RGB_H
|
||||
#define YUV2RGB_H
|
||||
|
|
Loading…
Reference in a new issue