Open water without dark blocks; the F3 stats panel in every build

Water: on hosts of 32-lane waves the water's two tiled light programs
(water_shading:CS_TransmissionVolumetrics_Tiled 5dc3b25986622949 and
_Tiled_LocalLights 6f225b641c5b0708) translate in the wave-wide form only,
and in that form leave whole tiles of open water dark (around boats, along
shores, under bridges) at about 15 ms of the card a frame. They are left out
there (pipeline/make.rs); VICTORY_WATER_LIGHT=1, or WATER LIGHT in the F1
menu, runs them as before. Runs on a copy of a save on the first boat ride,
RTX 5070, Series X 1440p DLSS Quality: 25 fps with the blocks before, 30 fps
without them after; the water is darker and bluer without that light.
fxceless/victory-fork's README of 2026-11-27 names the same two programs and
form.

Stats panel: host/panel.rs is built without the diagnostics feature too (the
recording time is counted in diagnostics builds only), has a frame generation
line, and is switched by F3 or by STATS PANEL (F3) in the menu, live. The FPS
line at the top is hidden while the panel shows.

README: both, and where the panel is.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
This commit is contained in:
trustno1-coderandClaude Fable 5.2 committed 2026-11-26 20:39:26 -08:00
1 parent 9d6300fa2d
commit 35c156087e
5 files changed
+93 -22

No files matched your search

+1 -6
View File
@@ -3840,7 +3840,6 @@ mod card_steps;
pub(crate) mod indirects;
mod font;
mod menu;
#[cfg(feature = "diagnostics")]
mod panel;
mod place;
mod send;
@@ -9233,7 +9232,7 @@ struct Presenter {
hwnd: HWND,
meter: Meter,
composer: Option<crate::compose::Composer>,
#[cfg(feature = "diagnostics")]
/// The numbers panel (F3), in every build.
panel: panel::Panel,
/// The F1 settings menu.
menu: menu::Menu,
@@ -9271,7 +9270,6 @@ impl Meter {
}
/// Whether the next frame counted makes the frame-rate line.
#[cfg(feature = "diagnostics")]
fn line_due(&self) -> bool {
self.since.elapsed() >= std::time::Duration::from_secs(1)
}
@@ -9971,7 +9969,6 @@ impl Host {
} else {
crate::popwatch::take(&self.device, list, texture)
};
#[cfg(feature = "diagnostics")]
p.panel.draw(self, copy, &back, (width, height), format);
p.menu.draw(self, copy, &back, (width, height), format);
#[cfg(not(feature = "diagnostics"))]
@@ -10033,7 +10030,6 @@ impl Host {
crate::streamline::present_returned(called);
crate::streamline::present_ends(presenting);
showing.next("the frame meter");
#[cfg(feature = "diagnostics")]
p.panel.frame(p.meter.line_due());
p.menu.frame();
p.meter.frame(p.hwnd);
@@ -10122,7 +10118,6 @@ impl Host {
hwnd,
meter: Meter::new(),
composer: None,
#[cfg(feature = "diagnostics")]
panel: panel::Panel::new(),
menu: menu::Menu::new(),
})