diff options
| author | Valentin Popov <valentin@popov.link> | 2026-11-26 16:00:14 +0300 |
|---|---|---|
| committer | Valentin Popov <valentin@popov.link> | 2026-11-26 16:00:14 +0300 |
| commit | c568357edf3c651ca0e16af27491be28ab1e0262 (patch) | |
| tree | 58d8e825a45b2db77dc739930c0e815168876d92 /crates/fparkan-runtime/src/lib.rs | |
| parent | bd9d7926768296ebad9f64550ede7cd840e6e5c8 (diff) | |
| download | fparkan-c568357edf3c651ca0e16af27491be28ab1e0262.tar.xz fparkan-c568357edf3c651ca0e16af27491be28ab1e0262.zip | |
fix(terrain): cut basements when scripted buildings finish
Use the authored footprint to rebuild the window terrain, floor support and shadow receivers together. Keep terrain draw slots stable across the rebuild, and publish the corrected building height in the construction frame.
Verified in a stock Single.02 window with Vulkan validation while the clan built a plant. Headless terrain and native overlap and removal semantics remain open.
Diffstat (limited to 'crates/fparkan-runtime/src/lib.rs')
| -rw-r--r-- | crates/fparkan-runtime/src/lib.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crates/fparkan-runtime/src/lib.rs b/crates/fparkan-runtime/src/lib.rs index 9b358576..3a5609db 100644 --- a/crates/fparkan-runtime/src/lib.rs +++ b/crates/fparkan-runtime/src/lib.rs @@ -50,7 +50,8 @@ mod boarding; mod builder_supply; mod building_door; pub use basement_geometry::{ - mission_basement_footprint, mission_basement_footprints, MissionBasementFootprint, + mission_basement_footprint, mission_basement_footprints, place_constructed_basement, + MissionBasementFootprint, }; mod building_passage; mod capture_barrier; |
