diff options
Diffstat (limited to 'src/game/data.hpp')
| -rw-r--r-- | src/game/data.hpp | 9 |
1 files changed, 6 insertions, 3 deletions
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 <data_dir>/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 }; |
