From cd0c08dc7ce754473178ad3f32f7740a1dddc1eb Mon Sep 17 00:00:00 2001 From: Vaino Kauppila Date: Thu, 2 Jul 2026 22:58:25 +0300 Subject: Initial import: LibreForts (M0-M5 in progress) Open-source Forts clone: custom C++20 engine + data-driven (Lua) 2D physics artillery RTS. - Building: node/strut graph on a stiff mass-spring solver (canon Forts model), triangulation rigidity, axial + 30-degree angle-stress breaking, cascading collapse, fire (DoT + spread), ground destroys debris. - Weapons (M4): cannon (ballistic) + laser (beam/ignite) with select-and-aim-in- arc UX; splash / beam damage; bg-brace passthrough. - Devices + economy (M5): reactors + win/loss + restart, mines/turbines/battery, metal deposits, storage caps, per-shot energy cost. - Data-driven via Lua/sol2 with a layered mod loader; enemy-fort scenario mod. - Renderer: SDL3 + textures + ImGui dev UI. stb_image + ImGui vendored. - Assets: CC0 placeholders only; real game art loaded at runtime from the user's own install via forts: paths (bring-your-own; nothing copyrighted committed). See README.md / CLAUDE.md and research/ + requirements/ for detail. --- data/textures/CREDITS.md | 23 +++++++++++++++++++++++ data/textures/bgbrace.png | Bin 0 -> 1561 bytes data/textures/deposit.png | Bin 0 -> 597 bytes data/textures/ground.png | Bin 0 -> 753 bytes data/textures/projectile_laser.png | Bin 0 -> 744 bytes data/textures/reactor_enemy.png | Bin 0 -> 638 bytes data/textures/reactor_player.png | Bin 0 -> 636 bytes data/textures/weapon_gun.png | Bin 0 -> 446 bytes data/textures/weapon_turret.png | Bin 0 -> 825 bytes data/textures/wood.png | Bin 0 -> 1213 bytes 10 files changed, 23 insertions(+) create mode 100644 data/textures/CREDITS.md create mode 100644 data/textures/bgbrace.png create mode 100644 data/textures/deposit.png create mode 100644 data/textures/ground.png create mode 100644 data/textures/projectile_laser.png create mode 100644 data/textures/reactor_enemy.png create mode 100644 data/textures/reactor_player.png create mode 100644 data/textures/weapon_gun.png create mode 100644 data/textures/weapon_turret.png create mode 100644 data/textures/wood.png (limited to 'data/textures') diff --git a/data/textures/CREDITS.md b/data/textures/CREDITS.md new file mode 100644 index 0000000..3c4ce4a --- /dev/null +++ b/data/textures/CREDITS.md @@ -0,0 +1,23 @@ +# Placeholder texture credits + +All placeholder art here is **CC0 1.0 (public domain)** by **Kenney** — https://kenney.nl +(no attribution required; credited anyway). Pulled from the mirror +https://github.com/iwenzhou/kenney. + +| File | Source pack | Original | +|------|-------------|----------| +| wood.png | Platformer pack (Base) | Tiles/box.png | +| bgbrace.png | Platformer pack (Base) | Tiles/boxAlt.png | +| ground.png | Platformer pack (Base) | Tiles/dirtCenter.png | +| weapon_gun.png | Space Shooter (300) | Parts/gun07.png | +| weapon_turret.png | Space Shooter (300) | Parts/turretBase_big.png | +| projectile_laser.png | Space Shooter (300) | Lasers/laserBlue01.png | + +These are temporary placeholders. Replace with original art before release. + +Third-party code: `third_party/stb/stb_image*.h` — public domain (stb, Sean Barrett). + +## M5 devices (added) +| reactor_player.png | Platformer (Base) | Items/gemGreen.png | +| reactor_enemy.png | Platformer (Base) | Items/gemRed.png | +| deposit.png | Platformer (Base) | Items/gemYellow.png | diff --git a/data/textures/bgbrace.png b/data/textures/bgbrace.png new file mode 100644 index 0000000..1da31f0 Binary files /dev/null and b/data/textures/bgbrace.png differ diff --git a/data/textures/deposit.png b/data/textures/deposit.png new file mode 100644 index 0000000..0e4b4db Binary files /dev/null and b/data/textures/deposit.png differ diff --git a/data/textures/ground.png b/data/textures/ground.png new file mode 100644 index 0000000..d8e173f Binary files /dev/null and b/data/textures/ground.png differ diff --git a/data/textures/projectile_laser.png b/data/textures/projectile_laser.png new file mode 100644 index 0000000..b76aaf7 Binary files /dev/null and b/data/textures/projectile_laser.png differ diff --git a/data/textures/reactor_enemy.png b/data/textures/reactor_enemy.png new file mode 100644 index 0000000..deb5cb0 Binary files /dev/null and b/data/textures/reactor_enemy.png differ diff --git a/data/textures/reactor_player.png b/data/textures/reactor_player.png new file mode 100644 index 0000000..9e9c3f6 Binary files /dev/null and b/data/textures/reactor_player.png differ diff --git a/data/textures/weapon_gun.png b/data/textures/weapon_gun.png new file mode 100644 index 0000000..209b40b Binary files /dev/null and b/data/textures/weapon_gun.png differ diff --git a/data/textures/weapon_turret.png b/data/textures/weapon_turret.png new file mode 100644 index 0000000..e9747f7 Binary files /dev/null and b/data/textures/weapon_turret.png differ diff --git a/data/textures/wood.png b/data/textures/wood.png new file mode 100644 index 0000000..7471ed7 Binary files /dev/null and b/data/textures/wood.png differ -- cgit v1.3