From fe610dbc7df1d625ba7e25fb498e71cdafc2d530 Mon Sep 17 00:00:00 2001 From: Relintai Date: Thu, 21 Nov 2019 13:10:00 +0100 Subject: [PATCH] Changed the license for some of the files, because I forgot about them yesterday. Sometimes I implement functionality in them, and then port it to the entity spell system module. FYI I'll clean this header up a bit later, the MIT license refers to the same one as in the aforementioned module. This is also true for voxelman related classes. --- game/autoload/EntityDataManager.gd | 5 ++--- game/autoload/ProfileManager.gd | 5 ++--- game/player/CharacterSkeletonAttachPoint.gd | 5 ++--- game/player/CharacterSkeletonGD.gd | 5 ++--- game/player/DisplayPlayer.gd | 5 ++--- game/player/Mob.gd | 5 ++--- game/player/NetworkedPlayer.gd | 5 ++--- game/player/Player.gd | 5 ++--- game/player/PlayerGDBase.gd | 5 ++--- 9 files changed, 18 insertions(+), 27 deletions(-) diff --git a/game/autoload/EntityDataManager.gd b/game/autoload/EntityDataManager.gd index cdfb1ef1..38591ab0 100644 --- a/game/autoload/EntityDataManager.gd +++ b/game/autoload/EntityDataManager.gd @@ -1,8 +1,7 @@ extends Node -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at https://mozilla.org/MPL/2.0/. +# Copyright Péter Magyar relintai@gmail.com +# MIT License, functionality from this class needs to be protable to the entity spell system export (PackedScene) var player_scene : PackedScene export (PackedScene) var networked_player_scene : PackedScene diff --git a/game/autoload/ProfileManager.gd b/game/autoload/ProfileManager.gd index 7dae0454..ab98ba2a 100644 --- a/game/autoload/ProfileManager.gd +++ b/game/autoload/ProfileManager.gd @@ -1,8 +1,7 @@ extends ProfileManager -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at https://mozilla.org/MPL/2.0/. +# Copyright Péter Magyar relintai@gmail.com +# MIT License, functionality from this class needs to be protable to the entity spell system #export (float) var save_interval : float = 20 #var last_save_time : float = 0 diff --git a/game/player/CharacterSkeletonAttachPoint.gd b/game/player/CharacterSkeletonAttachPoint.gd index 54fd30ad..912c85e2 100644 --- a/game/player/CharacterSkeletonAttachPoint.gd +++ b/game/player/CharacterSkeletonAttachPoint.gd @@ -1,9 +1,8 @@ extends Spatial class_name CharacterSkeketonAttachPoint -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at https://mozilla.org/MPL/2.0/. +# Copyright Péter Magyar relintai@gmail.com +# MIT License, functionality from this class needs to be protable to the entity spell system var effects : Dictionary var timed_effects : Dictionary diff --git a/game/player/CharacterSkeletonGD.gd b/game/player/CharacterSkeletonGD.gd index c0b638dd..11521c68 100644 --- a/game/player/CharacterSkeletonGD.gd +++ b/game/player/CharacterSkeletonGD.gd @@ -1,9 +1,8 @@ tool extends CharacterSkeleton3D -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at https://mozilla.org/MPL/2.0/. +# Copyright Péter Magyar relintai@gmail.com +# MIT License, functionality from this class needs to be protable to the entity spell system export(bool) var refresh_in_editor : bool = false setget editor_build export(bool) var automatic_build : bool = false diff --git a/game/player/DisplayPlayer.gd b/game/player/DisplayPlayer.gd index f7c45020..220437c8 100644 --- a/game/player/DisplayPlayer.gd +++ b/game/player/DisplayPlayer.gd @@ -1,9 +1,8 @@ extends Entity class_name DisplayPlayerGD -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at https://mozilla.org/MPL/2.0/. +# Copyright Péter Magyar relintai@gmail.com +# MIT License, functionality from this class needs to be protable to the entity spell system func _setup(): ._setup() diff --git a/game/player/Mob.gd b/game/player/Mob.gd index 5290edf4..31f33731 100644 --- a/game/player/Mob.gd +++ b/game/player/Mob.gd @@ -1,8 +1,7 @@ extends Entity -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at https://mozilla.org/MPL/2.0/. +# Copyright Péter Magyar relintai@gmail.com +# MIT License, functionality from this class needs to be protable to the entity spell system #export (String) var map_path : String export(float) var max_visible_distance : float = 120 setget set_max_visible_distance diff --git a/game/player/NetworkedPlayer.gd b/game/player/NetworkedPlayer.gd index 25d2d8b2..b7e2d4db 100644 --- a/game/player/NetworkedPlayer.gd +++ b/game/player/NetworkedPlayer.gd @@ -1,9 +1,8 @@ extends "PlayerGDBase.gd" class_name NetworkedPlayerGD -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at https://mozilla.org/MPL/2.0/. +# Copyright Péter Magyar relintai@gmail.com +# MIT License, functionality from this class needs to be protable to the entity spell system #export (float) var MOUSE_SENSITIVITY : float = 0.05 #export (String) var map_path : String diff --git a/game/player/Player.gd b/game/player/Player.gd index ec3667a8..ee53935c 100644 --- a/game/player/Player.gd +++ b/game/player/Player.gd @@ -1,9 +1,8 @@ extends "PlayerGDBase.gd" class_name PlayerGD -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at https://mozilla.org/MPL/2.0/. +# Copyright Péter Magyar relintai@gmail.com +# MIT License, functionality from this class needs to be protable to the entity spell system export (float) var MOUSE_SENSITIVITY : float = 0.05 export (String) var world_path : String = ".." diff --git a/game/player/PlayerGDBase.gd b/game/player/PlayerGDBase.gd index ecc7e51f..da8d3d26 100644 --- a/game/player/PlayerGDBase.gd +++ b/game/player/PlayerGDBase.gd @@ -1,8 +1,7 @@ extends Entity -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at https://mozilla.org/MPL/2.0/. +# Copyright Péter Magyar relintai@gmail.com +# MIT License, functionality from this class needs to be protable to the entity spell system var _timer : float = randf() * 2.0