Prepare libraries

This commit is contained in:
Lubos Lenco
2020-05-07 13:56:28 +02:00
parent c3d6690790
commit c928f2c13e
80 changed files with 117 additions and 3 deletions
+7
View File
@@ -0,0 +1,7 @@
# The zlib/libpng License
This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.
Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:
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.
Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
This notice may not be removed or altered from any source distribution.
+3
View File
@@ -0,0 +1,3 @@
# formatlib
File format import and export.
+8
View File
@@ -0,0 +1,8 @@
// Global imports
#if (!macro)
import arm.Translator.tr;
using StringTools;
#end
+7
View File
@@ -0,0 +1,7 @@
# The zlib/libpng License
This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.
Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:
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.
Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
This notice may not be removed or altered from any source distribution.
+3
View File
@@ -0,0 +1,3 @@
# geomlib
Procedural geometry generator.
+8
View File
@@ -0,0 +1,8 @@
// Global imports
#if (!macro)
import arm.Translator.tr;
using StringTools;
#end
+7
View File
@@ -0,0 +1,7 @@
# The zlib/libpng License
This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.
Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:
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.
Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
This notice may not be removed or altered from any source distribution.
+3
View File
@@ -0,0 +1,3 @@
# nodelib
Nodes to shader compiler.
+8
View File
@@ -0,0 +1,8 @@
// Global imports
#if (!macro)
import arm.Translator.tr;
using StringTools;
#end
+7
View File
@@ -0,0 +1,7 @@
# The zlib/libpng License
This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.
Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:
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.
Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
This notice may not be removed or altered from any source distribution.
+3
View File
@@ -0,0 +1,3 @@
# shaderlib
Run-time shader cross-compiler, trading features for speed.
+8
View File
@@ -0,0 +1,8 @@
// Global imports
#if (!macro)
import arm.Translator.tr;
using StringTools;
#end
+7
View File
@@ -0,0 +1,7 @@
# The zlib/libpng License
This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.
Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:
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.
Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
This notice may not be removed or altered from any source distribution.
+3
View File
@@ -0,0 +1,3 @@
# syslib
System library for Kromx.
+8
View File
@@ -0,0 +1,8 @@
// Global imports
#if (!macro)
import arm.Translator.tr;
using StringTools;
#end

Before

Width:  |  Height:  |  Size: 70 KiB

After

Width:  |  Height:  |  Size: 70 KiB

Before

Width:  |  Height:  |  Size: 129 KiB

After

Width:  |  Height:  |  Size: 129 KiB

Before

Width:  |  Height:  |  Size: 64 KiB

After

Width:  |  Height:  |  Size: 64 KiB

+7
View File
@@ -0,0 +1,7 @@
# The zlib/libpng License
This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.
Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:
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.
Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
This notice may not be removed or altered from any source distribution.
+3
View File
@@ -0,0 +1,3 @@
# xenon
Real-time path-tracing renderer, trading accuracy for speed.
+8
View File
@@ -0,0 +1,8 @@
// Global imports
#if (!macro)
import arm.Translator.tr;
using StringTools;
#end
+1 -1
View File
@@ -36,8 +36,8 @@ strip Krom
node Kromx/make -g opengl
cd Kromx
node Kinc/make -g opengl
# Open generated Xcode project
# Copy contents of `path/to/armorpaint/build/krom` to `path/to/armorpaint/Kromx/Deployment`
# Open generated Xcode project
# Add `path/to/armorpaint/Kromx/v8/libraries/macos/release` into `Project - Krom - Build Settings - Search Paths - Library Search Paths`
# Build
```
+1 -1
View File
@@ -101,7 +101,7 @@ class Context {
public static var decalImage: Image = null;
public static var decalPreview = false;
public static var viewportMode = ViewLit;
#if (krom_android || krom_ios)
#if (krom_android || krom_ios || krom_darwin)
public static var renderMode = RenderForward;
#else
public static var renderMode = RenderDeferred;
+7 -1
View File
@@ -10,6 +10,11 @@ let project = new Project("ArmorPaint");
project.addSources("Sources");
project.addLibrary("iron");
project.addLibrary("zui");
project.addLibrary("syslib");
project.addLibrary("formatlib");
project.addLibrary("geomlib");
project.addLibrary("nodelib");
project.addLibrary("shaderlib");
project.addShaders("Shaders/common/*.glsl", { noembed: false});
project.addAssets("Assets/common/*", { notinlist: true, destination: "data/{name}" });
project.addAssets("Assets/fonts/*", { notinlist: true, destination: "data/{name}" });
@@ -59,7 +64,8 @@ else {
project.addAssets("Assets/readme/readme.txt", { notinlist: true, destination: "{name}" });
if (raytrace) {
project.addAssets("Assets/raytrace/*", { notinlist: true, destination: "data/{name}" });
project.addLibrary("xenon");
project.addAssets("Libraries/xenon/Assets/*", { notinlist: true, destination: "data/{name}" });
project.addAssets("Shaders/raytrace/*.cso", { notinlist: true, destination: "data/{name}" });
project.addAssets("Assets/readme/readme_dxr.txt", { notinlist: true, destination: "{name}" });
}