Repository navigation
feat(slice): results restart with independent race state - #86
Open
bniladridas wants to merge 1 commit into
Open
bniladridas wants to merge 1 commit into
bniladridas wants to merge 1 commit into
Conversation
Stage 6: Restart button on the results screen plus in-place restart through the production flow. RestartRace resets the manager, both cars, AI racecraft, widgets, and mode flags, then re-arms the shared start sequence; per-race numbering and first-snapshot capture demonstrate the second snapshot stands alone. -RaceAutoRestart runs exactly one restart headlessly. No persistence, career, points, audio, pause, content, or cleanup work.
This branch has not been deployed
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.
Stage 6: results restart with independent race state, stacked on PR5. Completes the frozen vertical slice. No persistence, career, points, session history, audio, pause, content, cleanup, or packaging.
Restart button on the results screen plus in-place RestartRace through the production flow: manager reset, both cars re-seated with motion reset, AI racecraft reset plus re-anchor, results hidden, HUD re-shown, mode flags cleared, and the shared SeatCars plus ArmRaceStart sequence re-armed. Initial setup and restart enter through the same code rather than two initialization paths. Per-race numbering with first-snapshot capture; -RaceAutoRestart runs exactly one restart headlessly.
Evidence, twice over. Nullrhi: race 1 finished (seq 0, best 17.44) to results to restart to race 2 finished (seq 0, best 17.58) to independence line (17.44 vs 17.58, entries 1/1), input gating re-armed both races, zero errors. Rendered: same chain (17.75 vs 17.72) plus a scene PNG. Differing best times plus the finish-sequence counter restarting at 0 demonstrate the second race is independent, not a visual reset. Regression checker exit 0 with 18 artifacts. Slate text pixels remain under the known capture limitation.
Review question: does this complete restart to second results without changing any other contract?