Forráskód Böngészése

Merge pull request #300 from AtomicGameEngine/JME-ATOMIC-RUNTIMEUPDATE

Updates
JoshEngebretson 10 éve
szülő
commit
8e824175e4
100 módosított fájl, 1369 hozzáadás és 198 törlés
  1. 0 57
      LICENSE.md
  2. 89 0
      LICENSE_ATOMIC_EDITOR_AND_TOOLS.md
  3. 31 0
      LICENSE_ATOMIC_RUNTIME.md
  4. 57 52
      LICENSE_THIRDPARTY.md
  5. 18 9
      README.md
  6. 6 0
      Script/AtomicEditor/editor/Editor.ts
  7. 6 0
      Script/AtomicEditor/editor/EditorEvents.ts
  8. 6 0
      Script/AtomicEditor/editor/EditorLicense.ts
  9. 6 0
      Script/AtomicEditor/editor/Preferences.ts
  10. 7 0
      Script/AtomicEditor/main.ts
  11. 7 0
      Script/AtomicEditor/resources/ResourceOps.ts
  12. 7 1
      Script/AtomicEditor/ui/EditorStrings.ts
  13. 6 0
      Script/AtomicEditor/ui/EditorUI.ts
  14. 7 0
      Script/AtomicEditor/ui/MainToolbar.ts
  15. 6 1
      Script/AtomicEditor/ui/ScriptWidget.ts
  16. 7 0
      Script/AtomicEditor/ui/Shortcuts.ts
  17. 6 0
      Script/AtomicEditor/ui/UIEvents.ts
  18. 6 0
      Script/AtomicEditor/ui/frames/HierarchyFrame.ts
  19. 7 0
      Script/AtomicEditor/ui/frames/MainFrame.ts
  20. 6 1
      Script/AtomicEditor/ui/frames/ProjectFrame.ts
  21. 7 0
      Script/AtomicEditor/ui/frames/ResourceFrame.ts
  22. 6 0
      Script/AtomicEditor/ui/frames/WelcomeFrame.ts
  23. 6 0
      Script/AtomicEditor/ui/frames/inspector/ArrayEditWidget.ts
  24. 6 0
      Script/AtomicEditor/ui/frames/inspector/ComponentInspector.ts
  25. 6 1
      Script/AtomicEditor/ui/frames/inspector/CreateComponentButton.ts
  26. 7 0
      Script/AtomicEditor/ui/frames/inspector/DataBinding.ts
  27. 6 0
      Script/AtomicEditor/ui/frames/inspector/InspectorFrame.ts
  28. 6 0
      Script/AtomicEditor/ui/frames/inspector/InspectorUtils.ts
  29. 7 0
      Script/AtomicEditor/ui/frames/inspector/InspectorWidget.ts
  30. 6 0
      Script/AtomicEditor/ui/frames/inspector/MaterialInspector.ts
  31. 6 1
      Script/AtomicEditor/ui/frames/inspector/ModelInspector.ts
  32. 7 1
      Script/AtomicEditor/ui/frames/inspector/NodeInspector.ts
  33. 6 0
      Script/AtomicEditor/ui/frames/inspector/TextureSelector.ts
  34. 6 0
      Script/AtomicEditor/ui/frames/menus/HierarchyFrameMenu.ts
  35. 6 0
      Script/AtomicEditor/ui/frames/menus/MainFrameMenu.ts
  36. 6 0
      Script/AtomicEditor/ui/frames/menus/MenuItemSources.ts
  37. 6 0
      Script/AtomicEditor/ui/frames/menus/ProjectFrameMenu.ts
  38. 6 0
      Script/AtomicEditor/ui/modal/About.ts
  39. 6 0
      Script/AtomicEditor/ui/modal/CreateProject.ts
  40. 6 0
      Script/AtomicEditor/ui/modal/MessageModal.ts
  41. 7 0
      Script/AtomicEditor/ui/modal/ModalOps.ts
  42. 6 0
      Script/AtomicEditor/ui/modal/ModalWindow.ts
  43. 6 0
      Script/AtomicEditor/ui/modal/NewProject.ts
  44. 6 0
      Script/AtomicEditor/ui/modal/ProgressModal.ts
  45. 6 0
      Script/AtomicEditor/ui/modal/ResourceSelection.ts
  46. 7 0
      Script/AtomicEditor/ui/modal/UIResourceOps.ts
  47. 7 1
      Script/AtomicEditor/ui/modal/build/BuildComplete.ts
  48. 6 0
      Script/AtomicEditor/ui/modal/build/BuildOutput.ts
  49. 6 0
      Script/AtomicEditor/ui/modal/build/BuildSettingsWindow.ts
  50. 6 0
      Script/AtomicEditor/ui/modal/build/BuildWindow.ts
  51. 6 0
      Script/AtomicEditor/ui/modal/build/platforms/AndroidSettingsWidget.ts
  52. 7 1
      Script/AtomicEditor/ui/modal/build/platforms/IOSSettingsWidget.ts
  53. 6 0
      Script/AtomicEditor/ui/modal/build/platforms/MacSettingsWidget.ts
  54. 6 0
      Script/AtomicEditor/ui/modal/build/platforms/WebSettingsWidget.ts
  55. 7 1
      Script/AtomicEditor/ui/modal/build/platforms/WindowsSettingsWidget.ts
  56. 6 0
      Script/AtomicEditor/ui/modal/license/ActivationSuccessWindow.ts
  57. 6 0
      Script/AtomicEditor/ui/modal/license/ActivationWindow.ts
  58. 6 0
      Script/AtomicEditor/ui/modal/license/EULAWindow.ts
  59. 6 0
      Script/AtomicEditor/ui/modal/license/ManageLicense.ts
  60. 6 0
      Script/AtomicEditor/ui/modal/license/Pro3DWindow.ts
  61. 6 0
      Script/AtomicEditor/ui/modal/license/ProPlatformWindow.ts
  62. 6 0
      Script/AtomicEditor/ui/playmode/PlayMode.ts
  63. 6 0
      Script/AtomicEditor/ui/playmode/PlayerOutput.ts
  64. 6 1
      Script/ToolCore/build/BuildSettings.ts
  65. 61 0
      Script/tsconfig.json
  66. 21 3
      Source/Atomic/Atomic2D/Light2D.cpp
  67. 20 2
      Source/Atomic/Atomic2D/Light2D.h
  68. 20 2
      Source/Atomic/Environment/Environment.cpp
  69. 20 2
      Source/Atomic/Environment/Environment.h
  70. 20 2
      Source/Atomic/Environment/ProcSky.cpp
  71. 20 2
      Source/Atomic/Environment/ProcSky.h
  72. 20 2
      Source/Atomic/Environment/TimeOfDay.cpp
  73. 20 2
      Source/Atomic/Environment/TimeOfDay.h
  74. 23 2
      Source/Atomic/IPC/IPC.cpp
  75. 22 0
      Source/Atomic/IPC/IPC.h
  76. 25 4
      Source/Atomic/IPC/IPCBroker.cpp
  77. 21 0
      Source/Atomic/IPC/IPCBroker.h
  78. 21 0
      Source/Atomic/IPC/IPCChannel.cpp
  79. 21 0
      Source/Atomic/IPC/IPCChannel.h
  80. 22 0
      Source/Atomic/IPC/IPCEvents.h
  81. 21 0
      Source/Atomic/IPC/IPCMessage.cpp
  82. 21 0
      Source/Atomic/IPC/IPCMessage.h
  83. 21 0
      Source/Atomic/IPC/IPCTypes.h
  84. 23 2
      Source/Atomic/IPC/IPCUnix.cpp
  85. 21 0
      Source/Atomic/IPC/IPCUnix.h
  86. 35 13
      Source/Atomic/IPC/IPCWindows.cpp
  87. 21 0
      Source/Atomic/IPC/IPCWindows.h
  88. 21 0
      Source/Atomic/IPC/IPCWorker.cpp
  89. 23 2
      Source/Atomic/IPC/IPCWorker.h
  90. 22 1
      Source/Atomic/UI/UI.cpp
  91. 21 0
      Source/Atomic/UI/UI.h
  92. 25 24
      Source/Atomic/UI/UIBatch.cpp
  93. 4 3
      Source/Atomic/UI/UIBatch.h
  94. 23 2
      Source/Atomic/UI/UIButton.cpp
  95. 21 0
      Source/Atomic/UI/UIButton.h
  96. 21 0
      Source/Atomic/UI/UICheckBox.cpp
  97. 21 0
      Source/Atomic/UI/UICheckBox.h
  98. 21 0
      Source/Atomic/UI/UIClickLabel.cpp
  99. 21 0
      Source/Atomic/UI/UIClickLabel.h
  100. 21 0
      Source/Atomic/UI/UIContainer.cpp

A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 0 - 57
LICENSE.md


A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 89 - 0
LICENSE_ATOMIC_EDITOR_AND_TOOLS.md


+ 31 - 0
LICENSE_ATOMIC_RUNTIME.md

@@ -0,0 +1,31 @@
+###Atomic Game Engine™ Runtime End User License Agreement (EULA)
+
+**IMPORTANT:**
+
+The Atomic Game Engine™ Runtime EULA applies to the source code of the redistributable binary of end user games, simulations, and visualizations.
+
+The Atomic Editor, Atomic CLI, and other tooling is under the Atomic Game Engine™ Editor and Tool EULA.  Please see the LICENSE_ATOMIC_EDITOR_AND_TOOLS.md file which contains this license.
+
+The Atomic Game Engine contains third party technology available under permissive Open Source licenses. The LICENSE_THIRDPARTY.md file describes the copyrights and licenses associated with these technologies.
+
+####LICENSE
+
+Copyright (c) 2014-2015, THUNDERBEAST GAMES LLC All rights reserved
+
+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.

+ 57 - 52
THIRDPARTY_LICENSE.md → LICENSE_THIRDPARTY.md

@@ -3,8 +3,13 @@
 
 This file contains information for third party technology used in the Atomic Game Engine
 
-Please see [LICENSE.md](https://github.com/AtomicGameEngine/AtomicGameEngine/blob/master/LICENSE.md) for the **Atomic Game Engine Source Code EULA**
+Please see the The Atomic Game Engine™ Runtime EULA & Atomic Game Engine™ Editor and Tools EULA for additional licensing information.
 
+#### [The Atomic Game Engine™ Runtime EULA (MIT)](https://github.com/AtomicGameEngine/AtomicRuntime/blob/master/LICENSE_ATOMIC_RUNTIME.md)
+
+#### [The Atomic Game Engine™ Editor and Tools EULA](https://github.com/AtomicGameEngine/AtomicRuntime/blob/master/LICENSE_ATOMIC_RUNTIME.md)
+
+### Third Party Licenses
 -------------------------------------------------------------------
 
 #### Urho3D license
@@ -24,10 +29,10 @@ 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 
+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 
+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.
 
 #### Duktape License
@@ -77,12 +82,12 @@ following restrictions:
 
 #### SQLite license
 --------------
-All of the code and documentation in SQLite has been dedicated to the public domain 
-by the authors. All code authors, and representatives of the companies they work for, 
-have signed affidavits dedicating their contributions to the public domain and originals 
-of those signed affidavits are stored in a firesafe at the main offices of Hwaci. 
-Anyone is free to copy, modify, publish, use, compile, sell, or distribute the original 
-SQLite code, either in source code form or as a compiled binary, for any purpose, 
+All of the code and documentation in SQLite has been dedicated to the public domain
+by the authors. All code authors, and representatives of the companies they work for,
+have signed affidavits dedicating their contributions to the public domain and originals
+of those signed affidavits are stored in a firesafe at the main offices of Hwaci.
+Anyone is free to copy, modify, publish, use, compile, sell, or distribute the original
+SQLite code, either in source code form or as a compiled binary, for any purpose,
 commercial or non-commercial, and by any means.
 
 
@@ -95,8 +100,8 @@ Open Asset Import Library (Assimp)
 Copyright (c) 2006-2010, Assimp Development Team
 All rights reserved.
 
-Redistribution and use of this software in source and binary forms, 
-with or without modification, are permitted provided that the 
+Redistribution and use of this software in source and binary forms,
+with or without modification, are permitted provided that the
 following conditions are met:
 
 * Redistributions of source code must retain the above
@@ -113,16 +118,16 @@ following conditions are met:
   derived from this software without specific prior
   written permission of the ASSIMP Development Team.
 
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 
-"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 
+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 COPYRIGHT 
+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
 OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 
+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 
+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 
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 
@@ -155,17 +160,17 @@ Bullet Continuous Collision Detection and Physics Library
 Copyright (c) 2003-2009 Erwin Coumans  http://bulletphysics.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 
+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, 
+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 
+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 
+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.
 
@@ -210,23 +215,23 @@ Copyright (C) 2002-2007, Marcelo E. Magallon <mmagallo[]debian org>
 Copyright (C) 2002, Lev Povalahev
 All rights reserved.
 
-Redistribution and use in source and binary forms, with or without 
+Redistribution and use in source and binary forms, with or without
 modification, are permitted provided that the following conditions are met:
 
-* Redistributions of source code must retain the above copyright notice, 
+* Redistributions of source code must retain the above copyright notice,
   this list of conditions and the following disclaimer.
-* Redistributions in binary form must reproduce the above copyright notice, 
-  this list of conditions and the following disclaimer in the documentation 
+* Redistributions in binary form must reproduce the above copyright notice,
+  this list of conditions and the following disclaimer in the documentation
   and/or other materials provided with the distribution.
-* The name of the author may be used to endorse or promote products 
+* The name of the author may be used to endorse or promote products
   derived from this software without specific prior written permission.
 
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+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 COPYRIGHT OWNER OR CONTRIBUTORS BE 
+ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
 LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 
+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)
@@ -401,9 +406,9 @@ 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 
+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 
+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.
 
@@ -486,7 +491,7 @@ misrepresented as being the original software.
 
 Simple DirectMedia Layer
 Copyright (C) 1997-2012 Sam Lantinga <[email protected]>
-  
+
 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.
@@ -494,11 +499,11 @@ 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. 
+   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.
@@ -536,31 +541,31 @@ Copyright (c) 2004 Open Dynamics Framework Group
       www.physicstools.org
 All rights reserved.
 
-Redistribution and use in source and binary forms, with or without 
-modification, are permitted provided that the following conditions 
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
 are met:
 
-Redistributions of source code must retain the above copyright notice, 
+Redistributions of source code must retain the above copyright notice,
 this list of conditions and the following disclaimer.
 
 Redistributions in binary form must reproduce the above copyright notice,
-this list of conditions and the following disclaimer in the documentation 
+this list of conditions and the following disclaimer in the documentation
 and/or other materials provided with the distribution.
 
 Neither the name of the Open Dynamics Framework Group nor the names of
 its contributors may be used to endorse or promote products derived from
 this software without specific prior written permission.
 
-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 INTEL 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 
+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 INTEL 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.
 
 

+ 18 - 9
README.md

@@ -1,17 +1,17 @@
 ####Atomic Game Engine™ Editor and Player Source Repository
 
+##### Website
+
+<a href="http://atomicgameengine.com">http://www.AtomicGameEngine.com</a>
+
 ###### Looking for the Javascript examples?
 
 They are over here: <a href="https://github.com/AtomicGameEngine/AtomicExamples">Javascript Examples</a>
 
-###### Looking for Atomic-Haxe? 
+###### Looking for Atomic-Haxe?
 
 It's here: <a href="https://github.com/rsredsq/atomic-haxe">Atomic-Haxe</a>  <sup>(Community Supported)</sup>
 
-##### Website
-
-<a href="http://atomicgameengine.com">http://www.AtomicGameEngine.com</a>
-
 ##### Chat
 
 [![Join the chat at https://gitter.im/AtomicGameEngine/AtomicGameEngine](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/AtomicGameEngine/AtomicGameEngine?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
@@ -28,7 +28,7 @@ It's here: <a href="https://github.com/rsredsq/atomic-haxe">Atomic-Haxe</a>  <su
 
 ![alt text][WelcomeScreen]
 
-This repository contains the full source code to the Atomic Game Engine Runtime and Editor
+This repository contains the **full source code** to the Atomic Game Engine Runtime, Atomic Editor, Atomic CLI, and other tools.
 
 The source code is intended for licensees who need to customize the C++ runtime and editor.  For most users, we recommend the **supported binary releases** available for [DOWNLOAD](http://atomicgameengine.com/download) on our website.
 
@@ -38,8 +38,18 @@ For **supported binary releases** and to acquire **product activation keys** or
 
 ### Licensing Information
 
-[Atomic Game Engine™ EULA](https://github.com/AtomicGameEngine/AtomicRuntime/blob/master/LICENSE.md)  
-[Third Party Licenses](https://github.com/AtomicGameEngine/AtomicRuntime/blob/master/THIRDPARTY_LICENSE.md)
+#### [The Atomic Game Engine™ Runtime EULA (MIT)](https://github.com/AtomicGameEngine/AtomicRuntime/blob/master/LICENSE_ATOMIC_RUNTIME.md)
+
+> The full source code to the Atomic Runtime used by end user apps, games, simulations, and visualizations is available under the permissive **MIT license**
+
+#### [The Atomic Game Engine™ Editor and Tools EULA](https://github.com/AtomicGameEngine/AtomicRuntime/blob/master/LICENSE_ATOMIC_RUNTIME.md)
+
+> The full source code to the Atomic Editor and other tooling is available under the terms of the [The Atomic Game Engine™ Editor and Tools EULA](https://github.com/AtomicGameEngine/AtomicRuntime/blob/master/LICENSE_ATOMIC_RUNTIME.md)
+
+**[Third Party Licenses](https://github.com/AtomicGameEngine/AtomicRuntime/blob/master/LICENSE_THIRDPARTY.md)**
+
+> The Atomic Game Engine contains third party technology available under permissive Open Source licenses.
+
 
 ### Building the Atomic Editor from Source
 
@@ -48,4 +58,3 @@ Please see [Building the Atomic Editor from Source](https://github.com/AtomicGam
 ### Website
 
 Visit http://www.AtomicGameEngine.com for all the latest news and downloads of the Atomic Game Engine
-

+ 6 - 0
Script/AtomicEditor/editor/Editor.ts

@@ -1,3 +1,9 @@
+//
+// 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
+//
 
 import EditorUI = require("ui/EditorUI");
 import UIEvents = require("ui/UIEvents");

+ 6 - 0
Script/AtomicEditor/editor/EditorEvents.ts

@@ -1,3 +1,9 @@
+//
+// 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
+//
 
 export const Quit = "EditorEventQuit";
 

+ 6 - 0
Script/AtomicEditor/editor/EditorLicense.ts

@@ -1,3 +1,9 @@
+//
+// 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
+//
 
 import EditorUI = require("../ui/EditorUI");
 

+ 6 - 0
Script/AtomicEditor/editor/Preferences.ts

@@ -1,3 +1,9 @@
+//
+// 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
+//
 
 class Preferences {
 

+ 7 - 0
Script/AtomicEditor/main.ts

@@ -1,3 +1,10 @@
+//
+// 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
+//
+
 /// <reference path="../TypeScript/Atomic.d.ts" />
 /// <reference path="../TypeScript/ToolCore.d.ts" />
 /// <reference path="../TypeScript/Editor.d.ts" />

+ 7 - 0
Script/AtomicEditor/resources/ResourceOps.ts

@@ -1,3 +1,10 @@
+//
+// 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
+//
+
 import EditorEvents = require("../editor/EditorEvents");
 
 class ResourceOps extends Atomic.ScriptObject {

+ 7 - 1
Script/AtomicEditor/ui/EditorStrings.ts

@@ -1,3 +1,9 @@
+//
+// 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
+//
 
 export enum StringID {
 
@@ -43,7 +49,7 @@ export class EditorString {
         }
 
         lookup[StringID.RevealInFinder] = "Reveal in Finder";
-        
+
         // Mac, Windows and Linux
         lookup[StringID.ShortcutRedo] = "⇧" + shortcutKey + "Z";
         lookup[StringID.ShortcutFindNext] = shortcutKey + "G";

+ 6 - 0
Script/AtomicEditor/ui/EditorUI.ts

@@ -1,3 +1,9 @@
+//
+// 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
+//
 
 import EditorEvents = require("editor/EditorEvents");
 import MainFrame = require("./frames/MainFrame");

+ 7 - 0
Script/AtomicEditor/ui/MainToolbar.ts

@@ -1,3 +1,10 @@
+//
+// 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
+//
+
 import EditorUI = require("./EditorUI");
 
 class MainToolbar extends Atomic.UIWidget {

+ 6 - 1
Script/AtomicEditor/ui/ScriptWidget.ts

@@ -1,4 +1,9 @@
-
+//
+// 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
+//
 
 class ScriptWidget extends Atomic.UIWidget {
 

+ 7 - 0
Script/AtomicEditor/ui/Shortcuts.ts

@@ -1,3 +1,10 @@
+//
+// 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
+//
+
 import EditorEvents = require("../editor/EditorEvents");
 import EditorUI = require("./EditorUI");
 

+ 6 - 0
Script/AtomicEditor/ui/UIEvents.ts

@@ -1,3 +1,9 @@
+//
+// 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
+//
 
 export const MessageModalEvent = "MessageModalEvent";
 export const ResourceEditorChanged = "ResourceEditorChanged";

+ 6 - 0
Script/AtomicEditor/ui/frames/HierarchyFrame.ts

@@ -1,3 +1,9 @@
+//
+// 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
+//
 
 import HierarchyFrameMenu = require("./menus/HierarchyFrameMenu");
 import MenuItemSources = require("./menus/MenuItemSources");

+ 7 - 0
Script/AtomicEditor/ui/frames/MainFrame.ts

@@ -1,3 +1,10 @@
+//
+// 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
+//
+
 import ProjectFrame = require("./ProjectFrame");
 import ResourceFrame = require("./ResourceFrame");
 import WelcomeFrame = require("./WelcomeFrame");

+ 6 - 1
Script/AtomicEditor/ui/frames/ProjectFrame.ts

@@ -1,4 +1,9 @@
-
+//
+// 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
+//
 
 import ScriptWidget = require("ui/ScriptWidget");
 import Editor = require("editor/Editor");

+ 7 - 0
Script/AtomicEditor/ui/frames/ResourceFrame.ts

@@ -1,3 +1,10 @@
+//
+// 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
+//
+
 import ScriptWidget = require("ui/ScriptWidget");
 import EditorEvents = require("editor/EditorEvents");
 import UIEvents = require("ui/UIEvents");

+ 6 - 0
Script/AtomicEditor/ui/frames/WelcomeFrame.ts

@@ -1,3 +1,9 @@
+//
+// 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
+//
 
 import EditorEvents = require("editor/EditorEvents");
 import EditorUI = require("ui/EditorUI");

+ 6 - 0
Script/AtomicEditor/ui/frames/inspector/ArrayEditWidget.ts

@@ -1,3 +1,9 @@
+//
+// 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
+//
 
 import InspectorUtils = require("./InspectorUtils");
 

+ 6 - 0
Script/AtomicEditor/ui/frames/inspector/ComponentInspector.ts

@@ -1,3 +1,9 @@
+//
+// 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
+//
 
 import ScriptWidget = require("ui/ScriptWidget");
 import DataBinding = require("./DataBinding");

+ 6 - 1
Script/AtomicEditor/ui/frames/inspector/CreateComponentButton.ts

@@ -1,7 +1,12 @@
+//
+// 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
+//
 
 import ComponentInspector = require("./ComponentInspector");
 
-
 var audioCreateSource = new Atomic.UIMenuItemSource();
 
 audioCreateSource.addItem(new Atomic.UIMenuItem("SoundListener", "SoundListener"));

+ 7 - 0
Script/AtomicEditor/ui/frames/inspector/DataBinding.ts

@@ -1,3 +1,10 @@
+//
+// 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
+//
+
 import InspectorUtils = require("./InspectorUtils");
 import EditorUI = require("ui/EditorUI");
 

+ 6 - 0
Script/AtomicEditor/ui/frames/inspector/InspectorFrame.ts

@@ -1,3 +1,9 @@
+//
+// 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
+//
 
 import EditorEvents = require("editor/EditorEvents");
 import ScriptWidget = require("ui/ScriptWidget");

+ 6 - 0
Script/AtomicEditor/ui/frames/inspector/InspectorUtils.ts

@@ -1,3 +1,9 @@
+//
+// 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
+//
 
 class InspectorUtils {
 

+ 7 - 0
Script/AtomicEditor/ui/frames/inspector/InspectorWidget.ts

@@ -1,3 +1,10 @@
+//
+// 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
+//
+
 import ScriptWidget = require("ui/ScriptWidget");
 
 class InspectorWidget extends ScriptWidget {

+ 6 - 0
Script/AtomicEditor/ui/frames/inspector/MaterialInspector.ts

@@ -1,3 +1,9 @@
+//
+// 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
+//
 
 import ScriptWidget = require("ui/ScriptWidget");
 import UIEvents = require("ui/UIEvents");

+ 6 - 1
Script/AtomicEditor/ui/frames/inspector/ModelInspector.ts

@@ -1,4 +1,9 @@
-
+//
+// 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
+//
 
 import InspectorWidget = require("./InspectorWidget");
 import ArrayEditWidget = require("./ArrayEditWidget");

+ 7 - 1
Script/AtomicEditor/ui/frames/inspector/NodeInspector.ts

@@ -1,3 +1,9 @@
+//
+// 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
+//
 
 import ScriptWidget = require("ui/ScriptWidget");
 import ComponentInspector = require("./ComponentInspector");
@@ -12,7 +18,7 @@ class NodeInspector extends ScriptWidget {
 
         this.subscribeToEvent(this, "WidgetEvent", (ev) => this.handleWidgetEvent(ev));
         this.subscribeToEvent("GizmoMoved", (ev) => this.handleGizmoModed(ev));
-        this.subscribeToEvent("Update", (ev) => this.handleUpdate(ev));        
+        this.subscribeToEvent("Update", (ev) => this.handleUpdate(ev));
 
     }
 

+ 6 - 0
Script/AtomicEditor/ui/frames/inspector/TextureSelector.ts

@@ -1,3 +1,9 @@
+//
+// 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
+//
 
 class TextureSelector extends Atomic.UIWindow {
 

+ 6 - 0
Script/AtomicEditor/ui/frames/menus/HierarchyFrameMenu.ts

@@ -1,3 +1,9 @@
+//
+// 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
+//
 
 import strings = require("ui/EditorStrings");
 import EditorEvents = require("editor/EditorEvents");

+ 6 - 0
Script/AtomicEditor/ui/frames/menus/MainFrameMenu.ts

@@ -1,3 +1,9 @@
+//
+// 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
+//
 
 import strings = require("ui/EditorStrings");
 import EditorEvents = require("editor/EditorEvents");

+ 6 - 0
Script/AtomicEditor/ui/frames/menus/MenuItemSources.ts

@@ -1,3 +1,9 @@
+//
+// 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
+//
 
 import strings = require("ui/EditorStrings");
 import EditorEvents = require("editor/EditorEvents");

+ 6 - 0
Script/AtomicEditor/ui/frames/menus/ProjectFrameMenu.ts

@@ -1,3 +1,9 @@
+//
+// 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
+//
 
 import strings = require("ui/EditorStrings");
 import EditorEvents = require("editor/EditorEvents");

+ 6 - 0
Script/AtomicEditor/ui/modal/About.ts

@@ -1,3 +1,9 @@
+//
+// 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
+//
 
 import EditorUI = require("../EditorUI");
 import ModalWindow = require("./ModalWindow");

+ 6 - 0
Script/AtomicEditor/ui/modal/CreateProject.ts

@@ -1,3 +1,9 @@
+//
+// 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
+//
 
 import EditorEvents = require("../../editor/EditorEvents");
 import EditorUI = require("../EditorUI");

+ 6 - 0
Script/AtomicEditor/ui/modal/MessageModal.ts

@@ -1,3 +1,9 @@
+//
+// 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
+//
 
 import UIEvents = require("../UIEvents");
 import EditorUI = require("../EditorUI");

+ 7 - 0
Script/AtomicEditor/ui/modal/ModalOps.ts

@@ -1,3 +1,10 @@
+//
+// 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
+//
+
 import EditorUI = require("../EditorUI");
 import ModalWindow = require("./ModalWindow");
 import About = require("./About");

+ 6 - 0
Script/AtomicEditor/ui/modal/ModalWindow.ts

@@ -1,3 +1,9 @@
+//
+// 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
+//
 
 import EditorUI = require("../EditorUI");
 

+ 6 - 0
Script/AtomicEditor/ui/modal/NewProject.ts

@@ -1,3 +1,9 @@
+//
+// 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
+//
 
 import EditorUI = require("../EditorUI");
 import ModalWindow = require("./ModalWindow");

+ 6 - 0
Script/AtomicEditor/ui/modal/ProgressModal.ts

@@ -1,3 +1,9 @@
+//
+// 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
+//
 
 import EditorUI = require("../EditorUI");
 

+ 6 - 0
Script/AtomicEditor/ui/modal/ResourceSelection.ts

@@ -1,3 +1,9 @@
+//
+// 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
+//
 
 import EditorUI = require("../EditorUI");
 import EditorEvents = require("../../editor/EditorEvents");

+ 7 - 0
Script/AtomicEditor/ui/modal/UIResourceOps.ts

@@ -1,3 +1,10 @@
+//
+// 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
+//
+
 import EditorEvents = require("editor/EditorEvents");
 import EditorUI = require("../EditorUI");
 import ModalWindow = require("./ModalWindow");

+ 7 - 1
Script/AtomicEditor/ui/modal/build/BuildComplete.ts

@@ -1,3 +1,9 @@
+//
+// 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
+//
 
 
 class BuildComplete extends Atomic.UIWindow {
@@ -22,7 +28,7 @@ class BuildComplete extends Atomic.UIWindow {
             reveal.setState(Atomic.UI_WIDGET_STATE_DISABLED, true);
 
 
-        this.subscribeToEvent(this, "WidgetEvent", (data) => this.handleWidgetEvent(data));    
+        this.subscribeToEvent(this, "WidgetEvent", (data) => this.handleWidgetEvent(data));
 
     }
 

+ 6 - 0
Script/AtomicEditor/ui/modal/build/BuildOutput.ts

@@ -1,3 +1,9 @@
+//
+// 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
+//
 
 import EditorUI = require("../../EditorUI");
 import ModalWindow = require("../ModalWindow");

+ 6 - 0
Script/AtomicEditor/ui/modal/build/BuildSettingsWindow.ts

@@ -1,3 +1,9 @@
+//
+// 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
+//
 
 import EditorEvents = require("editor/EditorEvents");
 import EditorUI = require("ui/EditorUI");

+ 6 - 0
Script/AtomicEditor/ui/modal/build/BuildWindow.ts

@@ -1,3 +1,9 @@
+//
+// 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
+//
 
 import EditorEvents = require("editor/EditorEvents");
 import EditorUI = require("ui/EditorUI");

+ 6 - 0
Script/AtomicEditor/ui/modal/build/platforms/AndroidSettingsWidget.ts

@@ -1,3 +1,9 @@
+//
+// 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
+//
 
 class AndroidSettingsWidget extends Atomic.UIWidget {
 

+ 7 - 1
Script/AtomicEditor/ui/modal/build/platforms/IOSSettingsWidget.ts

@@ -1,3 +1,9 @@
+//
+// 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
+//
 
 
 class IOSSettingsWidget extends Atomic.UIWidget {
@@ -55,7 +61,7 @@ class IOSSettingsWidget extends Atomic.UIWidget {
                     this.provisionPathEdit.text = path;
                     this.appIDPrefixField.text = prefix;
 
-                  }                  
+                  }
 
               }
 

+ 6 - 0
Script/AtomicEditor/ui/modal/build/platforms/MacSettingsWidget.ts

@@ -1,3 +1,9 @@
+//
+// 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
+//
 
 
 class MacSettingsWidget extends Atomic.UIWidget {

+ 6 - 0
Script/AtomicEditor/ui/modal/build/platforms/WebSettingsWidget.ts

@@ -1,3 +1,9 @@
+//
+// 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
+//
 
 
 class WebSettingsWidget extends Atomic.UIWidget {

+ 7 - 1
Script/AtomicEditor/ui/modal/build/platforms/WindowsSettingsWidget.ts

@@ -1,3 +1,9 @@
+//
+// 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
+//
 
 
 class WindowsSettingsWidget extends Atomic.UIWidget {
@@ -11,7 +17,7 @@ class WindowsSettingsWidget extends Atomic.UIWidget {
     }
 
     storeValues() {
-      
+
     }
 
 }

+ 6 - 0
Script/AtomicEditor/ui/modal/license/ActivationSuccessWindow.ts

@@ -1,3 +1,9 @@
+//
+// 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
+//
 
 import EditorEvents = require("editor/EditorEvents");
 import EditorUI = require("ui/EditorUI");

+ 6 - 0
Script/AtomicEditor/ui/modal/license/ActivationWindow.ts

@@ -1,3 +1,9 @@
+//
+// 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
+//
 
 import EditorEvents = require("editor/EditorEvents");
 import EditorUI = require("ui/EditorUI");

+ 6 - 0
Script/AtomicEditor/ui/modal/license/EULAWindow.ts

@@ -1,3 +1,9 @@
+//
+// 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
+//
 
 import EditorEvents = require("editor/EditorEvents");
 import EditorUI = require("ui/EditorUI");

+ 6 - 0
Script/AtomicEditor/ui/modal/license/ManageLicense.ts

@@ -1,3 +1,9 @@
+//
+// 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
+//
 
 import EditorEvents = require("editor/EditorEvents");
 import EditorUI = require("ui/EditorUI");

+ 6 - 0
Script/AtomicEditor/ui/modal/license/Pro3DWindow.ts

@@ -1,3 +1,9 @@
+//
+// 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
+//
 
 import EditorEvents = require("editor/EditorEvents");
 import EditorUI = require("ui/EditorUI");

+ 6 - 0
Script/AtomicEditor/ui/modal/license/ProPlatformWindow.ts

@@ -1,3 +1,9 @@
+//
+// 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
+//
 
 import EditorEvents = require("editor/EditorEvents");
 import EditorUI = require("ui/EditorUI");

+ 6 - 0
Script/AtomicEditor/ui/playmode/PlayMode.ts

@@ -1,3 +1,9 @@
+//
+// 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
+//
 
 import EditorEvents = require("../../editor/EditorEvents");
 import PlayerOutput = require("./PlayerOutput");

+ 6 - 0
Script/AtomicEditor/ui/playmode/PlayerOutput.ts

@@ -1,3 +1,9 @@
+//
+// 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
+//
 
 import EditorEvents = require("../../editor/EditorEvents");
 import EditorUI = require("../EditorUI");

+ 6 - 1
Script/ToolCore/build/BuildSettings.ts

@@ -1,4 +1,9 @@
-
+//
+// 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
+//
 
 class BuildSettings {
 

+ 61 - 0
Script/tsconfig.json

@@ -12,5 +12,66 @@
     "filesGlob": [
         "./ToolCore/**/*.ts",
         "./AtomicEditor/**/*.ts"
+    ],
+    "files": [
+        "./ToolCore/build/BuildSettings.ts",
+        "./AtomicEditor/editor/Editor.ts",
+        "./AtomicEditor/editor/EditorEvents.ts",
+        "./AtomicEditor/editor/EditorLicense.ts",
+        "./AtomicEditor/editor/Preferences.ts",
+        "./AtomicEditor/main.ts",
+        "./AtomicEditor/resources/ResourceOps.ts",
+        "./AtomicEditor/ui/EditorStrings.ts",
+        "./AtomicEditor/ui/EditorUI.ts",
+        "./AtomicEditor/ui/MainToolbar.ts",
+        "./AtomicEditor/ui/ScriptWidget.ts",
+        "./AtomicEditor/ui/Shortcuts.ts",
+        "./AtomicEditor/ui/UIEvents.ts",
+        "./AtomicEditor/ui/frames/HierarchyFrame.ts",
+        "./AtomicEditor/ui/frames/MainFrame.ts",
+        "./AtomicEditor/ui/frames/ProjectFrame.ts",
+        "./AtomicEditor/ui/frames/ResourceFrame.ts",
+        "./AtomicEditor/ui/frames/WelcomeFrame.ts",
+        "./AtomicEditor/ui/frames/inspector/ArrayEditWidget.ts",
+        "./AtomicEditor/ui/frames/inspector/ComponentInspector.ts",
+        "./AtomicEditor/ui/frames/inspector/CreateComponentButton.ts",
+        "./AtomicEditor/ui/frames/inspector/DataBinding.ts",
+        "./AtomicEditor/ui/frames/inspector/InspectorFrame.ts",
+        "./AtomicEditor/ui/frames/inspector/InspectorUtils.ts",
+        "./AtomicEditor/ui/frames/inspector/InspectorWidget.ts",
+        "./AtomicEditor/ui/frames/inspector/MaterialInspector.ts",
+        "./AtomicEditor/ui/frames/inspector/ModelInspector.ts",
+        "./AtomicEditor/ui/frames/inspector/NodeInspector.ts",
+        "./AtomicEditor/ui/frames/inspector/TextureSelector.ts",
+        "./AtomicEditor/ui/frames/menus/HierarchyFrameMenu.ts",
+        "./AtomicEditor/ui/frames/menus/MainFrameMenu.ts",
+        "./AtomicEditor/ui/frames/menus/MenuItemSources.ts",
+        "./AtomicEditor/ui/frames/menus/ProjectFrameMenu.ts",
+        "./AtomicEditor/ui/modal/About.ts",
+        "./AtomicEditor/ui/modal/CreateProject.ts",
+        "./AtomicEditor/ui/modal/MessageModal.ts",
+        "./AtomicEditor/ui/modal/ModalOps.ts",
+        "./AtomicEditor/ui/modal/ModalWindow.ts",
+        "./AtomicEditor/ui/modal/NewProject.ts",
+        "./AtomicEditor/ui/modal/ProgressModal.ts",
+        "./AtomicEditor/ui/modal/ResourceSelection.ts",
+        "./AtomicEditor/ui/modal/UIResourceOps.ts",
+        "./AtomicEditor/ui/modal/build/BuildComplete.ts",
+        "./AtomicEditor/ui/modal/build/BuildOutput.ts",
+        "./AtomicEditor/ui/modal/build/BuildSettingsWindow.ts",
+        "./AtomicEditor/ui/modal/build/BuildWindow.ts",
+        "./AtomicEditor/ui/modal/build/platforms/AndroidSettingsWidget.ts",
+        "./AtomicEditor/ui/modal/build/platforms/IOSSettingsWidget.ts",
+        "./AtomicEditor/ui/modal/build/platforms/MacSettingsWidget.ts",
+        "./AtomicEditor/ui/modal/build/platforms/WebSettingsWidget.ts",
+        "./AtomicEditor/ui/modal/build/platforms/WindowsSettingsWidget.ts",
+        "./AtomicEditor/ui/modal/license/ActivationSuccessWindow.ts",
+        "./AtomicEditor/ui/modal/license/ActivationWindow.ts",
+        "./AtomicEditor/ui/modal/license/EULAWindow.ts",
+        "./AtomicEditor/ui/modal/license/ManageLicense.ts",
+        "./AtomicEditor/ui/modal/license/Pro3DWindow.ts",
+        "./AtomicEditor/ui/modal/license/ProPlatformWindow.ts",
+        "./AtomicEditor/ui/playmode/PlayMode.ts",
+        "./AtomicEditor/ui/playmode/PlayerOutput.ts"
     ]
 }

+ 21 - 3
Source/Atomic/Atomic2D/Light2D.cpp

@@ -1,6 +1,24 @@
+//
 // Copyright (c) 2014-2015, THUNDERBEAST GAMES LLC All rights reserved
-// Please see LICENSE.md in repository root for license information
-// https://github.com/AtomicGameEngine/AtomicGameEngine
+//
+// 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.
+//
 
 #include "Precompiled.h"
 #include "../Core/Context.h"
@@ -378,7 +396,7 @@ PositionalLight2D::~PositionalLight2D()
 void PositionalLight2D::RegisterObject(Context* context)
 {
     context->RegisterFactory<PositionalLight2D>(ATOMIC2D_CATEGORY);
-    COPY_BASE_ATTRIBUTES(Light2D);    
+    COPY_BASE_ATTRIBUTES(Light2D);
 }
 
 void PositionalLight2D::UpdateVertices()

+ 20 - 2
Source/Atomic/Atomic2D/Light2D.h

@@ -1,6 +1,24 @@
+//
 // Copyright (c) 2014-2015, THUNDERBEAST GAMES LLC All rights reserved
-// Please see LICENSE.md in repository root for license information
-// https://github.com/AtomicGameEngine/AtomicGameEngine
+//
+// 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.
+//
 
 #pragma once
 

+ 20 - 2
Source/Atomic/Environment/Environment.cpp

@@ -1,6 +1,24 @@
+//
 // Copyright (c) 2014-2015, THUNDERBEAST GAMES LLC All rights reserved
-// Please see LICENSE.md in repository root for license information
-// https://github.com/AtomicGameEngine/AtomicGameEngine
+//
+// 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.
+//
 
 #include "Precompiled.h"
 #include "Environment.h"

+ 20 - 2
Source/Atomic/Environment/Environment.h

@@ -1,6 +1,24 @@
+//
 // Copyright (c) 2014-2015, THUNDERBEAST GAMES LLC All rights reserved
-// Please see LICENSE.md in repository root for license information
-// https://github.com/AtomicGameEngine/AtomicGameEngine
+//
+// 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.
+//
 
 #pragma once
 

+ 20 - 2
Source/Atomic/Environment/ProcSky.cpp

@@ -1,6 +1,24 @@
+//
 // Copyright (c) 2014-2015, THUNDERBEAST GAMES LLC All rights reserved
-// Please see LICENSE.md in repository root for license information
-// https://github.com/AtomicGameEngine/AtomicGameEngine
+//
+// 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.
+//
 
 #include "Precompiled.h"
 #include "../Core/Context.h"

+ 20 - 2
Source/Atomic/Environment/ProcSky.h

@@ -1,6 +1,24 @@
+//
 // Copyright (c) 2014-2015, THUNDERBEAST GAMES LLC All rights reserved
-// Please see LICENSE.md in repository root for license information
-// https://github.com/AtomicGameEngine/AtomicGameEngine
+//
+// 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.
+//
 
 #pragma once
 

+ 20 - 2
Source/Atomic/Environment/TimeOfDay.cpp

@@ -1,6 +1,24 @@
+//
 // Copyright (c) 2014-2015, THUNDERBEAST GAMES LLC All rights reserved
-// Please see LICENSE.md in repository root for license information
-// https://github.com/AtomicGameEngine/AtomicGameEngine
+//
+// 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.
+//
 
 #include "Precompiled.h"
 #include "../Core/Context.h"

+ 20 - 2
Source/Atomic/Environment/TimeOfDay.h

@@ -1,6 +1,24 @@
+//
 // Copyright (c) 2014-2015, THUNDERBEAST GAMES LLC All rights reserved
-// Please see LICENSE.md in repository root for license information
-// https://github.com/AtomicGameEngine/AtomicGameEngine
+//
+// 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.
+//
 
 #pragma once
 

+ 23 - 2
Source/Atomic/IPC/IPC.cpp

@@ -1,3 +1,24 @@
+//
+// Copyright (c) 2014-2015, THUNDERBEAST GAMES LLC All rights reserved
+//
+// 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.
+//
 
 #if defined(ATOMIC_PLATFORM_OSX) || defined(ATOMIC_PLATFORM_LINUX)
 #include <unistd.h>
@@ -46,8 +67,8 @@ bool IPC::InitWorker(unsigned id, IPCHandle fd1, IPCHandle fd2)
 	worker_ = new IPCWorker(context_, fd1, fd2, id);
 #endif
 
-    
-    
+
+
 	worker_->Run();
 
     SendEventToBroker(E_IPCWORKERSTART);

+ 22 - 0
Source/Atomic/IPC/IPC.h

@@ -1,3 +1,25 @@
+//
+// Copyright (c) 2014-2015, THUNDERBEAST GAMES LLC All rights reserved
+//
+// 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.
+//
+
 #pragma once
 
 #include "../Core/Object.h"

+ 25 - 4
Source/Atomic/IPC/IPCBroker.cpp

@@ -1,3 +1,24 @@
+//
+// Copyright (c) 2014-2015, THUNDERBEAST GAMES LLC All rights reserved
+//
+// 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.
+//
 
 #ifndef ATOMIC_PLATFORM_WINDOWS
 #include <unistd.h>
@@ -16,7 +37,7 @@ namespace Atomic
 unsigned IPCBroker::idCounter_ = 1;
 
 IPCBroker::IPCBroker(Context* context) : IPCChannel(context, idCounter_)
-{    
+{
     idCounter_++;
 }
 
@@ -35,7 +56,7 @@ void IPCBroker::ThreadFunction()
         }
 
         if (!Receive())
-        {            
+        {
             break;
         }
     }
@@ -82,7 +103,7 @@ bool IPCBroker::SpawnWorker(const String& command, const Vector<String>& args, c
 
     wchar_t pipe_num[10];
     _i64tow_s(reinterpret_cast<__int64>(pp_.clientWrite()), pipe_num, sizeof(pipe_num)/sizeof(pipe_num[0]), 10);
-    
+
     String cpipe;
     cpipe.SetUTF8FromWChar(pipe_num);
 
@@ -99,7 +120,7 @@ bool IPCBroker::SpawnWorker(const String& command, const Vector<String>& args, c
 
 #else
     pargs.Push(ToString("--ipc-server=%i", pp_.fd1()));
-    pargs.Push(ToString("--ipc-client=%i", pp_.fd2()));    
+    pargs.Push(ToString("--ipc-client=%i", pp_.fd2()));
 #endif
 
     pargs.Push(ToString("--ipc-id=%i", id_));

+ 21 - 0
Source/Atomic/IPC/IPCBroker.h

@@ -1,3 +1,24 @@
+//
+// Copyright (c) 2014-2015, THUNDERBEAST GAMES LLC All rights reserved
+//
+// 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.
+//
 
 #pragma once
 

+ 21 - 0
Source/Atomic/IPC/IPCChannel.cpp

@@ -1,3 +1,24 @@
+//
+// Copyright (c) 2014-2015, THUNDERBEAST GAMES LLC All rights reserved
+//
+// 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.
+//
 
 #include "../IO/Log.h"
 

+ 21 - 0
Source/Atomic/IPC/IPCChannel.h

@@ -1,3 +1,24 @@
+//
+// Copyright (c) 2014-2015, THUNDERBEAST GAMES LLC All rights reserved
+//
+// 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.
+//
 
 
 #pragma once

+ 22 - 0
Source/Atomic/IPC/IPCEvents.h

@@ -1,3 +1,25 @@
+//
+// Copyright (c) 2014-2015, THUNDERBEAST GAMES LLC All rights reserved
+//
+// 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.
+//
+
 #pragma once
 
 #include "../Core/Object.h"

+ 21 - 0
Source/Atomic/IPC/IPCMessage.cpp

@@ -0,0 +1,21 @@
+//
+// Copyright (c) 2014-2015, THUNDERBEAST GAMES LLC All rights reserved
+//
+// 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.
+//

+ 21 - 0
Source/Atomic/IPC/IPCMessage.h

@@ -1,3 +1,24 @@
+//
+// Copyright (c) 2014-2015, THUNDERBEAST GAMES LLC All rights reserved
+//
+// 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.
+//
 
 #pragma once
 

+ 21 - 0
Source/Atomic/IPC/IPCTypes.h

@@ -1,3 +1,24 @@
+//
+// Copyright (c) 2014-2015, THUNDERBEAST GAMES LLC All rights reserved
+//
+// 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.
+//
 
 #pragma once
 

+ 23 - 2
Source/Atomic/IPC/IPCUnix.cpp

@@ -1,5 +1,26 @@
-#ifndef ATOMIC_PLATFORM_WINDOWS
+//
+// Copyright (c) 2014-2015, THUNDERBEAST GAMES LLC All rights reserved
+//
+// 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.
+//
 
+#ifndef ATOMIC_PLATFORM_WINDOWS
 
 #include "IPCUnix.h"
 
@@ -33,7 +54,7 @@ bool SilenceSocket(int fd) {
                         &nosigpipe, sizeof nosigpipe)) {
         return false;
     }
-#endif    
+#endif
     return true;
 }
 

+ 21 - 0
Source/Atomic/IPC/IPCUnix.h

@@ -1,3 +1,24 @@
+//
+// Copyright (c) 2014-2015, THUNDERBEAST GAMES LLC All rights reserved
+//
+// 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.
+//
 
 #ifndef ATOMIC_PLATFORM_WINDOWS
 

+ 35 - 13
Source/Atomic/IPC/IPCWindows.cpp

@@ -1,3 +1,25 @@
+//
+// Copyright (c) 2014-2015, THUNDERBEAST GAMES LLC All rights reserved
+//
+// 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.
+//
+
 #ifdef ATOMIC_PLATFORM_WINDOWS
 
 #include <Windows.h>
@@ -17,7 +39,7 @@ namespace Atomic
     static const int kPipeBufferSz = 4 * 1024;
     static LONG g_pipe_seq = 0;
 
-    HANDLE PipePair::OpenPipeServer(const wchar_t* name, bool read) 
+    HANDLE PipePair::OpenPipeServer(const wchar_t* name, bool read)
 	{
         IPCWString pipename(kPipePrefix);
         pipename.append(name);
@@ -29,7 +51,7 @@ namespace Atomic
             1, kPipeBufferSz, kPipeBufferSz, 200, NULL);
     }
 
-    HANDLE PipePair::OpenPipeClient(const wchar_t* name, bool read) 
+    HANDLE PipePair::OpenPipeClient(const wchar_t* name, bool read)
 	{
         IPCWString pipename(kPipePrefix);
         pipename.append(name);
@@ -42,7 +64,7 @@ namespace Atomic
 		DWORD accessMode = read ? GENERIC_READ : GENERIC_WRITE;
 
         for (;;) {
-           
+
 			HANDLE pipe = ::CreateFileW(pipename.c_str(), accessMode, 0, &sa,
                 OPEN_EXISTING, 0, NULL);
 
@@ -64,12 +86,12 @@ namespace Atomic
         srvRead_(INVALID_IPCHANDLE_VALUE),
 		srvWrite_(INVALID_IPCHANDLE_VALUE),
 		clnRead_(INVALID_IPCHANDLE_VALUE),
-		clnWrite_(INVALID_IPCHANDLE_VALUE)        
+		clnWrite_(INVALID_IPCHANDLE_VALUE)
     {
         // Come up with a reasonable unique name.
-        const wchar_t kPipePattern[] = L"ko.%x.%x.%x";        
+        const wchar_t kPipePattern[] = L"ko.%x.%x.%x";
 
-        wchar_t serverReadName[8 * 3 + sizeof(kPipePattern)];        
+        wchar_t serverReadName[8 * 3 + sizeof(kPipePattern)];
         ::wsprintfW(serverReadName, kPipePattern, ::GetCurrentProcessId(), ::GetTickCount(),
             ::InterlockedIncrement(&g_pipe_seq));
 
@@ -86,16 +108,16 @@ namespace Atomic
 		clnWrite_ = OpenPipeClient(serverReadName, false);
 
 		/*
-        if (INVALID_HANDLE_VALUE == client) 
+        if (INVALID_HANDLE_VALUE == client)
         {
             ::CloseHandle(server);
             return;
         }
 		*/
-        
+
 		if (!::ConnectNamedPipe(srvRead_, NULL))
         {
-            if (ERROR_PIPE_CONNECTED != ::GetLastError()) 
+            if (ERROR_PIPE_CONNECTED != ::GetLastError())
             {
                // ::CloseHandle(server);
                 //::CloseHandle(client);
@@ -122,7 +144,7 @@ namespace Atomic
 
     PipeWin::~PipeWin()
     {
-        if (pipeRead_ != INVALID_HANDLE_VALUE) 
+        if (pipeRead_ != INVALID_HANDLE_VALUE)
         {
             ::DisconnectNamedPipe(pipeRead_);  // $$$ disconect is valid on the server side.
             ::CloseHandle(pipeRead_);
@@ -173,14 +195,14 @@ namespace Atomic
 
     char* PipeTransport::Receive(size_t* size)
     {
-        if (buf_.Size() < kBufferSz) 
+        if (buf_.Size() < kBufferSz)
         {
             buf_.Resize(kBufferSz);
         }
 
         *size = kBufferSz;
 
-        if (!Read(&buf_[0], size)) 
+        if (!Read(&buf_[0], size))
         {
             return NULL;
         }
@@ -228,7 +250,7 @@ namespace Atomic
 
         pid_ = pi.hProcess;
         ::CloseHandle(pi.hThread);
-        
+
         return true;
     }
 

+ 21 - 0
Source/Atomic/IPC/IPCWindows.h

@@ -1,3 +1,24 @@
+//
+// Copyright (c) 2014-2015, THUNDERBEAST GAMES LLC All rights reserved
+//
+// 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.
+//
 
 #ifdef ATOMIC_PLATFORM_WINDOWS
 

+ 21 - 0
Source/Atomic/IPC/IPCWorker.cpp

@@ -1,3 +1,24 @@
+//
+// Copyright (c) 2014-2015, THUNDERBEAST GAMES LLC All rights reserved
+//
+// 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.
+//
 
 #include "../IO/Log.h"
 

+ 23 - 2
Source/Atomic/IPC/IPCWorker.h

@@ -1,3 +1,24 @@
+//
+// Copyright (c) 2014-2015, THUNDERBEAST GAMES LLC All rights reserved
+//
+// 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.
+//
 
 #pragma once
 
@@ -13,12 +34,12 @@ class IPCWorker : public IPCChannel
     OBJECT(IPCWorker);
 
 public:
-    /// POSIX Constructor   
+    /// POSIX Constructor
 	IPCWorker(Context* context, IPCHandle fd, unsigned id);
 
 	// Windows Constructor, two named pipes are used
 	IPCWorker(Context* context, IPCHandle clientRead, IPCHandle clientWrite, unsigned id);
-    
+
 	/// Destruct.
     virtual ~IPCWorker();
 

+ 22 - 1
Source/Atomic/UI/UI.cpp

@@ -1,3 +1,24 @@
+//
+// Copyright (c) 2014-2015, THUNDERBEAST GAMES LLC All rights reserved
+//
+// 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.
+//
 
 #include <TurboBadger/tb_core.h>
 #include <TurboBadger/tb_system.h>
@@ -261,7 +282,7 @@ void UI::Render(VertexBuffer* buffer, const PODVector<UIBatch>& batches, unsigne
     graphics_->SetColorWrite(true);
     graphics_->SetCullMode(CULL_NONE);
     graphics_->SetDepthTest(CMP_ALWAYS);
-    graphics_->SetDepthWrite(false);    
+    graphics_->SetDepthWrite(false);
     graphics_->SetFillMode(FILL_SOLID);
     graphics_->SetStencilTest(false);
 

+ 21 - 0
Source/Atomic/UI/UI.h

@@ -1,3 +1,24 @@
+//
+// Copyright (c) 2014-2015, THUNDERBEAST GAMES LLC All rights reserved
+//
+// 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.
+//
 
 #pragma once
 

+ 25 - 24
Source/Atomic/UI/UIBatch.cpp

@@ -1,5 +1,6 @@
 //
 // Copyright (c) 2008-2014 the Urho3D project.
+// Copyright (c) 2014-2015, THUNDERBEAST GAMES LLC All rights reserved
 //
 // Permission is hereby granted, free of charge, to any person obtaining a copy
 // of this software and associated documentation files (the "Software"), to deal
@@ -80,41 +81,41 @@ void UIBatch::AddQuad(int x, int y, int width, int height, int texOffsetX, int t
     // If alpha is 0, nothing will be rendered, so do not add the quad
     if (!(color_ & 0xff000000))
         return;
-            
+
     //const IntVector2& screenPos = element_->GetScreenPosition();
    IntVector2 screenPos(0, 0);
-    
+
     float left = (float)(x + screenPos.x_) - posAdjust;
     float right = left + (float)width;
     float top = (float)(y + screenPos.y_) - posAdjust;
     float bottom = top + (float)height;
-    
+
     float leftUV = texOffsetX * invTextureSize_.x_;
     float topUV = texOffsetY * invTextureSize_.y_;
     float rightUV = (texOffsetX + (texWidth ? texWidth : width)) * invTextureSize_.x_;
     float bottomUV = (texOffsetY + (texHeight ? texHeight : height)) * invTextureSize_.y_;
-    
+
     unsigned begin = vertexData_->Size();
     vertexData_->Resize(begin + 6 * UI_VERTEX_SIZE);
     float* dest = &(vertexData_->At(begin));
     vertexEnd_ = vertexData_->Size();
-    
+
     dest[0] = left; dest[1] = top; dest[2] = 0.0f;
     ((unsigned&)dest[3]) = color_;
     dest[4] = leftUV; dest[5] = topUV;
-    
+
     dest[6] = right; dest[7] = top; dest[8] = 0.0f;
     ((unsigned&)dest[9]) = color_;
     dest[10] = rightUV; dest[11] = topUV;
-    
+
     dest[12] = left; dest[13] = bottom; dest[14] = 0.0f;
     ((unsigned&)dest[15]) = color_;
     dest[16] = leftUV; dest[17] = bottomUV;
-    
+
     dest[18] = right; dest[19] = top; dest[20] = 0.0f;
     ((unsigned&)dest[21]) = color_;
     dest[22] = rightUV; dest[23] = topUV;
-    
+
     dest[24] = right; dest[25] = bottom; dest[26] = 0.0f;
     ((unsigned&)dest[27]) = color_;
     dest[28] = rightUV; dest[29] = bottomUV;
@@ -133,12 +134,12 @@ void UIBatch::AddQuad(const Matrix3x4& transform, int x, int y, int width, int h
     Vector3 v2 = (transform * Vector3((float)x + (float)width, (float)y, 0.0f)) - posAdjustVec;
     Vector3 v3 = (transform * Vector3((float)x, (float)y + (float)height, 0.0f)) - posAdjustVec;
     Vector3 v4 = (transform * Vector3((float)x + (float)width, (float)y + (float)height, 0.0f)) - posAdjustVec;
-    
+
     float leftUV = ((float)texOffsetX) * invTextureSize_.x_;
     float topUV = ((float)texOffsetY) * invTextureSize_.y_;
     float rightUV = ((float)(texOffsetX + (texWidth ? texWidth : width))) * invTextureSize_.x_;
     float bottomUV = ((float)(texOffsetY + (texHeight ? texHeight : height))) * invTextureSize_.y_;
-    
+
     unsigned begin = vertexData_->Size();
     vertexData_->Resize(begin + 6 * UI_VERTEX_SIZE);
     float* dest = &(vertexData_->At(begin));
@@ -147,19 +148,19 @@ void UIBatch::AddQuad(const Matrix3x4& transform, int x, int y, int width, int h
     dest[0] = v1.x_; dest[1] = v1.y_; dest[2] = 0.0f;
     ((unsigned&)dest[3]) = color_;
     dest[4] = leftUV; dest[5] = topUV;
-    
+
     dest[6] = v2.x_; dest[7] = v2.y_; dest[8] = 0.0f;
     ((unsigned&)dest[9]) = color_;
     dest[10] = rightUV; dest[11] = topUV;
-    
+
     dest[12] = v3.x_; dest[13] = v3.y_; dest[14] = 0.0f;
     ((unsigned&)dest[15]) = color_;
     dest[16] = leftUV; dest[17] = bottomUV;
-    
+
     dest[18] = v2.x_; dest[19] = v2.y_; dest[20] = 0.0f;
     ((unsigned&)dest[21]) = color_;
     dest[22] = rightUV; dest[23] = topUV;
-    
+
     dest[24] = v4.x_; dest[25] = v4.y_; dest[26] = 0.0f;
     ((unsigned&)dest[27]) = color_;
     dest[28] = rightUV; dest[29] = bottomUV;
@@ -177,26 +178,26 @@ void UIBatch::AddQuad(int x, int y, int width, int height, int texOffsetX, int t
         AddQuad(x, y, width, height, texOffsetX, texOffsetY, texWidth, texHeight);
         return;
     }
-    
+
     int tileX = 0;
     int tileY = 0;
     int tileW = 0;
     int tileH = 0;
-    
+
     while (tileY < height)
     {
         tileX = 0;
         tileH = Min(height - tileY, texHeight);
-        
+
         while (tileX < width)
         {
             tileW = Min(width - tileX, texWidth);
-            
+
             AddQuad(x + tileX, y + tileY, tileW, tileH, texOffsetX, texOffsetY, tileW, tileH);
-            
+
             tileX += tileW;
         }
-        
+
         tileY += tileH;
     }
 }
@@ -209,7 +210,7 @@ bool UIBatch::Merge(const UIBatch& batch)
         batch.vertexData_ != vertexData_ ||
         batch.vertexStart_ != vertexEnd_)
         return false;
-    
+
     vertexEnd_ = batch.vertexEnd_;
     return true;
 }
@@ -218,10 +219,10 @@ void UIBatch::AddOrMerge(const UIBatch& batch, PODVector<UIBatch>& batches)
 {
     if (batch.vertexEnd_ == batch.vertexStart_)
         return;
-    
+
     if (!batches.Empty() && batches.Back().Merge(batch))
         return;
-    
+
     batches.Push(batch);
 }
 

+ 4 - 3
Source/Atomic/UI/UIBatch.h

@@ -1,5 +1,6 @@
 //
 // Copyright (c) 2008-2014 the Urho3D project.
+// Copyright (c) 2014-2015, THUNDERBEAST GAMES LLC All rights reserved
 //
 // Permission is hereby granted, free of charge, to any person obtaining a copy
 // of this software and associated documentation files (the "Software"), to deal
@@ -44,7 +45,7 @@ public:
     UIBatch();
     /// Construct.
     UIBatch(BlendMode blendMode, const IntRect& scissor, Texture* texture, PODVector<float>* vertexData);
-    
+
     /// Set new color for the batch. Overrides gradient.
     void SetColor(const Color& color, bool overrideAlpha = false);
     /// Restore UI element's default color.
@@ -57,10 +58,10 @@ public:
     void AddQuad(int x, int y, int width, int height, int texOffsetX, int texOffsetY, int texWidth, int texHeight, bool tiled);
     /// Merge with another batch.
     bool Merge(const UIBatch& batch);
-    
+
     /// Add or merge a batch.
     static void AddOrMerge(const UIBatch& batch, PODVector<UIBatch>& batches);
-    
+
     /// Blending mode.
     BlendMode blendMode_;
     /// Scissor rectangle.

+ 23 - 2
Source/Atomic/UI/UIButton.cpp

@@ -1,3 +1,24 @@
+//
+// Copyright (c) 2014-2015, THUNDERBEAST GAMES LLC All rights reserved
+//
+// 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.
+//
 
 #include <TurboBadger/tb_widgets.h>
 #include <TurboBadger/tb_widgets_common.h>
@@ -39,10 +60,10 @@ void UIButton::SetSqueezable(bool value)
 
 bool UIButton::OnEvent(const tb::TBWidgetEvent &ev)
 {
-    if (ev.type == EVENT_TYPE_CLICK) 
+    if (ev.type == EVENT_TYPE_CLICK)
 	{
         String text = GetText();
-        if (text.StartsWith("http://") || text.StartsWith("https://")) 
+        if (text.StartsWith("http://") || text.StartsWith("https://"))
 		{
             FileSystem* fileSystem = GetSubsystem<FileSystem>();
             fileSystem->SystemOpen(text);

+ 21 - 0
Source/Atomic/UI/UIButton.h

@@ -1,3 +1,24 @@
+//
+// Copyright (c) 2014-2015, THUNDERBEAST GAMES LLC All rights reserved
+//
+// 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.
+//
 
 #pragma once
 

+ 21 - 0
Source/Atomic/UI/UICheckBox.cpp

@@ -1,3 +1,24 @@
+//
+// Copyright (c) 2014-2015, THUNDERBEAST GAMES LLC All rights reserved
+//
+// 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.
+//
 
 #include <TurboBadger/tb_widgets.h>
 #include <TurboBadger/tb_widgets_common.h>

+ 21 - 0
Source/Atomic/UI/UICheckBox.h

@@ -1,3 +1,24 @@
+//
+// Copyright (c) 2014-2015, THUNDERBEAST GAMES LLC All rights reserved
+//
+// 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.
+//
 
 #pragma once
 

+ 21 - 0
Source/Atomic/UI/UIClickLabel.cpp

@@ -1,3 +1,24 @@
+//
+// Copyright (c) 2014-2015, THUNDERBEAST GAMES LLC All rights reserved
+//
+// 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.
+//
 
 #include <TurboBadger/tb_widgets.h>
 #include <TurboBadger/tb_widgets_common.h>

+ 21 - 0
Source/Atomic/UI/UIClickLabel.h

@@ -1,3 +1,24 @@
+//
+// Copyright (c) 2014-2015, THUNDERBEAST GAMES LLC All rights reserved
+//
+// 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.
+//
 
 #pragma once
 

+ 21 - 0
Source/Atomic/UI/UIContainer.cpp

@@ -1,3 +1,24 @@
+//
+// Copyright (c) 2014-2015, THUNDERBEAST GAMES LLC All rights reserved
+//
+// 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.
+//
 
 #include <TurboBadger/tb_widgets.h>
 #include <TurboBadger/tb_widgets_common.h>

Nem az összes módosított fájl került megjelenítésre, mert túl sok fájl változott