Saved time-attack selection, car setup, and return callbacks.
More...
#include <frontend.h>
|
| static int | UpdateItemEnabledState (MenuWidget *pWidget) |
| | Enable a time attack item after a saved slot has been selected.
|
| static int | OnCarSetup (MenuWidget *pWidget) |
| | Open car setup for the loaded time attack and install its return callback.
|
| static int | OnSlotSelected (MenuItemList *pList, int *pnSlot) |
| | Load a numbered TimeAttack slot, restore its race selections and profile, and synchronise progress.
|
| static int | OnBack (MenuActionWidget *pItem) |
| | Destroy ghost loading, clear its cache, and restore the cached Time Attack menu.
|
Saved time-attack selection, car setup, and return callbacks.
◆ UpdateItemEnabledState()
| int LoadTimeAttackMenuUI::UpdateItemEnabledState |
( |
MenuWidget * | pWidget | ) |
|
|
static |
Enable a time attack item after a saved slot has been selected.
Otherwise disable the widget and select its fallback sprite and font style.
- Parameters
-
| pWidget | A non-null borrowed widget whose enabled state is updated. |
- Returns
- One.
- Ghidra address:
- BRD3D: 0x100418f0
- Ghidra address:
- BRGlide: 0x1003ae50
◆ OnCarSetup()
| int LoadTimeAttackMenuUI::OnCarSetup |
( |
MenuWidget * | pWidget | ) |
|
|
static |
Open car setup for the loaded time attack and install its return callback.
- Parameters
-
- Returns
- One.
- Ghidra address:
- BRD3D: 0x10046380
- Ghidra address:
- BRGlide: 0x1003f820
◆ OnSlotSelected()
| int LoadTimeAttackMenuUI::OnSlotSelected |
( |
MenuItemList * | pList, |
|
|
int * | pnSlot ) |
|
static |
Load a numbered TimeAttack slot, restore its race selections and profile, and synchronise progress.
- Parameters
-
| pList | The unused list pointer, possibly null. |
| pnSlot | A non-null readable slot index, normally 0..99, used in the saved filename. |
- Returns
- Zero when the loaded ghost reports an invalid track; one after restoring selections.
- Ghidra address:
- BRD3D: 0x10042880
- Ghidra address:
- BRGlide: 0x1003bde0
◆ OnBack()
Destroy ghost loading, clear its cache, and restore the cached Time Attack menu.
- Parameters
-
| pItem | A non-null active-screen widget, invalidated when its panels are destroyed. |
- Returns
- Zero to end the current widget update.
- Ghidra address:
- BRD3D: 0x10044de0
- Ghidra address:
- BRGlide: 0x1003e330
The documentation for this class was generated from the following file: