coastline 0.0.4
Loading...
Searching...
No Matches
RaceResultsTotalsUI Class Reference

Season points, progress labels, submenu callbacks, and continuation from results totals. More...

#include <frontend.h>

Static Public Member Functions

static int UpdateTotalPointsLabel (MenuWidget *pWidget)
 Draw the total points of the race results.
static int UpdateRoundsCompletedLabel (MenuWidget *pWidget)
 Draw the number of completed rounds in the race results.
static int UpdatePointsNeededLabel (MenuWidget *pWidget)
 Draw the remaining points for the season stored in the resume state.
static int OnBack (MenuActionWidget *pItem)
 Destroy results totals, clear its cache, and restore the cached results summary.
static int OnOpenOptions (MenuActionWidget *pItem)
 Open Options and install its return callback to results totals.
static int OnOpenSaveSeason (MenuActionWidget *pItem)
 Open season saving and install its return callback to results totals.
static int OnContinue (MenuActionWidget *pItem)
 Restore championship settings and points from progress, then select the next screen.

Detailed Description

Season points, progress labels, submenu callbacks, and continuation from results totals.

Member Function Documentation

◆ UpdateTotalPointsLabel()

int RaceResultsTotalsUI::UpdateTotalPointsLabel ( MenuWidget * pWidget)
static

Draw the total points of the race results.

Parameters
pWidgetA non-null borrowed label widget with primary text storage.
Returns
One after formatting and drawing the numeric label.
Ghidra address:
BRD3D: 0x10041710
Ghidra address:
BRGlide: 0x1003ac70

◆ UpdateRoundsCompletedLabel()

int RaceResultsTotalsUI::UpdateRoundsCompletedLabel ( MenuWidget * pWidget)
static

Draw the number of completed rounds in the race results.

Parameters
pWidgetA non-null borrowed label widget with primary text storage.
Returns
One after formatting and drawing the numeric label.
Ghidra address:
BRD3D: 0x10041670
Ghidra address:
BRGlide: 0x1003abd0

◆ UpdatePointsNeededLabel()

int RaceResultsTotalsUI::UpdatePointsNeededLabel ( MenuWidget * pWidget)
static

Draw the remaining points for the season stored in the resume state.

Parameters
pWidgetA non-null borrowed label widget with primary text storage.
Returns
One after drawing the remaining points, clamped to zero when already sufficient.
Ghidra address:
BRD3D: 0x100417b0
Ghidra address:
BRGlide: 0x1003ad10

◆ OnBack()

int RaceResultsTotalsUI::OnBack ( MenuActionWidget * pItem)
static

Destroy results totals, clear its cache, and restore the cached results summary.

Parameters
pItemA non-null active-screen widget, invalidated when its panels are destroyed.
Returns
Zero to end the current widget update.
Ghidra address:
BRD3D: 0x100470e0
Ghidra address:
BRGlide: 0x10040530

◆ OnOpenOptions()

int RaceResultsTotalsUI::OnOpenOptions ( MenuActionWidget * pItem)
static

Open Options and install its return callback to results totals.

Parameters
pItemThe unused widget forwarded to ShowOptionsMenu(), possibly null.
Returns
One without propagating the screen-opening result.
Ghidra address:
BRD3D: 0x10045880
Ghidra address:
BRGlide: 0x1003ed10

◆ OnOpenSaveSeason()

int RaceResultsTotalsUI::OnOpenSaveSeason ( MenuActionWidget * pItem)
static

Open season saving and install its return callback to results totals.

Parameters
pItemThe unused widget forwarded to ShowSaveSeasonScreen(), possibly null.
Returns
One without propagating the screen-opening result.
Ghidra address:
BRD3D: 0x100458a0
Ghidra address:
BRGlide: 0x1003ed30

◆ OnContinue()

int RaceResultsTotalsUI::OnContinue ( MenuActionWidget * pItem)
static

Restore championship settings and points from progress, then select the next screen.

Parameters
pItemA non-null totals-screen widget, invalidated when its panels are destroyed.
Returns
Zero.
Ghidra address:
BRD3D: 0x10047290
Ghidra address:
BRGlide: 0x100406e0

The documentation for this class was generated from the following file: