From 408087684b6a0e01be1b0db111744b6853af8950 Mon Sep 17 00:00:00 2001 From: Friedrich von Never Date: Fri, 16 Aug 2024 00:27:52 +0200 Subject: [PATCH] Licences: REUSE compliance in the whole project --- .config/dotnet-tools.json.license | 3 + .editorconfig | 4 + .github/workflows/main.yml | 4 + .gitignore | 4 + CODE_OF_CONDUCT.md | 5 + CONTRIBUTING.md | 6 + LICENSES/CC-BY-4.0.txt | 156 ++++++++++++++++++ LICENSES/MIT.txt | 9 + LICENSES/OFL-1.1.txt | 43 +++++ LICENSES/WTFPL.txt | 11 ++ O21.CommandLine.Tests/MockConsole.fs | 4 + .../O21.CommandLine.Tests.fsproj | 6 + O21.CommandLine.Tests/Tests.fs | 4 + O21.CommandLine/Arguments.fs | 4 + O21.CommandLine/CommandLineParser.fs | 4 + O21.CommandLine/IConsole.fs | 4 + O21.CommandLine/O21.CommandLine.fsproj | 6 + O21.Game/Artwork/submarine.svg | 6 +- O21.Game/Controls.fs | 4 + O21.Game/Downloader.fs | 4 + O21.Game/DrawSceneHelper.fs | 4 + O21.Game/Engine/Entities.fs | 4 + O21.Game/Engine/ExternalEffect.fs | 4 + O21.Game/Engine/GameEngine.fs | 4 + O21.Game/Engine/GameField.fs | 4 + O21.Game/Engine/GameRules.fs | 4 + O21.Game/Engine/ParticlesSource.fs | 4 + O21.Game/Engine/PlayerCommand.fs | 4 + O21.Game/Game.fs | 4 + O21.Game/GeometryUtils.fs | 4 + O21.Game/HUD.fs | 4 + O21.Game/HUDRenderer.fs | 4 + O21.Game/Help/DocumentFragments.fs | 4 + O21.Game/Help/HlpFile.fs | 4 + O21.Game/Help/MarkdownHelp.fs | 4 + O21.Game/Input.fs | 4 + O21.Game/Loader.fs | 4 + O21.Game/Loading/DisclaimerScene.fs | 4 + O21.Game/Loading/DownloadScene.fs | 4 + O21.Game/Loading/LoadingLoop.fs | 4 + O21.Game/Loading/LoadingScene.fs | 4 + O21.Game/Loading/LoadingSceneBase.fs | 4 + O21.Game/Loading/PreloadingScene.fs | 4 + O21.Game/LocalContent.fs | 4 + O21.Game/Localization/Help/english.md | 6 + O21.Game/Localization/Help/ukrainian.md | 6 + O21.Game/Localization/Translations.fs | 4 + .../Translations/english.json.license | 3 + .../Translations/russian.json.license | 3 + .../Translations/ukrainian.json.license | 3 + O21.Game/Music.fs | 4 + O21.Game/O21.Game.fsproj | 10 +- O21.Game/Paths.fs | 4 + O21.Game/Program.fs | 6 +- O21.Game/QueueSynchronizationContext.fs | 4 + O21.Game/RaylibEnvironment.fs | 4 + O21.Game/RaylibUtils.fs | 4 + .../Resources/Fonts/Inter-Bold.otf.license | 3 + .../Resources/Fonts/Inter-Regular.otf.license | 3 + O21.Game/Resources/Fonts/LICENSE.txt | 94 ----------- O21.Game/Resources/Fonts/README.md | 6 + O21.Game/Resources/SoundFont/README.md | 19 --- .../Resources/SoundFont/microgm.sf2.license | 3 + O21.Game/Scenes/Button.fs | 4 + O21.Game/Scenes/GameOverScene.fs | 4 + O21.Game/Scenes/HelpScene.fs | 4 + O21.Game/Scenes/MainMenuScene.fs | 4 + O21.Game/Scenes/MinimizeButton.fs | 4 + O21.Game/Scenes/PlayScene.fs | 4 + O21.Game/Scenes/WindowRenderer.fs | 4 + O21.Game/State.fs | 4 + O21.Game/Svg.props | 6 + O21.Game/SystemConsole.fs | 4 + O21.Game/TextureUtils.fs | 4 + O21.Game/U95/Background.fs | 4 + O21.Game/U95/BonusSprites.fs | 4 + O21.Game/U95/Fish.fs | 4 + O21.Game/U95/HUDSprites.fs | 4 + O21.Game/U95/Level.fs | 4 + O21.Game/U95/NeExeFile.fs | 4 + O21.Game/U95/Parser.fs | 4 + O21.Game/U95/Sound.fs | 4 + O21.Game/U95/Sprites.fs | 4 + O21.Game/U95/U95Data.fs | 4 + O21.Game/WindowParameters.fs | 4 + O21.Game/content.json.license | 3 + O21.Tests/GameEngineTests.fs | 5 +- O21.Tests/GeometryUtilsTests.fs | 4 + O21.Tests/O21.Tests.fsproj | 6 + O21.sln | 8 + O21.sln.license | 3 + README.md | 10 +- REUSE.toml | 20 +++ Scripts/Verify-Translations.ps1 | 4 + docs/resources.md | 6 + 95 files changed, 612 insertions(+), 123 deletions(-) create mode 100644 .config/dotnet-tools.json.license create mode 100644 LICENSES/CC-BY-4.0.txt create mode 100644 LICENSES/MIT.txt create mode 100644 LICENSES/OFL-1.1.txt create mode 100644 LICENSES/WTFPL.txt create mode 100644 O21.Game/Localization/Translations/english.json.license create mode 100644 O21.Game/Localization/Translations/russian.json.license create mode 100644 O21.Game/Localization/Translations/ukrainian.json.license create mode 100644 O21.Game/Resources/Fonts/Inter-Bold.otf.license create mode 100644 O21.Game/Resources/Fonts/Inter-Regular.otf.license delete mode 100644 O21.Game/Resources/Fonts/LICENSE.txt delete mode 100644 O21.Game/Resources/SoundFont/README.md create mode 100644 O21.Game/Resources/SoundFont/microgm.sf2.license create mode 100644 O21.Game/content.json.license create mode 100644 O21.sln.license create mode 100644 REUSE.toml diff --git a/.config/dotnet-tools.json.license b/.config/dotnet-tools.json.license new file mode 100644 index 0000000..2c34ddb --- /dev/null +++ b/.config/dotnet-tools.json.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: 2024 O21 contributors + +SPDX-License-Identifier: MIT diff --git a/.editorconfig b/.editorconfig index 8acdb6f..2cb3d9c 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2024 O21 contributors +# +# SPDX-License-Identifier: MIT + root = true [*] diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9d90c07..5ab47ec 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2024 O21 contributors +# +# SPDX-License-Identifier: MIT + name: Main on: push: diff --git a/.gitignore b/.gitignore index b2eca04..9a3d779 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2024 O21 contributors +# +# SPDX-License-Identifier: MIT + /.idea/ bin/ diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index 6ffe85d..44f64ae 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -1,3 +1,8 @@ + # Contributor Covenant Code of Conduct diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index af5f1a8..ab276ce 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,3 +1,9 @@ + + O21 Contributor Guide ===================== diff --git a/LICENSES/CC-BY-4.0.txt b/LICENSES/CC-BY-4.0.txt new file mode 100644 index 0000000..13ca539 --- /dev/null +++ b/LICENSES/CC-BY-4.0.txt @@ -0,0 +1,156 @@ +Creative Commons Attribution 4.0 International + + Creative Commons Corporation (“Creative Commons”) is not a law firm and does not provide legal services or legal advice. Distribution of Creative Commons public licenses does not create a lawyer-client or other relationship. Creative Commons makes its licenses and related information available on an “as-is” basis. Creative Commons gives no warranties regarding its licenses, any material licensed under their terms and conditions, or any related information. Creative Commons disclaims all liability for damages resulting from their use to the fullest extent possible. + +Using Creative Commons Public Licenses + +Creative Commons public licenses provide a standard set of terms and conditions that creators and other rights holders may use to share original works of authorship and other material subject to copyright and certain other rights specified in the public license below. The following considerations are for informational purposes only, are not exhaustive, and do not form part of our licenses. + +Considerations for licensors: Our public licenses are intended for use by those authorized to give the public permission to use material in ways otherwise restricted by copyright and certain other rights. Our licenses are irrevocable. Licensors should read and understand the terms and conditions of the license they choose before applying it. Licensors should also secure all rights necessary before applying our licenses so that the public can reuse the material as expected. Licensors should clearly mark any material not subject to the license. This includes other CC-licensed material, or material used under an exception or limitation to copyright. More considerations for licensors. + +Considerations for the public: By using one of our public licenses, a licensor grants the public permission to use the licensed material under specified terms and conditions. If the licensor’s permission is not necessary for any reason–for example, because of any applicable exception or limitation to copyright–then that use is not regulated by the license. Our licenses grant only permissions under copyright and certain other rights that a licensor has authority to grant. Use of the licensed material may still be restricted for other reasons, including because others have copyright or other rights in the material. A licensor may make special requests, such as asking that all changes be marked or described. Although not required by our licenses, you are encouraged to respect those requests where reasonable. More considerations for the public. + +Creative Commons Attribution 4.0 International Public License + +By exercising the Licensed Rights (defined below), You accept and agree to be bound by the terms and conditions of this Creative Commons Attribution 4.0 International Public License ("Public License"). To the extent this Public License may be interpreted as a contract, You are granted the Licensed Rights in consideration of Your acceptance of these terms and conditions, and the Licensor grants You such rights in consideration of benefits the Licensor receives from making the Licensed Material available under these terms and conditions. + +Section 1 – Definitions. + + a. Adapted Material means material subject to Copyright and Similar Rights that is derived from or based upon the Licensed Material and in which the Licensed Material is translated, altered, arranged, transformed, or otherwise modified in a manner requiring permission under the Copyright and Similar Rights held by the Licensor. For purposes of this Public License, where the Licensed Material is a musical work, performance, or sound recording, Adapted Material is always produced where the Licensed Material is synched in timed relation with a moving image. + + b. Adapter's License means the license You apply to Your Copyright and Similar Rights in Your contributions to Adapted Material in accordance with the terms and conditions of this Public License. + + c. Copyright and Similar Rights means copyright and/or similar rights closely related to copyright including, without limitation, performance, broadcast, sound recording, and Sui Generis Database Rights, without regard to how the rights are labeled or categorized. For purposes of this Public License, the rights specified in Section 2(b)(1)-(2) are not Copyright and Similar Rights. + + d. Effective Technological Measures means those measures that, in the absence of proper authority, may not be circumvented under laws fulfilling obligations under Article 11 of the WIPO Copyright Treaty adopted on December 20, 1996, and/or similar international agreements. + + e. Exceptions and Limitations means fair use, fair dealing, and/or any other exception or limitation to Copyright and Similar Rights that applies to Your use of the Licensed Material. + + f. Licensed Material means the artistic or literary work, database, or other material to which the Licensor applied this Public License. + + g. Licensed Rights means the rights granted to You subject to the terms and conditions of this Public License, which are limited to all Copyright and Similar Rights that apply to Your use of the Licensed Material and that the Licensor has authority to license. + + h. Licensor means the individual(s) or entity(ies) granting rights under this Public License. + + i. Share means to provide material to the public by any means or process that requires permission under the Licensed Rights, such as reproduction, public display, public performance, distribution, dissemination, communication, or importation, and to make material available to the public including in ways that members of the public may access the material from a place and at a time individually chosen by them. + + j. Sui Generis Database Rights means rights other than copyright resulting from Directive 96/9/EC of the European Parliament and of the Council of 11 March 1996 on the legal protection of databases, as amended and/or succeeded, as well as other essentially equivalent rights anywhere in the world. + + k. You means the individual or entity exercising the Licensed Rights under this Public License. Your has a corresponding meaning. + +Section 2 – Scope. + + a. License grant. + + 1. Subject to the terms and conditions of this Public License, the Licensor hereby grants You a worldwide, royalty-free, non-sublicensable, non-exclusive, irrevocable license to exercise the Licensed Rights in the Licensed Material to: + + A. reproduce and Share the Licensed Material, in whole or in part; and + + B. produce, reproduce, and Share Adapted Material. + + 2. Exceptions and Limitations. For the avoidance of doubt, where Exceptions and Limitations apply to Your use, this Public License does not apply, and You do not need to comply with its terms and conditions. + + 3. Term. The term of this Public License is specified in Section 6(a). + + 4. Media and formats; technical modifications allowed. The Licensor authorizes You to exercise the Licensed Rights in all media and formats whether now known or hereafter created, and to make technical modifications necessary to do so. The Licensor waives and/or agrees not to assert any right or authority to forbid You from making technical modifications necessary to exercise the Licensed Rights, including technical modifications necessary to circumvent Effective Technological Measures. For purposes of this Public License, simply making modifications authorized by this Section 2(a)(4) never produces Adapted Material. + + 5. Downstream recipients. + + A. Offer from the Licensor – Licensed Material. Every recipient of the Licensed Material automatically receives an offer from the Licensor to exercise the Licensed Rights under the terms and conditions of this Public License. + + B. No downstream restrictions. You may not offer or impose any additional or different terms or conditions on, or apply any Effective Technological Measures to, the Licensed Material if doing so restricts exercise of the Licensed Rights by any recipient of the Licensed Material. + + 6. No endorsement. Nothing in this Public License constitutes or may be construed as permission to assert or imply that You are, or that Your use of the Licensed Material is, connected with, or sponsored, endorsed, or granted official status by, the Licensor or others designated to receive attribution as provided in Section 3(a)(1)(A)(i). + +b. Other rights. + + 1. Moral rights, such as the right of integrity, are not licensed under this Public License, nor are publicity, privacy, and/or other similar personality rights; however, to the extent possible, the Licensor waives and/or agrees not to assert any such rights held by the Licensor to the limited extent necessary to allow You to exercise the Licensed Rights, but not otherwise. + + 2. Patent and trademark rights are not licensed under this Public License. + + 3. To the extent possible, the Licensor waives any right to collect royalties from You for the exercise of the Licensed Rights, whether directly or through a collecting society under any voluntary or waivable statutory or compulsory licensing scheme. In all other cases the Licensor expressly reserves any right to collect such royalties. + +Section 3 – License Conditions. + +Your exercise of the Licensed Rights is expressly made subject to the following conditions. + + a. Attribution. + + 1. If You Share the Licensed Material (including in modified form), You must: + + A. retain the following if it is supplied by the Licensor with the Licensed Material: + + i. identification of the creator(s) of the Licensed Material and any others designated to receive attribution, in any reasonable manner requested by the Licensor (including by pseudonym if designated); + + ii. a copyright notice; + + iii. a notice that refers to this Public License; + + iv. a notice that refers to the disclaimer of warranties; + + v. a URI or hyperlink to the Licensed Material to the extent reasonably practicable; + + B. indicate if You modified the Licensed Material and retain an indication of any previous modifications; and + + C. indicate the Licensed Material is licensed under this Public License, and include the text of, or the URI or hyperlink to, this Public License. + + 2. You may satisfy the conditions in Section 3(a)(1) in any reasonable manner based on the medium, means, and context in which You Share the Licensed Material. For example, it may be reasonable to satisfy the conditions by providing a URI or hyperlink to a resource that includes the required information. + + 3. If requested by the Licensor, You must remove any of the information required by Section 3(a)(1)(A) to the extent reasonably practicable. + + 4. If You Share Adapted Material You produce, the Adapter's License You apply must not prevent recipients of the Adapted Material from complying with this Public License. + +Section 4 – Sui Generis Database Rights. + +Where the Licensed Rights include Sui Generis Database Rights that apply to Your use of the Licensed Material: + + a. for the avoidance of doubt, Section 2(a)(1) grants You the right to extract, reuse, reproduce, and Share all or a substantial portion of the contents of the database; + + b. if You include all or a substantial portion of the database contents in a database in which You have Sui Generis Database Rights, then the database in which You have Sui Generis Database Rights (but not its individual contents) is Adapted Material; and + + c. You must comply with the conditions in Section 3(a) if You Share all or a substantial portion of the contents of the database. +For the avoidance of doubt, this Section 4 supplements and does not replace Your obligations under this Public License where the Licensed Rights include other Copyright and Similar Rights. + +Section 5 – Disclaimer of Warranties and Limitation of Liability. + + a. Unless otherwise separately undertaken by the Licensor, to the extent possible, the Licensor offers the Licensed Material as-is and as-available, and makes no representations or warranties of any kind concerning the Licensed Material, whether express, implied, statutory, or other. This includes, without limitation, warranties of title, merchantability, fitness for a particular purpose, non-infringement, absence of latent or other defects, accuracy, or the presence or absence of errors, whether or not known or discoverable. Where disclaimers of warranties are not allowed in full or in part, this disclaimer may not apply to You. + + b. To the extent possible, in no event will the Licensor be liable to You on any legal theory (including, without limitation, negligence) or otherwise for any direct, special, indirect, incidental, consequential, punitive, exemplary, or other losses, costs, expenses, or damages arising out of this Public License or use of the Licensed Material, even if the Licensor has been advised of the possibility of such losses, costs, expenses, or damages. Where a limitation of liability is not allowed in full or in part, this limitation may not apply to You. + + c. The disclaimer of warranties and limitation of liability provided above shall be interpreted in a manner that, to the extent possible, most closely approximates an absolute disclaimer and waiver of all liability. + +Section 6 – Term and Termination. + + a. This Public License applies for the term of the Copyright and Similar Rights licensed here. However, if You fail to comply with this Public License, then Your rights under this Public License terminate automatically. + + b. Where Your right to use the Licensed Material has terminated under Section 6(a), it reinstates: + + 1. automatically as of the date the violation is cured, provided it is cured within 30 days of Your discovery of the violation; or + + 2. upon express reinstatement by the Licensor. + + c. For the avoidance of doubt, this Section 6(b) does not affect any right the Licensor may have to seek remedies for Your violations of this Public License. + + d. For the avoidance of doubt, the Licensor may also offer the Licensed Material under separate terms or conditions or stop distributing the Licensed Material at any time; however, doing so will not terminate this Public License. + + e. Sections 1, 5, 6, 7, and 8 survive termination of this Public License. + +Section 7 – Other Terms and Conditions. + + a. The Licensor shall not be bound by any additional or different terms or conditions communicated by You unless expressly agreed. + + b. Any arrangements, understandings, or agreements regarding the Licensed Material not stated herein are separate from and independent of the terms and conditions of this Public License. + +Section 8 – Interpretation. + + a. For the avoidance of doubt, this Public License does not, and shall not be interpreted to, reduce, limit, restrict, or impose conditions on any use of the Licensed Material that could lawfully be made without permission under this Public License. + + b. To the extent possible, if any provision of this Public License is deemed unenforceable, it shall be automatically reformed to the minimum extent necessary to make it enforceable. If the provision cannot be reformed, it shall be severed from this Public License without affecting the enforceability of the remaining terms and conditions. + + c. No term or condition of this Public License will be waived and no failure to comply consented to unless expressly agreed to by the Licensor. + + d. Nothing in this Public License constitutes or may be interpreted as a limitation upon, or waiver of, any privileges and immunities that apply to the Licensor or You, including from the legal processes of any jurisdiction or authority. + +Creative Commons is not a party to its public licenses. Notwithstanding, Creative Commons may elect to apply one of its public licenses to material it publishes and in those instances will be considered the “Licensor.” Except for the limited purpose of indicating that material is shared under a Creative Commons public license or as otherwise permitted by the Creative Commons policies published at creativecommons.org/policies, Creative Commons does not authorize the use of the trademark “Creative Commons” or any other trademark or logo of Creative Commons without its prior written consent including, without limitation, in connection with any unauthorized modifications to any of its public licenses or any other arrangements, understandings, or agreements concerning use of licensed material. For the avoidance of doubt, this paragraph does not form part of the public licenses. + +Creative Commons may be contacted at creativecommons.org. diff --git a/LICENSES/MIT.txt b/LICENSES/MIT.txt new file mode 100644 index 0000000..2071b23 --- /dev/null +++ b/LICENSES/MIT.txt @@ -0,0 +1,9 @@ +MIT License + +Copyright (c) + +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. diff --git a/LICENSES/OFL-1.1.txt b/LICENSES/OFL-1.1.txt new file mode 100644 index 0000000..6fe84ee --- /dev/null +++ b/LICENSES/OFL-1.1.txt @@ -0,0 +1,43 @@ +SIL OPEN FONT LICENSE + +Version 1.1 - 26 February 2007 + +PREAMBLE + +The goals of the Open Font License (OFL) are to stimulate worldwide development of collaborative font projects, to support the font creation efforts of academic and linguistic communities, and to provide a free and open framework in which fonts may be shared and improved in partnership with others. + +The OFL allows the licensed fonts to be used, studied, modified and redistributed freely as long as they are not sold by themselves. The fonts, including any derivative works, can be bundled, embedded, redistributed and/or sold with any software provided that any reserved names are not used by derivative works. The fonts and derivatives, however, cannot be released under any other type of license. The requirement for fonts to remain under this license does not apply to any document created using the fonts or their derivatives. + +DEFINITIONS + +"Font Software" refers to the set of files released by the Copyright Holder(s) under this license and clearly marked as such. This may include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the copyright statement(s). + +"Original Version" refers to the collection of Font Software components as distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, or substituting — in part or in whole — any of the components of the Original Version, by changing formats or by porting the Font Software to a new environment. + +"Author" refers to any designer, engineer, programmer, technical writer or other person who contributed to the Font Software. + +PERMISSION & CONDITIONS + +Permission is hereby granted, free of charge, to any person obtaining a copy of the Font Software, to use, study, copy, merge, embed, modify, redistribute, and sell modified and unmodified copies of the Font Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, redistributed and/or sold with any software, provided that each copy contains the above copyright notice and this license. These can be included either as stand-alone text files, human-readable headers or in the appropriate machine-readable metadata fields within text or binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font Name(s) unless explicit written permission is granted by the corresponding Copyright Holder. This restriction only applies to the primary font name as presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font Software shall not be used to promote, endorse or advertise any Modified Version, except to acknowledge the contribution(s) of the Copyright Holder(s) and the Author(s) or with their explicit written permission. + +5) The Font Software, modified or unmodified, in part or in whole, must be distributed entirely under this license, and must not be distributed under any other license. The requirement for fonts to remain under this license does not apply to any document created using the Font Software. + +TERMINATION + +This license becomes null and void if any of the above conditions are not met. + +DISCLAIMER + +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/LICENSES/WTFPL.txt b/LICENSES/WTFPL.txt new file mode 100644 index 0000000..7a3094a --- /dev/null +++ b/LICENSES/WTFPL.txt @@ -0,0 +1,11 @@ +DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE +Version 2, December 2004 + +Copyright (C) 2004 Sam Hocevar + +Everyone is permitted to copy and distribute verbatim or modified copies of this license document, and changing it is allowed as long as the name is changed. + +DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE +TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. You just DO WHAT THE FUCK YOU WANT TO. diff --git a/O21.CommandLine.Tests/MockConsole.fs b/O21.CommandLine.Tests/MockConsole.fs index d3b9642..0e52ecf 100644 --- a/O21.CommandLine.Tests/MockConsole.fs +++ b/O21.CommandLine.Tests/MockConsole.fs @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 O21 contributors +// +// SPDX-License-Identifier: MIT + namespace O21.CommandLine.Tests open O21.CommandLine diff --git a/O21.CommandLine.Tests/O21.CommandLine.Tests.fsproj b/O21.CommandLine.Tests/O21.CommandLine.Tests.fsproj index 81ad110..16816e8 100644 --- a/O21.CommandLine.Tests/O21.CommandLine.Tests.fsproj +++ b/O21.CommandLine.Tests/O21.CommandLine.Tests.fsproj @@ -1,3 +1,9 @@ + + diff --git a/O21.CommandLine.Tests/Tests.fs b/O21.CommandLine.Tests/Tests.fs index ce384dc..4d259be 100644 --- a/O21.CommandLine.Tests/Tests.fs +++ b/O21.CommandLine.Tests/Tests.fs @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 O21 contributors +// +// SPDX-License-Identifier: MIT + module Tests open O21.CommandLine diff --git a/O21.CommandLine/Arguments.fs b/O21.CommandLine/Arguments.fs index c6b52d0..f309e68 100644 --- a/O21.CommandLine/Arguments.fs +++ b/O21.CommandLine/Arguments.fs @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 O21 contributors +// +// SPDX-License-Identifier: MIT + namespace O21.CommandLine open System.Collections.Generic diff --git a/O21.CommandLine/CommandLineParser.fs b/O21.CommandLine/CommandLineParser.fs index 16e805c..b31c997 100644 --- a/O21.CommandLine/CommandLineParser.fs +++ b/O21.CommandLine/CommandLineParser.fs @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 O21 contributors +// +// SPDX-License-Identifier: MIT + namespace O21.CommandLine open System diff --git a/O21.CommandLine/IConsole.fs b/O21.CommandLine/IConsole.fs index c6d6fb2..aff0db5 100644 --- a/O21.CommandLine/IConsole.fs +++ b/O21.CommandLine/IConsole.fs @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 O21 contributors +// +// SPDX-License-Identifier: MIT + namespace O21.CommandLine [] diff --git a/O21.CommandLine/O21.CommandLine.fsproj b/O21.CommandLine/O21.CommandLine.fsproj index f4e9ff4..f5568c0 100644 --- a/O21.CommandLine/O21.CommandLine.fsproj +++ b/O21.CommandLine/O21.CommandLine.fsproj @@ -1,3 +1,9 @@ + + diff --git a/O21.Game/Artwork/submarine.svg b/O21.Game/Artwork/submarine.svg index 68035a0..5687456 100644 --- a/O21.Game/Artwork/submarine.svg +++ b/O21.Game/Artwork/submarine.svg @@ -1,5 +1,9 @@ - + +// +// SPDX-License-Identifier: MIT + namespace O21.Game open O21.Game.Engine diff --git a/O21.Game/Downloader.fs b/O21.Game/Downloader.fs index b556790..a43725f 100644 --- a/O21.Game/Downloader.fs +++ b/O21.Game/Downloader.fs @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 O21 contributors +// +// SPDX-License-Identifier: MIT + module O21.Game.Downloader open System diff --git a/O21.Game/DrawSceneHelper.fs b/O21.Game/DrawSceneHelper.fs index 87e0755..6150b15 100644 --- a/O21.Game/DrawSceneHelper.fs +++ b/O21.Game/DrawSceneHelper.fs @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 O21 contributors +// +// SPDX-License-Identifier: MIT + namespace O21.Game open System.Numerics diff --git a/O21.Game/Engine/Entities.fs b/O21.Game/Engine/Entities.fs index eab7408..dd97501 100644 --- a/O21.Game/Engine/Entities.fs +++ b/O21.Game/Engine/Entities.fs @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 O21 contributors +// +// SPDX-License-Identifier: MIT + namespace O21.Game.Engine type Player = { diff --git a/O21.Game/Engine/ExternalEffect.fs b/O21.Game/Engine/ExternalEffect.fs index 2777793..d3fc78a 100644 --- a/O21.Game/Engine/ExternalEffect.fs +++ b/O21.Game/Engine/ExternalEffect.fs @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 O21 contributors +// +// SPDX-License-Identifier: MIT + namespace O21.Game.Engine open O21.Game.U95 diff --git a/O21.Game/Engine/GameEngine.fs b/O21.Game/Engine/GameEngine.fs index 7c03c26..e59bcbf 100644 --- a/O21.Game/Engine/GameEngine.fs +++ b/O21.Game/Engine/GameEngine.fs @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 O21 contributors +// +// SPDX-License-Identifier: MIT + namespace O21.Game.Engine open O21.Game.U95 diff --git a/O21.Game/Engine/GameField.fs b/O21.Game/Engine/GameField.fs index de92dba..8838297 100644 --- a/O21.Game/Engine/GameField.fs +++ b/O21.Game/Engine/GameField.fs @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 O21 contributors +// +// SPDX-License-Identifier: MIT + namespace O21.Game.Engine [] diff --git a/O21.Game/Engine/GameRules.fs b/O21.Game/Engine/GameRules.fs index e189722..63bf2ce 100644 --- a/O21.Game/Engine/GameRules.fs +++ b/O21.Game/Engine/GameRules.fs @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 O21 contributors +// +// SPDX-License-Identifier: MIT + module O21.Game.Engine.GameRules open System diff --git a/O21.Game/Engine/ParticlesSource.fs b/O21.Game/Engine/ParticlesSource.fs index 1125a37..eb644c1 100644 --- a/O21.Game/Engine/ParticlesSource.fs +++ b/O21.Game/Engine/ParticlesSource.fs @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 O21 contributors +// +// SPDX-License-Identifier: MIT + namespace O21.Game.Engine open System diff --git a/O21.Game/Engine/PlayerCommand.fs b/O21.Game/Engine/PlayerCommand.fs index 992ba25..56e7594 100644 --- a/O21.Game/Engine/PlayerCommand.fs +++ b/O21.Game/Engine/PlayerCommand.fs @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 O21 contributors +// +// SPDX-License-Identifier: MIT + namespace O21.Game.Engine [] diff --git a/O21.Game/Game.fs b/O21.Game/Game.fs index 1b35633..ab7c3fe 100644 --- a/O21.Game/Game.fs +++ b/O21.Game/Game.fs @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 O21 contributors +// +// SPDX-License-Identifier: MIT + namespace O21.Game open System diff --git a/O21.Game/GeometryUtils.fs b/O21.Game/GeometryUtils.fs index db8db90..ecff9fb 100644 --- a/O21.Game/GeometryUtils.fs +++ b/O21.Game/GeometryUtils.fs @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 O21 contributors +// +// SPDX-License-Identifier: MIT + module O21.Game.GeometryUtils open System diff --git a/O21.Game/HUD.fs b/O21.Game/HUD.fs index cc5efd8..707a2c8 100644 --- a/O21.Game/HUD.fs +++ b/O21.Game/HUD.fs @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 O21 contributors +// +// SPDX-License-Identifier: MIT + namespace O21.Game open type Raylib_CsLo.Raylib diff --git a/O21.Game/HUDRenderer.fs b/O21.Game/HUDRenderer.fs index 5f1d259..0c812db 100644 --- a/O21.Game/HUDRenderer.fs +++ b/O21.Game/HUDRenderer.fs @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 O21 contributors +// +// SPDX-License-Identifier: MIT + namespace O21.Game open Raylib_CsLo diff --git a/O21.Game/Help/DocumentFragments.fs b/O21.Game/Help/DocumentFragments.fs index bc014fb..ae6fa58 100644 --- a/O21.Game/Help/DocumentFragments.fs +++ b/O21.Game/Help/DocumentFragments.fs @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 O21 contributors +// +// SPDX-License-Identifier: MIT + namespace O21.Game.Help open Raylib_CsLo diff --git a/O21.Game/Help/HlpFile.fs b/O21.Game/Help/HlpFile.fs index 1aef974..6c1d5ff 100644 --- a/O21.Game/Help/HlpFile.fs +++ b/O21.Game/Help/HlpFile.fs @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 O21 contributors +// +// SPDX-License-Identifier: MIT + module O21.Game.Help.HlpFile open System.IO diff --git a/O21.Game/Help/MarkdownHelp.fs b/O21.Game/Help/MarkdownHelp.fs index 71a03f0..9d6dc7c 100644 --- a/O21.Game/Help/MarkdownHelp.fs +++ b/O21.Game/Help/MarkdownHelp.fs @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 O21 contributors +// +// SPDX-License-Identifier: MIT + module O21.Game.Help.MarkdownHelp open System diff --git a/O21.Game/Input.fs b/O21.Game/Input.fs index 071ff90..935af4f 100644 --- a/O21.Game/Input.fs +++ b/O21.Game/Input.fs @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 O21 contributors +// +// SPDX-License-Identifier: MIT + namespace O21.Game open System.Numerics diff --git a/O21.Game/Loader.fs b/O21.Game/Loader.fs index a5b9b20..c9bb294 100644 --- a/O21.Game/Loader.fs +++ b/O21.Game/Loader.fs @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 O21 contributors +// +// SPDX-License-Identifier: MIT + namespace O21.Game open System.Threading.Tasks diff --git a/O21.Game/Loading/DisclaimerScene.fs b/O21.Game/Loading/DisclaimerScene.fs index c49f4b9..ad3823c 100644 --- a/O21.Game/Loading/DisclaimerScene.fs +++ b/O21.Game/Loading/DisclaimerScene.fs @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 O21 contributors +// +// SPDX-License-Identifier: MIT + namespace O21.Game.Loading open System.Numerics diff --git a/O21.Game/Loading/DownloadScene.fs b/O21.Game/Loading/DownloadScene.fs index 8a83b5d..de4ae50 100644 --- a/O21.Game/Loading/DownloadScene.fs +++ b/O21.Game/Loading/DownloadScene.fs @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 O21 contributors +// +// SPDX-License-Identifier: MIT + namespace O21.Game.Loading open type Raylib_CsLo.Raylib diff --git a/O21.Game/Loading/LoadingLoop.fs b/O21.Game/Loading/LoadingLoop.fs index 1ec94fc..697b6b8 100644 --- a/O21.Game/Loading/LoadingLoop.fs +++ b/O21.Game/Loading/LoadingLoop.fs @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 O21 contributors +// +// SPDX-License-Identifier: MIT + module O21.Game.Loading.LoadingLoop open System diff --git a/O21.Game/Loading/LoadingScene.fs b/O21.Game/Loading/LoadingScene.fs index 7ac31a5..0e7c933 100644 --- a/O21.Game/Loading/LoadingScene.fs +++ b/O21.Game/Loading/LoadingScene.fs @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 O21 contributors +// +// SPDX-License-Identifier: MIT + namespace O21.Game.Loading open type Raylib_CsLo.Raylib diff --git a/O21.Game/Loading/LoadingSceneBase.fs b/O21.Game/Loading/LoadingSceneBase.fs index 50e1b0e..84354f0 100644 --- a/O21.Game/Loading/LoadingSceneBase.fs +++ b/O21.Game/Loading/LoadingSceneBase.fs @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 O21 contributors +// +// SPDX-License-Identifier: MIT + namespace O21.Game.Loading open System.Globalization diff --git a/O21.Game/Loading/PreloadingScene.fs b/O21.Game/Loading/PreloadingScene.fs index b3257d6..9ece210 100644 --- a/O21.Game/Loading/PreloadingScene.fs +++ b/O21.Game/Loading/PreloadingScene.fs @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 O21 contributors +// +// SPDX-License-Identifier: MIT + namespace O21.Game.Loading open type Raylib_CsLo.Raylib diff --git a/O21.Game/LocalContent.fs b/O21.Game/LocalContent.fs index bd5403e..82de8a0 100644 --- a/O21.Game/LocalContent.fs +++ b/O21.Game/LocalContent.fs @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 O21 contributors +// +// SPDX-License-Identifier: MIT + namespace O21.Game open System diff --git a/O21.Game/Localization/Help/english.md b/O21.Game/Localization/Help/english.md index 556ca18..c1a808a 100644 --- a/O21.Game/Localization/Help/english.md +++ b/O21.Game/Localization/Help/english.md @@ -1,3 +1,9 @@ + + # U-95 Programming: Anton Butsev diff --git a/O21.Game/Localization/Help/ukrainian.md b/O21.Game/Localization/Help/ukrainian.md index 60400f8..b665ed9 100644 --- a/O21.Game/Localization/Help/ukrainian.md +++ b/O21.Game/Localization/Help/ukrainian.md @@ -1,3 +1,9 @@ + + # U-95 Програмування: Антон Буцев diff --git a/O21.Game/Localization/Translations.fs b/O21.Game/Localization/Translations.fs index e6ec02c..df5dd11 100644 --- a/O21.Game/Localization/Translations.fs +++ b/O21.Game/Localization/Translations.fs @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 O21 contributors +// +// SPDX-License-Identifier: MIT + module O21.Game.Localization.Translations open System.IO diff --git a/O21.Game/Localization/Translations/english.json.license b/O21.Game/Localization/Translations/english.json.license new file mode 100644 index 0000000..2c34ddb --- /dev/null +++ b/O21.Game/Localization/Translations/english.json.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: 2024 O21 contributors + +SPDX-License-Identifier: MIT diff --git a/O21.Game/Localization/Translations/russian.json.license b/O21.Game/Localization/Translations/russian.json.license new file mode 100644 index 0000000..2c34ddb --- /dev/null +++ b/O21.Game/Localization/Translations/russian.json.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: 2024 O21 contributors + +SPDX-License-Identifier: MIT diff --git a/O21.Game/Localization/Translations/ukrainian.json.license b/O21.Game/Localization/Translations/ukrainian.json.license new file mode 100644 index 0000000..2c34ddb --- /dev/null +++ b/O21.Game/Localization/Translations/ukrainian.json.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: 2024 O21 contributors + +SPDX-License-Identifier: MIT diff --git a/O21.Game/Music.fs b/O21.Game/Music.fs index c2863d6..a1b0281 100644 --- a/O21.Game/Music.fs +++ b/O21.Game/Music.fs @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 O21 contributors +// +// SPDX-License-Identifier: MIT + module O21.Game.Music open System diff --git a/O21.Game/O21.Game.fsproj b/O21.Game/O21.Game.fsproj index 921d8db..73aa1ca 100644 --- a/O21.Game/O21.Game.fsproj +++ b/O21.Game/O21.Game.fsproj @@ -1,3 +1,9 @@ + + @@ -6,13 +12,13 @@ + + - - diff --git a/O21.Game/Paths.fs b/O21.Game/Paths.fs index c534c7f..bf698fd 100644 --- a/O21.Game/Paths.fs +++ b/O21.Game/Paths.fs @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 O21 contributors +// +// SPDX-License-Identifier: MIT + module O21.Game.Paths open System diff --git a/O21.Game/Program.fs b/O21.Game/Program.fs index c23ada4..60f5c3c 100644 --- a/O21.Game/Program.fs +++ b/O21.Game/Program.fs @@ -1,5 +1,7 @@ -open System -open System.Globalization +// SPDX-FileCopyrightText: 2024 O21 contributors +// +// SPDX-License-Identifier: MIT + open System.IO open System.Text diff --git a/O21.Game/QueueSynchronizationContext.fs b/O21.Game/QueueSynchronizationContext.fs index ce7ed88..95e8ba5 100644 --- a/O21.Game/QueueSynchronizationContext.fs +++ b/O21.Game/QueueSynchronizationContext.fs @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 O21 contributors +// +// SPDX-License-Identifier: MIT + namespace O21.Game open System diff --git a/O21.Game/RaylibEnvironment.fs b/O21.Game/RaylibEnvironment.fs index 25295ac..c798472 100644 --- a/O21.Game/RaylibEnvironment.fs +++ b/O21.Game/RaylibEnvironment.fs @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 O21 contributors +// +// SPDX-License-Identifier: MIT + module O21.Game.RaylibEnvironment open Raylib_CsLo diff --git a/O21.Game/RaylibUtils.fs b/O21.Game/RaylibUtils.fs index b6372eb..6521d0c 100644 --- a/O21.Game/RaylibUtils.fs +++ b/O21.Game/RaylibUtils.fs @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 O21 contributors +// +// SPDX-License-Identifier: MIT + module O21.Game.RaylibUtils open JetBrains.Lifetimes diff --git a/O21.Game/Resources/Fonts/Inter-Bold.otf.license b/O21.Game/Resources/Fonts/Inter-Bold.otf.license new file mode 100644 index 0000000..8c889ab --- /dev/null +++ b/O21.Game/Resources/Fonts/Inter-Bold.otf.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: 2016-2020 The Inter Project Authors + +SPDX-License-Identifier: OFL-1.1 diff --git a/O21.Game/Resources/Fonts/Inter-Regular.otf.license b/O21.Game/Resources/Fonts/Inter-Regular.otf.license new file mode 100644 index 0000000..8c889ab --- /dev/null +++ b/O21.Game/Resources/Fonts/Inter-Regular.otf.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: 2016-2020 The Inter Project Authors + +SPDX-License-Identifier: OFL-1.1 diff --git a/O21.Game/Resources/Fonts/LICENSE.txt b/O21.Game/Resources/Fonts/LICENSE.txt deleted file mode 100644 index ff80f8c..0000000 --- a/O21.Game/Resources/Fonts/LICENSE.txt +++ /dev/null @@ -1,94 +0,0 @@ -Copyright (c) 2016-2020 The Inter Project Authors. -"Inter" is trademark of Rasmus Andersson. -https://github.com/rsms/inter - -This Font Software is licensed under the SIL Open Font License, Version 1.1. -This license is copied below, and is also available with a FAQ at: -http://scripts.sil.org/OFL - ------------------------------------------------------------ -SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 ------------------------------------------------------------ - -PREAMBLE -The goals of the Open Font License (OFL) are to stimulate worldwide -development of collaborative font projects, to support the font creation -efforts of academic and linguistic communities, and to provide a free and -open framework in which fonts may be shared and improved in partnership -with others. - -The OFL allows the licensed fonts to be used, studied, modified and -redistributed freely as long as they are not sold by themselves. The -fonts, including any derivative works, can be bundled, embedded, -redistributed and/or sold with any software provided that any reserved -names are not used by derivative works. The fonts and derivatives, -however, cannot be released under any other type of license. The -requirement for fonts to remain under this license does not apply -to any document created using the fonts or their derivatives. - -DEFINITIONS -"Font Software" refers to the set of files released by the Copyright -Holder(s) under this license and clearly marked as such. This may -include source files, build scripts and documentation. - -"Reserved Font Name" refers to any names specified as such after the -copyright statement(s). - -"Original Version" refers to the collection of Font Software components as -distributed by the Copyright Holder(s). - -"Modified Version" refers to any derivative made by adding to, deleting, -or substituting -- in part or in whole -- any of the components of the -Original Version, by changing formats or by porting the Font Software to a -new environment. - -"Author" refers to any designer, engineer, programmer, technical -writer or other person who contributed to the Font Software. - -PERMISSION AND CONDITIONS -Permission is hereby granted, free of charge, to any person obtaining -a copy of the Font Software, to use, study, copy, merge, embed, modify, -redistribute, and sell modified and unmodified copies of the Font -Software, subject to the following conditions: - -1) Neither the Font Software nor any of its individual components, -in Original or Modified Versions, may be sold by itself. - -2) Original or Modified Versions of the Font Software may be bundled, -redistributed and/or sold with any software, provided that each copy -contains the above copyright notice and this license. These can be -included either as stand-alone text files, human-readable headers or -in the appropriate machine-readable metadata fields within text or -binary files as long as those fields can be easily viewed by the user. - -3) No Modified Version of the Font Software may use the Reserved Font -Name(s) unless explicit written permission is granted by the corresponding -Copyright Holder. This restriction only applies to the primary font name as -presented to the users. - -4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font -Software shall not be used to promote, endorse or advertise any -Modified Version, except to acknowledge the contribution(s) of the -Copyright Holder(s) and the Author(s) or with their explicit written -permission. - -5) The Font Software, modified or unmodified, in part or in whole, -must be distributed entirely under this license, and must not be -distributed under any other license. The requirement for fonts to -remain under this license does not apply to any document created -using the Font Software. - -TERMINATION -This license becomes null and void if any of the above conditions are -not met. - -DISCLAIMER -THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT -OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE -COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL -DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM -OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/O21.Game/Resources/Fonts/README.md b/O21.Game/Resources/Fonts/README.md index fb3f30f..751a493 100644 --- a/O21.Game/Resources/Fonts/README.md +++ b/O21.Game/Resources/Fonts/README.md @@ -1,3 +1,9 @@ + + This directory contains the Inter font v3.19. See `LICENSE.txt` for the licensing details. diff --git a/O21.Game/Resources/SoundFont/README.md b/O21.Game/Resources/SoundFont/README.md deleted file mode 100644 index d3c1cdb..0000000 --- a/O21.Game/Resources/SoundFont/README.md +++ /dev/null @@ -1,19 +0,0 @@ -This directory contains microGM sound font by michael, originally [downloaded from musical-artifacts.com](https://musical-artifacts.com/artifacts/2529). - -The license for the sound font is WTFPL 2.0, reproduced below: - -``` - DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE - Version 2, December 2004 - - Copyright (C) 2004 Sam Hocevar - - Everyone is permitted to copy and distribute verbatim or modified - copies of this license document, and changing it is allowed as long - as the name is changed. - - DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. You just DO WHAT THE FUCK YOU WANT TO. -``` diff --git a/O21.Game/Resources/SoundFont/microgm.sf2.license b/O21.Game/Resources/SoundFont/microgm.sf2.license new file mode 100644 index 0000000..53dc539 --- /dev/null +++ b/O21.Game/Resources/SoundFont/microgm.sf2.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: 2024 michael + +SPDX-License-Identifier: WTFPL diff --git a/O21.Game/Scenes/Button.fs b/O21.Game/Scenes/Button.fs index 3806aa6..3132ee8 100644 --- a/O21.Game/Scenes/Button.fs +++ b/O21.Game/Scenes/Button.fs @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 O21 contributors +// +// SPDX-License-Identifier: MIT + namespace O21.Game.Scenes open System.Numerics diff --git a/O21.Game/Scenes/GameOverScene.fs b/O21.Game/Scenes/GameOverScene.fs index bfb3e38..103a459 100644 --- a/O21.Game/Scenes/GameOverScene.fs +++ b/O21.Game/Scenes/GameOverScene.fs @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 O21 contributors +// +// SPDX-License-Identifier: MIT + namespace O21.Game.Scenes open System.Numerics diff --git a/O21.Game/Scenes/HelpScene.fs b/O21.Game/Scenes/HelpScene.fs index 9df9bb5..9a3cb4d 100644 --- a/O21.Game/Scenes/HelpScene.fs +++ b/O21.Game/Scenes/HelpScene.fs @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 O21 contributors +// +// SPDX-License-Identifier: MIT + namespace O21.Game.Scenes open System.Numerics diff --git a/O21.Game/Scenes/MainMenuScene.fs b/O21.Game/Scenes/MainMenuScene.fs index 4a49e55..521f825 100644 --- a/O21.Game/Scenes/MainMenuScene.fs +++ b/O21.Game/Scenes/MainMenuScene.fs @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 O21 contributors +// +// SPDX-License-Identifier: MIT + namespace O21.Game.Scenes open System.Numerics diff --git a/O21.Game/Scenes/MinimizeButton.fs b/O21.Game/Scenes/MinimizeButton.fs index 27a8b7c..e5b7672 100644 --- a/O21.Game/Scenes/MinimizeButton.fs +++ b/O21.Game/Scenes/MinimizeButton.fs @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 O21 contributors +// +// SPDX-License-Identifier: MIT + namespace O21.Game.Scenes open System.Numerics diff --git a/O21.Game/Scenes/PlayScene.fs b/O21.Game/Scenes/PlayScene.fs index 6446c99..f42fe7f 100644 --- a/O21.Game/Scenes/PlayScene.fs +++ b/O21.Game/Scenes/PlayScene.fs @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 O21 contributors +// +// SPDX-License-Identifier: MIT + namespace O21.Game.Scenes open type Raylib_CsLo.Raylib diff --git a/O21.Game/Scenes/WindowRenderer.fs b/O21.Game/Scenes/WindowRenderer.fs index b776bb0..6f31355 100644 --- a/O21.Game/Scenes/WindowRenderer.fs +++ b/O21.Game/Scenes/WindowRenderer.fs @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 O21 contributors +// +// SPDX-License-Identifier: MIT + namespace O21.Game.Scenes open type Raylib_CsLo.Raylib diff --git a/O21.Game/State.fs b/O21.Game/State.fs index a7fb57e..f477c5c 100644 --- a/O21.Game/State.fs +++ b/O21.Game/State.fs @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 O21 contributors +// +// SPDX-License-Identifier: MIT + namespace O21.Game open O21.Game.Engine diff --git a/O21.Game/Svg.props b/O21.Game/Svg.props index e718d1f..8f98d06 100644 --- a/O21.Game/Svg.props +++ b/O21.Game/Svg.props @@ -1,3 +1,9 @@ + + +// +// SPDX-License-Identifier: MIT + namespace O21.Game open System diff --git a/O21.Game/TextureUtils.fs b/O21.Game/TextureUtils.fs index 0916fc9..2dc3646 100644 --- a/O21.Game/TextureUtils.fs +++ b/O21.Game/TextureUtils.fs @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 O21 contributors +// +// SPDX-License-Identifier: MIT + module O21.Game.TextureUtils open JetBrains.Lifetimes diff --git a/O21.Game/U95/Background.fs b/O21.Game/U95/Background.fs index d1c4a86..503d58f 100644 --- a/O21.Game/U95/Background.fs +++ b/O21.Game/U95/Background.fs @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 O21 contributors +// +// SPDX-License-Identifier: MIT + namespace O21.Game.U95 open System.IO diff --git a/O21.Game/U95/BonusSprites.fs b/O21.Game/U95/BonusSprites.fs index 3eeacc7..6860669 100644 --- a/O21.Game/U95/BonusSprites.fs +++ b/O21.Game/U95/BonusSprites.fs @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 O21 contributors +// +// SPDX-License-Identifier: MIT + namespace O21.Game.U95 open Raylib_CsLo diff --git a/O21.Game/U95/Fish.fs b/O21.Game/U95/Fish.fs index 303ae16..a901416 100644 --- a/O21.Game/U95/Fish.fs +++ b/O21.Game/U95/Fish.fs @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 O21 contributors +// +// SPDX-License-Identifier: MIT + namespace O21.Game.U95.Fish open Raylib_CsLo diff --git a/O21.Game/U95/HUDSprites.fs b/O21.Game/U95/HUDSprites.fs index 1485e45..fcd5702 100644 --- a/O21.Game/U95/HUDSprites.fs +++ b/O21.Game/U95/HUDSprites.fs @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 O21 contributors +// +// SPDX-License-Identifier: MIT + namespace O21.Game open Raylib_CsLo diff --git a/O21.Game/U95/Level.fs b/O21.Game/U95/Level.fs index 4adbe67..b7ea986 100644 --- a/O21.Game/U95/Level.fs +++ b/O21.Game/U95/Level.fs @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 O21 contributors +// +// SPDX-License-Identifier: MIT + namespace O21.Game.U95 open System.Threading.Tasks diff --git a/O21.Game/U95/NeExeFile.fs b/O21.Game/U95/NeExeFile.fs index 5d15c67..08d3028 100644 --- a/O21.Game/U95/NeExeFile.fs +++ b/O21.Game/U95/NeExeFile.fs @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 O21 contributors +// +// SPDX-License-Identifier: MIT + module O21.Game.U95.NeExeFile open System.IO diff --git a/O21.Game/U95/Parser.fs b/O21.Game/U95/Parser.fs index 1d2676a..c3e641b 100644 --- a/O21.Game/U95/Parser.fs +++ b/O21.Game/U95/Parser.fs @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 O21 contributors +// +// SPDX-License-Identifier: MIT + module O21.Game.U95.Parser open System.IO diff --git a/O21.Game/U95/Sound.fs b/O21.Game/U95/Sound.fs index 76ddf0b..fa76d77 100644 --- a/O21.Game/U95/Sound.fs +++ b/O21.Game/U95/Sound.fs @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 O21 contributors +// +// SPDX-License-Identifier: MIT + namespace O21.Game.U95 open System diff --git a/O21.Game/U95/Sprites.fs b/O21.Game/U95/Sprites.fs index 60d7fa7..fb9af96 100644 --- a/O21.Game/U95/Sprites.fs +++ b/O21.Game/U95/Sprites.fs @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 O21 contributors +// +// SPDX-License-Identifier: MIT + namespace O21.Game.U95 open System.IO diff --git a/O21.Game/U95/U95Data.fs b/O21.Game/U95/U95Data.fs index 9a84677..2b7dfa3 100644 --- a/O21.Game/U95/U95Data.fs +++ b/O21.Game/U95/U95Data.fs @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 O21 contributors +// +// SPDX-License-Identifier: MIT + namespace O21.Game.U95 open System.IO diff --git a/O21.Game/WindowParameters.fs b/O21.Game/WindowParameters.fs index a0a1c4c..3c2d737 100644 --- a/O21.Game/WindowParameters.fs +++ b/O21.Game/WindowParameters.fs @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 O21 contributors +// +// SPDX-License-Identifier: MIT + namespace O21.Game open Raylib_CsLo diff --git a/O21.Game/content.json.license b/O21.Game/content.json.license new file mode 100644 index 0000000..2c34ddb --- /dev/null +++ b/O21.Game/content.json.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: 2024 O21 contributors + +SPDX-License-Identifier: MIT diff --git a/O21.Tests/GameEngineTests.fs b/O21.Tests/GameEngineTests.fs index 0aa28f2..b7b91f9 100644 --- a/O21.Tests/GameEngineTests.fs +++ b/O21.Tests/GameEngineTests.fs @@ -1,7 +1,10 @@ +// SPDX-FileCopyrightText: 2024 O21 contributors +// +// SPDX-License-Identifier: MIT + module O21.Tests.GameEngineTests open System -open System.Net.NetworkInformation open Xunit open O21.Game.Engine diff --git a/O21.Tests/GeometryUtilsTests.fs b/O21.Tests/GeometryUtilsTests.fs index b28ce15..e4be715 100644 --- a/O21.Tests/GeometryUtilsTests.fs +++ b/O21.Tests/GeometryUtilsTests.fs @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 O21 contributors +// +// SPDX-License-Identifier: MIT + module GeometryUtilsTests open System.Globalization diff --git a/O21.Tests/O21.Tests.fsproj b/O21.Tests/O21.Tests.fsproj index 054e73c..308af84 100644 --- a/O21.Tests/O21.Tests.fsproj +++ b/O21.Tests/O21.Tests.fsproj @@ -1,3 +1,9 @@ + + diff --git a/O21.sln b/O21.sln index b71e6e8..55b3820 100644 --- a/O21.sln +++ b/O21.sln @@ -44,6 +44,14 @@ Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "O21.CommandLine", "O21.Comm EndProject Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "O21.CommandLine.Tests", "O21.CommandLine.Tests\O21.CommandLine.Tests.fsproj", "{54E96E09-F46C-4B8A-8746-965E87C3F36B}" EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "LICENSES", "LICENSES", "{9A4A292D-A1CF-4848-BF4C-46CAE24BC601}" + ProjectSection(SolutionItems) = preProject + LICENSES\CC-BY-4.0.txt = LICENSES\CC-BY-4.0.txt + LICENSES\MIT.txt = LICENSES\MIT.txt + LICENSES\OFL-1.1.txt = LICENSES\OFL-1.1.txt + LICENSES\WTFPL.txt = LICENSES\WTFPL.txt + EndProjectSection +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU diff --git a/O21.sln.license b/O21.sln.license new file mode 100644 index 0000000..2c34ddb --- /dev/null +++ b/O21.sln.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: 2024 O21 contributors + +SPDX-License-Identifier: MIT diff --git a/README.md b/README.md index 036e712..70fd1b5 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,9 @@ + + O21 [![Status Enfer][status-enfer]][andivionian-status-classifier] === @@ -50,10 +56,6 @@ The distribution license of the original game is unknown, so the game has an unc No assets from the original game are included in this software (though it may allow the user to use any assets downloaded under the user's informed consent). -This software bundles the Inter font, covered by the [SIL Open Font License][docs.inter-font-license]. - -This software also bundles the [microGM sound font][microgm], published under the WTFPL 2.0 license. - Documentation ------------- diff --git a/REUSE.toml b/REUSE.toml new file mode 100644 index 0000000..c02d859 --- /dev/null +++ b/REUSE.toml @@ -0,0 +1,20 @@ +# SPDX-FileCopyrightText: 2024 Friedrich von Never +# +# SPDX-License-Identifier: MIT + +version = 1 +SPDX-PackageName = "O21" +SPDX-PackageSupplier = "Friedrich von Never " +SPDX-PackageDownloadLocation = "https://github.com/ForNeVeR/O21" + +[[annotations]] +path = ".idea/**/**" +precedence = "aggregate" +SPDX-FileCopyrightText = "2024 Friedrich von Never " +SPDX-License-Identifier = "MIT" + +[[annotations]] +path = "**.DotSettings" +precedence = "aggregate" +SPDX-FileCopyrightText = "2024 Friedrich von Never " +SPDX-License-Identifier = "MIT" diff --git a/Scripts/Verify-Translations.ps1 b/Scripts/Verify-Translations.ps1 index 08be0a1..ce20b91 100644 --- a/Scripts/Verify-Translations.ps1 +++ b/Scripts/Verify-Translations.ps1 @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2024 O21 contributors +# +# SPDX-License-Identifier: MIT + param ( $SolutionRoot = "$PSScriptRoot/..", $TranslationsDirectory = "$SolutionRoot/O21.Game/Localization/Translations", diff --git a/docs/resources.md b/docs/resources.md index 66c0fa3..530580f 100644 --- a/docs/resources.md +++ b/docs/resources.md @@ -1,3 +1,9 @@ + + Original Game Resources =======================