init: OpenKKND scaffold and license
This commit is contained in:
commit
1455cf7ac9
5 changed files with 67 additions and 0 deletions
8
.gitignore
vendored
Normal file
8
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
build/
|
||||||
|
dist/
|
||||||
|
logs/*.log
|
||||||
|
.DS_Store
|
||||||
|
*.o
|
||||||
|
*.obj
|
||||||
|
CMakeCache.txt
|
||||||
|
CMakeFiles/
|
||||||
21
LICENSE
Normal file
21
LICENSE
Normal file
|
|
@ -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.
|
||||||
26
README.md
Normal file
26
README.md
Normal file
|
|
@ -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/<version>/`.
|
||||||
11
THIRD_PARTY.md
Normal file
11
THIRD_PARTY.md
Normal file
|
|
@ -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.
|
||||||
1
VERSION
Normal file
1
VERSION
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
0.1.0
|
||||||
Loading…
Add table
Add a link
Reference in a new issue