From 1455cf7ac9ca6beb4827e240e704e7a603f50410 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hern=C3=A2ni=20Marques?= Date: Sat, 11 Jul 2026 23:05:12 +0200 Subject: [PATCH] init: OpenKKND scaffold and license --- .gitignore | 8 ++++++++ LICENSE | 21 +++++++++++++++++++++ README.md | 26 ++++++++++++++++++++++++++ THIRD_PARTY.md | 11 +++++++++++ VERSION | 1 + 5 files changed, 67 insertions(+) create mode 100644 .gitignore create mode 100644 LICENSE create mode 100644 README.md create mode 100644 THIRD_PARTY.md create mode 100644 VERSION diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..dfe0b38 --- /dev/null +++ b/.gitignore @@ -0,0 +1,8 @@ +build/ +dist/ +logs/*.log +.DS_Store +*.o +*.obj +CMakeCache.txt +CMakeFiles/ diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..9050e14 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2026 OpenKKND contributors + +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/README.md b/README.md new file mode 100644 index 0000000..19ad74d --- /dev/null +++ b/README.md @@ -0,0 +1,26 @@ +# OpenKKND + +Original post-apocalyptic **RTS** in portable **C11**. + +**Not** a remake of any commercial KKnD title. Genre-inspired only. +No proprietary assets. Free/permissive third-party material only (see `THIRD_PARTY.md`). + +## Build (macOS / Linux / *BSD) + +```bash +cmake -S . -B build -DCMAKE_BUILD_TYPE=Release +cmake --build build -j +./build/openkknd +``` + +Dependencies: **CMake ≥ 3.16**, **SDL2** (Homebrew `sdl2` / distro packages). + +## Packaging + +See `packaging/` for pkgsrc, FreeBSD/OpenBSD/DragonFly ports stubs, +Windows MSI notes, and Linux static build notes. + +## Auto-build (every 4 hours) + +User LaunchAgent: `~/Library/LaunchAgents/ch.openkknd.autobuild.plist` +Script: `scripts/bump-and-build.sh` → artifacts in `dist//`. diff --git a/THIRD_PARTY.md b/THIRD_PARTY.md new file mode 100644 index 0000000..df17c75 --- /dev/null +++ b/THIRD_PARTY.md @@ -0,0 +1,11 @@ +# Third-party + +| Component | License | Source / note | +|-----------|---------|----------------| +| SDL2 | zlib | system / Homebrew / ports | +| Placeholder graphics | generated in-engine | solid colors / rects — no external sprites yet | +| Optional future packs | CC0 / CC-BY | e.g. Kenney.nl, OpenGameArt (attribute when added) | + +## Forbidden + +KKnD / Westwood / EA game data, ISOs, ripped sprites, music, maps, or reverse-engineered proprietary assets. diff --git a/VERSION b/VERSION new file mode 100644 index 0000000..6e8bf73 --- /dev/null +++ b/VERSION @@ -0,0 +1 @@ +0.1.0