From 0807c89343480b15c7b63a0e864782179eb28ef5 Mon Sep 17 00:00:00 2001 From: "Emil A. Overbeck" Date: Sat, 18 Jul 2026 02:40:25 +0200 Subject: More Forts assets --- src/game/data.hpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/game/data.hpp') diff --git a/src/game/data.hpp b/src/game/data.hpp index 3a7f912..fdf9e08 100644 --- a/src/game/data.hpp +++ b/src/game/data.hpp @@ -24,8 +24,10 @@ struct WeaponDef { float beam_dps; // HP damage per second to the struck strut float beam_duration; // seconds the beam stays on float energy_cost; // energy spent per shot (Forts EnergyFireCost) - std::string texture; // turret/base sprite - std::string projectile_texture; // shell sprite + std::string texture; // turret/base sprite (CC0 placeholder) + std::string projectile_texture; // shell sprite (CC0 placeholder) + std::string texture_forts; // preferred BYO Forts turret art + std::string projectile_texture_forts; // preferred BYO Forts shell art }; // Loads the material table from /materials.lua, then applies every @@ -57,7 +59,8 @@ struct DeviceDef { bool is_core; // reactor: destroying it decides the game float half_w, half_h; float cost_metal, cost_energy; // build cost - std::string texture; + std::string texture; // CC0 placeholder ("" = flat colour) + std::string texture_forts; // preferred BYO Forts art, else texture float r, g, b; // fallback colour when no texture }; -- cgit v1.3