Wooden bridges burn; knights wear bridges down, imps mend them

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Richard ZinkandClaude Opus 5.5 committed 2026-11-05 21:34:33 +01:00
1 parent c11d281281
commit 29e4970ab1
23 files changed
+356 -17

No files matched your search

+6
View File
@@ -1138,6 +1138,12 @@ impl R3d {
}
}
}
// burning bridges flicker
for &(i, _) in g.bridgework.burning.iter().filter(|b| g.map.shown(b.0)) {
let (x, z) = xy(i);
let fl = 0.8 + 0.2 * (t * 11.0 + i as f32).sin();
push(vec3(x as f32 + 0.5, 0.6, z as f32 + 0.5), 4.5, vec3(1.0, 0.5, 0.15), 1.6 * fl, 5.0);
}
let pulse = 0.5 + 0.5 * (t * 4.0).sin();
for &(ex, ey) in &g.planned_entries {
push(vec3(ex as f32 + 0.5, 1.2, ey as f32 + 0.5), 5.0, vec3(1.0, 0.12, 0.08), 0.6 + 1.0 * pulse, 30.0);