Configuration, image, and label callbacks for PC graphics and force-feedback options.
More...
#include <frontend.h>
Configuration, image, and label callbacks for PC graphics and force-feedback options.
◆ UpdateForceFeedbackImage()
| int GameOptionsUI::UpdateForceFeedbackImage |
( |
MenuWidget * | pWidget | ) |
|
|
static |
Draw the force feedback choice, displaying off when the device lacks support.
- Parameters
-
| pWidget | The non-null borrowed force-feedback image widget. |
- Returns
- One.
- Ghidra address:
- BRD3D: 0x10040950
- Ghidra address:
- BRGlide: 0x10039e90
◆ OnToggleForceFeedback()
| int GameOptionsUI::OnToggleForceFeedback |
( |
MenuWidget * | pWidget | ) |
|
|
static |
Cycle the force-feedback choice using mouse edges and update its config value.
- Parameters
-
| pWidget | The unused widget pointer, possibly null. |
- Returns
- One.
- Ghidra address:
- BRD3D: 0x10043590
- Ghidra address:
- BRGlide: 0x1003cae0
◆ OnToggleSkidMarks()
| int GameOptionsUI::OnToggleSkidMarks |
( |
MenuWidget * | pWidget | ) |
|
|
static |
Cycle the skid-mark choice using mouse edges and update its config value.
- Parameters
-
| pWidget | The unused widget pointer, possibly null. |
- Returns
- One.
- Ghidra address:
- BRD3D: 0x100435f0
- Ghidra address:
- BRGlide: 0x1003cb40
◆ OnToggleCarShadow()
| int GameOptionsUI::OnToggleCarShadow |
( |
MenuWidget * | pWidget | ) |
|
|
static |
Cycle the car-shadow choice using mouse edges and update its config value.
- Parameters
-
| pWidget | The unused widget pointer, possibly null. |
- Returns
- One.
- Ghidra address:
- BRD3D: 0x10043650
- Ghidra address:
- BRGlide: 0x1003cba0
◆ OnToggleSpecularLighting()
| int GameOptionsUI::OnToggleSpecularLighting |
( |
MenuWidget * | pWidget | ) |
|
|
static |
Cycle the specular-lighting choice using mouse edges and update its config value.
- Parameters
-
| pWidget | The unused widget pointer, possibly null. |
- Returns
- One.
- Ghidra address:
- BRD3D: 0x100436b0
- Ghidra address:
- BRGlide: 0x1003cc00
◆ UpdateCarShadowImage()
| int GameOptionsUI::UpdateCarShadowImage |
( |
MenuWidget * | pWidget | ) |
|
|
static |
Select the sprite for the current car-shadow choice.
- Parameters
-
| pWidget | The non-null borrowed car-shadow image widget. |
- Returns
- One.
- Ghidra address:
- BRD3D: 0x100409b0
- Ghidra address:
- BRGlide: 0x10039ef0
◆ UpdateSpecularLightingImage()
| int GameOptionsUI::UpdateSpecularLightingImage |
( |
MenuWidget * | pWidget | ) |
|
|
static |
Select the sprite for the current specular-lighting choice.
- Parameters
-
| pWidget | The non-null borrowed specular-lighting image widget. |
- Returns
- One.
- Ghidra address:
- BRD3D: 0x100409d0
- Ghidra address:
- BRGlide: 0x10039f10
◆ UpdateSkidMarksImage()
| int GameOptionsUI::UpdateSkidMarksImage |
( |
MenuWidget * | pWidget | ) |
|
|
static |
Select the sprite for the current skid-mark choice.
- Parameters
-
| pWidget | The non-null borrowed skid-mark image widget. |
- Returns
- One.
- Ghidra address:
- BRD3D: 0x10040990
- Ghidra address:
- BRGlide: 0x10039ed0
◆ UpdateCarShadowLabel()
| int GameOptionsUI::UpdateCarShadowLabel |
( |
MenuWidget * | pWidget | ) |
|
|
static |
Refresh and measure the car-shadow label, then process its text-input update.
- Parameters
-
| pWidget | The non-null borrowed label widget with primary text storage. |
- Returns
- One.
- Ghidra address:
- BRD3D: 0x1003fda0
- Ghidra address:
- BRGlide: 0x100392e0
◆ UpdateSkidMarksLabel()
| int GameOptionsUI::UpdateSkidMarksLabel |
( |
MenuWidget * | pWidget | ) |
|
|
static |
Refresh and measure the skid-mark label, then process its text-input update.
- Parameters
-
| pWidget | The non-null borrowed label widget with primary text storage. |
- Returns
- One.
- Ghidra address:
- BRD3D: 0x1003fd30
- Ghidra address:
- BRGlide: 0x10039270
◆ UpdateSpecularLightingLabel()
| int GameOptionsUI::UpdateSpecularLightingLabel |
( |
MenuWidget * | pWidget | ) |
|
|
static |
Refresh and measure the specular-lighting label, then process its text-input update.
- Parameters
-
| pWidget | The non-null borrowed label widget with primary text storage. |
- Returns
- One.
- Ghidra address:
- BRD3D: 0x1003fe10
- Ghidra address:
- BRGlide: 0x10039350
◆ UpdateForceFeedbackLabel()
| int GameOptionsUI::UpdateForceFeedbackLabel |
( |
MenuWidget * | pWidget | ) |
|
|
static |
Refresh the force-feedback label, displaying Off when feedback is unavailable.
The primary font is measured and its text-input update is processed.
- Parameters
-
| pWidget | The non-null borrowed label widget with primary text storage. |
- Returns
- One.
- Ghidra address:
- BRD3D: 0x1003fcb0
- Ghidra address:
- BRGlide: 0x100391f0
◆ OnBack()
Destroy the active game-options screen, clear its cache, and return to cached Options.
- 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: 0x10046710
- Ghidra address:
- BRGlide: 0x1003fb60
The documentation for this class was generated from the following file: