|
@@ -1,8 +1,23 @@
|
|
|
//
|
|
//
|
|
|
-// Copyright (c) 2014-2015, THUNDERBEAST GAMES LLC All rights reserved
|
|
|
|
|
-// LICENSE: Atomic Game Engine Editor and Tools EULA
|
|
|
|
|
-// Please see LICENSE_ATOMIC_EDITOR_AND_TOOLS.md in repository root for
|
|
|
|
|
-// license information: https://github.com/AtomicGameEngine/AtomicGameEngine
|
|
|
|
|
|
|
+// Copyright (c) 2014-2016 THUNDERBEAST GAMES LLC
|
|
|
|
|
+//
|
|
|
|
|
+// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
|
|
|
+// of this software and associated documentation files (the "Software"), to deal
|
|
|
|
|
+// in the Software without restriction, including without limitation the rights
|
|
|
|
|
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
|
|
|
+// copies of the Software, and to permit persons to whom the Software is
|
|
|
|
|
+// furnished to do so, subject to the following conditions:
|
|
|
|
|
+//
|
|
|
|
|
+// The above copyright notice and this permission notice shall be included in
|
|
|
|
|
+// all copies or substantial portions of the Software.
|
|
|
|
|
+//
|
|
|
|
|
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
|
|
|
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
|
|
|
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
|
|
|
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
|
|
|
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
|
|
|
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
|
|
|
+// THE SOFTWARE.
|
|
|
//
|
|
//
|
|
|
|
|
|
|
|
import EditorEvents = require("editor/EditorEvents");
|
|
import EditorEvents = require("editor/EditorEvents");
|
|
@@ -20,7 +35,6 @@ class EULAWindow extends ModalWindow {
|
|
|
this.init("License Agreement", "AtomicEditor/editor/ui/eulaagreement.tb.txt");
|
|
this.init("License Agreement", "AtomicEditor/editor/ui/eulaagreement.tb.txt");
|
|
|
|
|
|
|
|
this.age_license = <Atomic.UIEditField> this.getWidget("age_license");
|
|
this.age_license = <Atomic.UIEditField> this.getWidget("age_license");
|
|
|
- this.age_runtimelicense = <Atomic.UIEditField> this.getWidget("age_runtime_license");
|
|
|
|
|
this.thirdparty_license = <Atomic.UIEditField> this.getWidget("thirdparty_license");
|
|
this.thirdparty_license = <Atomic.UIEditField> this.getWidget("thirdparty_license");
|
|
|
this.externaltool_license = <Atomic.UIEditField> this.getWidget("externaltool_license");
|
|
this.externaltool_license = <Atomic.UIEditField> this.getWidget("externaltool_license");
|
|
|
this.eulaCheck = <Atomic.UICheckBox> this.getWidget("eula_check");
|
|
this.eulaCheck = <Atomic.UICheckBox> this.getWidget("eula_check");
|
|
@@ -33,9 +47,6 @@ class EULAWindow extends ModalWindow {
|
|
|
var file = cache.getFile("AtomicEditor/eulas/atomic_game_engine_eula.txt");
|
|
var file = cache.getFile("AtomicEditor/eulas/atomic_game_engine_eula.txt");
|
|
|
this.age_license.text = file.readText();
|
|
this.age_license.text = file.readText();
|
|
|
|
|
|
|
|
- file = cache.getFile("AtomicEditor/eulas/atomic_runtime_eula.txt");
|
|
|
|
|
- this.age_runtimelicense.text = file.readText();
|
|
|
|
|
-
|
|
|
|
|
file = cache.getFile("AtomicEditor/eulas/atomic_thirdparty_eula.txt");
|
|
file = cache.getFile("AtomicEditor/eulas/atomic_thirdparty_eula.txt");
|
|
|
this.thirdparty_license.text = file.readText();
|
|
this.thirdparty_license.text = file.readText();
|
|
|
|
|
|
|
@@ -75,7 +86,6 @@ class EULAWindow extends ModalWindow {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
age_license: Atomic.UIEditField;
|
|
age_license: Atomic.UIEditField;
|
|
|
- age_runtimelicense: Atomic.UIEditField;
|
|
|
|
|
thirdparty_license: Atomic.UIEditField;
|
|
thirdparty_license: Atomic.UIEditField;
|
|
|
externaltool_license: Atomic.UIEditField;
|
|
externaltool_license: Atomic.UIEditField;
|
|
|
eulaCheck: Atomic.UICheckBox;
|
|
eulaCheck: Atomic.UICheckBox;
|