Add LICENSE and NOTICE, fix contact address, adds ShaderC and Slang to README

This commit is contained in:
Steven Brown 2026-10-15 16:31:54 +13:00 • committed by Benoit Fouletier
commit 6c3cc4ae74
4 changed files with 90 additions and 26 deletions

View file

@ -65,7 +65,7 @@ You don't need to contribute to use BRUTAL. It's free, including for commercial
- **2.2:** the BRUTAL logo from [ahwoo.com/brutal-branding](https://ahwoo.com/brutal-branding) shown before gameplay starts
- **2.3:** `NOTICE.txt` shipped alongside your game
For a logo waiver (for example non-profit projects, or where the logo would get in the way of the product's purpose) or a separate commercial licence, contact Ahwoo at **[CONTACT ADDRESS]**.
For a logo waiver (for example non-profit projects, or where the logo would get in the way of the product's purpose) or a separate commercial licence, contact Ahwoo at **brutal@ahwoo.com**.
## Code of Conduct

56
LICENSE.txt Normal file
View file

@ -0,0 +1,56 @@
BRUTAL License v1.0
BRUTAL game development framework is Copyright (c) 2024 Ahwoo Limited.
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:
1.0. The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
2.0. Any game, application, or other software product that is distributed to
end users and that incorporates, links to, or is built using the Software or
substantial portion of it (a “Product”) is subject to the following
conditions:
2.1. The above copyright notice shall be included in the Credits screen or
equivalent for all copies of the Product.
2.2. The Brutal logo available from ahwoo.com/brutal-branding shall be
displayed in all copies of the Product prior to commencement of gameplay or the
Software’s primary function, unless permission has been granted in writing by
Ahwoo Limited or the Product is not capable of displaying graphics. The logo
shall be shown unaltered except for scaling, for long enough to be legible, and
shall be no less prominent than logos for other parties.
2.3. The NOTICE.txt file shall be distributed alongside all copies of the
Product.
3.0. 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.
4.0. Where this package redistributes third-party components, they are listed,
together with the licences that govern them, in the LICENSES/ directory at the
root of this package. Those licences continue to apply to those components, and
nothing stated here limits any right they grant you.
5.0. Any person submitting any contribution to the Software, hereby grants
Ahwoo Limited and all recipients of this Software a perpetual, worldwide,
non-exclusive, no-charge, royalty-free, irrevocable license to include the
contribution in the Software and use it under the terms of this license. Any
person submitting any contribution represents that they are legally entitled to
grant this license and that their contribution does not infringe upon any
third-party rights.
6.0. This Agreement is governed by and shall be construed in accordance with
the laws of New Zealand, and the parties submit to the exclusive jurisdiction
of the courts of New Zealand.

5
NOTICE.txt Normal file
View file

@ -0,0 +1,5 @@
BRUTAL game development framework is Copyright (c) 2024 Ahwoo Limited.
This product is built with BRUTAL, a game development framework by Ahwoo Limited, used under the BRUTAL License v1.0.
www.ahwoo.com/brutal

View file

@ -52,30 +52,31 @@ Each top-level folder in this repository is one library, published as a NuGet pa
| Library | What it is |
| --- | --- |
| `brutal.core` | Base types, attributes, platform detection, pointer helpers, Roslyn analyzers |
| `brutal.interop` | The custom interop layer that gives C# direct access to native APIs |
| `brutal.memory` | Unmanaged memory management and allocators |
| `brutal.collections` | Collections that don't allocate |
| `brutal.strings` | String building and handling without allocation |
| `brutal.maths`, `brutal.numerics` | Vector, matrix and numeric types |
| `brutal.concurrency` | Job system and threading |
| `brutal.logging` | Logging |
| `brutal.localization` | Localization |
| `brutal.vulkan` | Vulkan bindings, abstractions and the Vulkan Memory Allocator |
| `brutal.opengl` | OpenGL bindings |
| `brutal.glfw`, `brutal.sdl` | Windowing and input |
| `brutal.imgui` | Dear ImGui and ImPlot bindings, docking branch |
| `brutal.render` | Mesh utilities |
| `brutal.texture`, `brutal.ktx`, `brutal.gli`, `brutal.stb` | Texture loading, KTX and compressed formats, image decoding |
| `brutal.gltf`, `brutal.meshoptimizer` | glTF loading and mesh optimisation |
| `brutal.freetype` | Font rasterisation |
| `brutal.fmod`, `brutal.openal` | Audio |
| `brutal.raknet` | Networking |
| `brutal.jolt`, `brutal.box2d` | 3D and 2D physics |
| `brutal.monitor`, `brutal.renderdoc` | Runtime monitoring and RenderDoc capture integration |
| `brutal.nativefiledialog`, `brutal.notcurses`, `brutal.zlib` | Native file dialogs, terminal UI, compression |
| `Brutal.Core` | Base types, attributes, platform detection, pointer helpers, Roslyn analyzers |
| `Brutal.Interop` | The custom interop layer that gives C# direct access to native APIs |
| `Brutal.Memory` | Unmanaged memory management and allocators |
| `Brutal.Collections` | Collections that don't allocate |
| `Brutal.Strings` | String building and handling without allocation |
| `Brutal.Maths`, `Brutal.Numerics` | Vector, matrix and numeric types |
| `Brutal.Concurrency` | Job system and threading |
| `Brutal.Logging` | Logging |
| `Brutal.Localization` | Localization |
| `Brutal.Vulkan`, `Brutal.Vulkan.Abstractions`, `Brutal.Vulkan.Vma` | Vulkan bindings, abstractions and the Vulkan Memory Allocator |
| `Brutal.OpenGl` | OpenGL bindings |
| `Brutal.ShaderC`, `Brutal.Slang` | Shader compilation |
| `Brutal.Glfw`, `Brutal.Sdl`, `Brutal.Sdl.Image`, `Brutal.Sdl.Mixer`, `Brutal.Sdl.Ttf` | Windowing and input, with SDL's image, audio mixing and font add-ons |
| `Brutal.ImGui`, `Brutal.ImGui.*`, `Brutal.ImPlot` | Dear ImGui and ImPlot bindings, docking branch |
| `Brutal.Render.Mesh` | Mesh utilities |
| `Brutal.Texture`, `Brutal.Texture.Abstractions`, `Brutal.Ktx`, `Brutal.Gli`, `Brutal.Stb` | Texture loading, KTX and compressed formats, image decoding |
| `Brutal.Gltf`, `Brutal.MeshOptimizer` | glTF loading and mesh optimisation |
| `Brutal.FreeType` | Font rasterisation |
| `Brutal.Fmod`, `Brutal.OpenAl` | Audio |
| `Brutal.RakNet` | Networking |
| `Brutal.Jolt`, `Brutal.Box2D` | 3D and 2D physics |
| `Brutal.Monitor.Common`, `Brutal.Monitor.Host`, `Brutal.RenderDoc`, `Brutal.RenderDoc.ImGui` | Runtime monitoring and RenderDoc capture integration |
| `Brutal.NativeFileDialog`, `Brutal.NotCurses`, `Brutal.ZLib` | Native file dialogs, terminal UI, compression |
Third-party notices for each binding live in that library's `LICENSES` folder.
Third-party notices for each library live in its `LICENSES` folder, `Brutal.ImGui/LICENSES` say.
## Getting started
@ -152,7 +153,9 @@ The licence is based on MIT with an added attribution requirement. A game or pro
If you don't want to do that, we can arrange a separate commercial licence. We also waive the logo requirement for non-profit projects and where displaying it would be detrimental to the application's purpose.
BRUTAL is open source. There are already OSI-approved licences that allow graphical attribution. Ours is not yet OSI approved because we have not submitted it yet. We intend to, and to develop the licence with community feedback. See [LICENSE](LICENSE) for the full text.
BRUTAL is open source. There are already OSI-approved licences that allow graphical attribution. Ours is not yet OSI approved because we have not submitted it yet. We intend to, and to develop the licence with community feedback. See [LICENSE.txt](LICENSE.txt) for the full text.
Third-party components keep their own licences. Section 4.0 points at the `LICENSES` folder at the root of each NuGet package; in this repository, those notices are in the `LICENSES` folder of each library that redistributes them.
## Contributing