Repository navigation
See an invalid lap on the wheel, tyre numbers one corner at a time, RACE map, one VE name - #308
Merged
Merged
Conversation
A lap lost to track limits now shows: the Current lap frame turns red with INVALID while the time keeps running, and a new "Invalid lap" alert pops LAP INVALID once as it happens (Dashes > Settings, on by default). An out lap, which the game never counts, stays as it was. The tyre, brake and tyre + brake numbers also come one corner at a time, so each can sit where the driver wants it. Two-map cars read RACE instead of R wherever the word fits. Virtual energy is called VE in every widget name. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Four dash changes the driver asked for.
An invalid lap shows. Before, the Current lap widget turned into a grey
-:--.---that read like missing data. Now, once the lap is lost on track, its frame turns red with the label INVALID and the time keeps running. A new Invalid lap alert (Dashes > Settings > Fuel and laps, on by default, strip, 2 s) pops LAP INVALID once as it happens. An out lap, which the game never counts (it only counts it in the pit lane and drops it there), is not "lost": it stays as it was and raises nothing. The renderer derives this from the alert tracker's readings (lap_lostinalerts.rs) and passes it to the widget throughOverlays.Tyre numbers one corner at a time. New
tyre_temp_number,brake_temp_numberandtyre_brake_temp_numberwidgets show one corner (picked like the Tyre widget), framed and titled with that corner. Their boxes can be as small as TC's.RACE instead of R. Two-map cars (LMP2, LMGT3) read RACE wherever the word fits at the box's usual value size, else R; the map-change popup says RACE.
One name for virtual energy. "Virtual Energy" → "VE", "Energy Laps Left" → "VE Laps Left", matching every other VE widget and what the wheel prints.
Not verified
Not run against the live game. Recordings show the game's lap validity going invalid for 1–7 s mid-lap and then back to valid, several times per lap at Monza. The red frame and the alert follow that signal as it is. Whether those are real track-limit moments is open, and needs a drive to check.
Checks
Renderer
cargo test(292), clippy, fmt; desktop and dashboard type-check and tests; C# catalog, alert settings and coordinator tests; dash PNGs rendered and looked at; Dashes > Settings shot in the preview harness.🤖 Generated with Claude Code