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

Callbacks for selecting a track, weather, and lap count. More...

#include <frontend.h>

Static Public Member Functions

static int UpdateLapCountLabel (MenuWidget *pWidget)
 Draw the selected lap count unless an empty ghost slot is showing.
static int UpdateTrackImage (MenuWidget *pWidget)
 Choose the track image from the selected championship round or track menu.
static int UpdateWeatherImage (MenuWidget *pWidget)
 Choose the weather image from the selected championship round or weather menu.
static int OnCycleTrack (MenuActionWidget *pItem)
 Cycle through available tracks, including unlocked bonus tracks, and notify network peers.
static int OnCycleLapCount (MenuActionWidget *pItem)
 Cycle the lap count from 1 through 12 and notify network peers.
static int OnCycleWeather (MenuActionWidget *pItem)
 Cycle the weather selection and notify network peers.
static int UpdateTrackNameLabel (MenuWidget *pWidget)
 Draw the selected track name, or the ghost-slot prompt when no ghost is selected.
static int UpdateWeatherLabel (MenuWidget *pWidget)
 Draw the selected weather, or the ghost-slot prompt when no ghost is selected.
static int OnBack (MenuActionWidget *pItem)
 Return from race setup to the root menu.
static int OnBackToTimeAttack (MenuActionWidget *pItem)
 Return from race setup to the time attack menu.

Detailed Description

Callbacks for selecting a track, weather, and lap count.

Member Function Documentation

◆ UpdateLapCountLabel()

int RaceSetupUI::UpdateLapCountLabel ( MenuWidget * pWidget)
static

Draw the selected lap count unless an empty ghost slot is showing.

Ghidra address:
BRD3D: 0x100408d0
Ghidra address:
BRGlide: 0x10039e10

◆ UpdateTrackImage()

int RaceSetupUI::UpdateTrackImage ( MenuWidget * pWidget)
static

Choose the track image from the selected championship round or track menu.

Ghidra address:
BRD3D: 0x10040730
Ghidra address:
BRGlide: 0x10039c70

◆ UpdateWeatherImage()

int RaceSetupUI::UpdateWeatherImage ( MenuWidget * pWidget)
static

Choose the weather image from the selected championship round or weather menu.

Ghidra address:
BRD3D: 0x100407e0
Ghidra address:
BRGlide: 0x10039d20

◆ OnCycleTrack()

int RaceSetupUI::OnCycleTrack ( MenuActionWidget * pItem)
static

Cycle through available tracks, including unlocked bonus tracks, and notify network peers.

Ghidra address:
BRD3D: 0x10042ee0
Ghidra address:
BRGlide: 0x1003c430

◆ OnCycleLapCount()

int RaceSetupUI::OnCycleLapCount ( MenuActionWidget * pItem)
static

Cycle the lap count from 1 through 12 and notify network peers.

Ghidra address:
BRD3D: 0x100430b0
Ghidra address:
BRGlide: 0x1003c600

◆ OnCycleWeather()

int RaceSetupUI::OnCycleWeather ( MenuActionWidget * pItem)
static

Cycle the weather selection and notify network peers.

Ghidra address:
BRD3D: 0x10043180
Ghidra address:
BRGlide: 0x1003c6d0

◆ UpdateTrackNameLabel()

int RaceSetupUI::UpdateTrackNameLabel ( MenuWidget * pWidget)
static

Draw the selected track name, or the ghost-slot prompt when no ghost is selected.

Ghidra address:
BRD3D: 0x1003fa00
Ghidra address:
BRGlide: 0x10038f40

◆ UpdateWeatherLabel()

int RaceSetupUI::UpdateWeatherLabel ( MenuWidget * pWidget)
static

Draw the selected weather, or the ghost-slot prompt when no ghost is selected.

Ghidra address:
BRD3D: 0x1003fe80
Ghidra address:
BRGlide: 0x100393c0

◆ OnBack()

int RaceSetupUI::OnBack ( MenuActionWidget * pItem)
static

Return from race setup to the root menu.

Ghidra address:
BRD3D: 0x10046450
Ghidra address:
BRGlide: 0x1003f8f0

◆ OnBackToTimeAttack()

int RaceSetupUI::OnBackToTimeAttack ( MenuActionWidget * pItem)
static

Return from race setup to the time attack menu.

Ghidra address:
BRD3D: 0x10044cb0
Ghidra address:
BRGlide: 0x1003e200

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