Results screen between race and menu
After a console-marshaled race ends, the race loop now shows a RACE RESULTS screen (place / pilot / final score, sorted descending, with a CONTINUE button) before returning to the setup menu. Scores come from the local console's intake; single-player rows carry the pilot's own name, additional pods show their host number until the Steam roster maps IDs to personas. The setup menu also keeps the player's selections and pilot name across races now instead of resetting to defaults each cycle. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -196,3 +196,21 @@ Logical
|
||||
{
|
||||
return gPhase == PhaseStopped;
|
||||
}
|
||||
|
||||
int
|
||||
RPL4LocalConsole_ResultCount()
|
||||
{
|
||||
return gResultCount;
|
||||
}
|
||||
|
||||
Logical
|
||||
RPL4LocalConsole_GetResult(int index, int *host_ID, int *score)
|
||||
{
|
||||
if (index < 0 || index >= gResultCount)
|
||||
{
|
||||
return False;
|
||||
}
|
||||
*host_ID = gResults[index].hostID;
|
||||
*score = gResults[index].score;
|
||||
return True;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user