aboutsummaryrefslogtreecommitdiffstats
path: root/src/game/build_graph.hpp
diff options
context:
space:
mode:
authorEmil A. Overbeck <emil.a.overbeck@gmail.com>2026-07-18 02:40:25 +0200
committerEmil A. Overbeck <emil.a.overbeck@gmail.com>2026-07-18 02:40:25 +0200
commit0807c89343480b15c7b63a0e864782179eb28ef5 (patch)
tree0da6e1a5600997faf240025fa3dcaaa223a87ae8 /src/game/build_graph.hpp
parent0837872bed3d97d3433d7e0cbafffa7f271ebee1 (diff)
downloadforts_clone-0807c89343480b15c7b63a0e864782179eb28ef5.tar.gz
forts_clone-0807c89343480b15c7b63a0e864782179eb28ef5.zip
More Forts assets
Diffstat (limited to 'src/game/build_graph.hpp')
-rw-r--r--src/game/build_graph.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/game/build_graph.hpp b/src/game/build_graph.hpp
index f92dbd3..bf83a18 100644
--- a/src/game/build_graph.hpp
+++ b/src/game/build_graph.hpp
@@ -36,7 +36,9 @@ struct MaterialDef {
float half_width; // visual thickness
float r, g, b, a; // visual colour (also tints the texture)
std::string name;
- std::string texture; // optional texture path ("" = flat colour)
+ std::string texture; // CC0 placeholder path ("" = flat colour)
+ std::string texture_forts; // preferred BYO Forts art ("forts:..."), falls
+ // back to `texture` then colour when absent
};
struct BuildNode {