The display over a race: the dashboard, the times, the lap and place, the messages and the speed.
More...
Go to the source code of this file.
|
| void | RenderDashboardGauges (void) |
| | Draw the dashboard of the active vehicle: its face, its gear and its tachometer.
|
| void | StubDashboard (void) |
| | Does nothing.
|
| void | DrawLabelWithTime (const char *label, const char *color, f32 seconds, s32 x, s32 y) |
| | Draw a label with a time below it in minutes, seconds and hundredths.
|
| void | DrawRaceTimerHud (void) |
| | Draw the times the mode of play shows at the top right of a view.
|
| void | DrawLapCounterHud (void) |
| | Draw the lap at the top left of a view and the place at its bottom left.
|
| void | DrawHudMessage (void) |
| | Draw the message of the active vehicle in the middle of a view.
|
| void | DrawSpeedAndHudOverlay (void) |
| | Draw the whole display of a view: the dashboard and times unless the camera is on the bumper, the lap, place and message, and the speed.
|
The display over a race: the dashboard, the times, the lap and place, the messages and the speed.
◆ DASHBOARD_VIEWS
| #define DASHBOARD_VIEWS 2 |
The views that keep their own dashboard.
◆ DASHBOARD_PALETTE_COLORS
| #define DASHBOARD_PALETTE_COLORS 256 |
The colors of a palette of the dashboard.
◆ RenderDashboardGauges()
| void RenderDashboardGauges |
( |
void | | ) |
|
Draw the dashboard of the active vehicle: its face, its gear and its tachometer.
- Ghidra address:
- USA: 0x80237980
- Ghidra address:
- Asia: 0x802374D0
- Ghidra address:
- EUR: 0x80238e90
- Ghidra address:
- JPN: 0x80238990
◆ StubDashboard()
| void StubDashboard |
( |
void | | ) |
|
Does nothing.
- Ghidra address:
- USA: 0x8023870c
- Ghidra address:
- Asia: 0x8023825C
- Ghidra address:
- EUR: 0x80239c1c
- Ghidra address:
- JPN: 0x8023971c
◆ DrawLabelWithTime()
| void DrawLabelWithTime |
( |
const char * | label, |
|
|
const char * | color, |
|
|
f32 | seconds, |
|
|
s32 | x, |
|
|
s32 | y ) |
Draw a label with a time below it in minutes, seconds and hundredths.
- Parameters
-
| label | The label. |
| color | The color code the time starts with. |
| seconds | The time in seconds. |
| x | The X coordinate of the label and the time. |
| y | The Y coordinate of the label. |
- Ghidra address:
- USA: 0x80238714
- Ghidra address:
- Asia: 0x80238264
- Ghidra address:
- EUR: 0x80239c24
- Ghidra address:
- JPN: 0x80239724
- Ghidra address:
- BRD3D: 0x100171f0
- Ghidra address:
- BRGlide: 0x10014760
◆ DrawRaceTimerHud()
| void DrawRaceTimerHud |
( |
void | | ) |
|
Draw the times the mode of play shows at the top right of a view.
- Ghidra address:
- USA: 0x8023880c
- Ghidra address:
- Asia: 0x8023835C
- Ghidra address:
- EUR: 0x80239d1c
- Ghidra address:
- JPN: 0x8023981c
◆ DrawLapCounterHud()
| void DrawLapCounterHud |
( |
void | | ) |
|
Draw the lap at the top left of a view and the place at its bottom left.
- Ghidra address:
- USA: 0x80238ab8
- Ghidra address:
- Asia: 0x80238608
- Ghidra address:
- EUR: 0x80239fc8
- Ghidra address:
- JPN: 0x80239ac8
◆ DrawHudMessage()
| void DrawHudMessage |
( |
void | | ) |
|
Draw the message of the active vehicle in the middle of a view.
- Ghidra address:
- USA: 0x80238dd4
- Ghidra address:
- Asia: 0x80238924
- Ghidra address:
- EUR: 0x8023a2e4
- Ghidra address:
- JPN: 0x80239de4
◆ DrawSpeedAndHudOverlay()
| void DrawSpeedAndHudOverlay |
( |
void | | ) |
|
Draw the whole display of a view: the dashboard and times unless the camera is on the bumper, the lap, place and message, and the speed.
- Ghidra address:
- USA: 0x80238f30
- Ghidra address:
- Asia: 0x80238A80
- Ghidra address:
- EUR: 0x8023a440
- Ghidra address:
- JPN: 0x80239f40
◆ g_adwDashboardLoadedKey
The car and the night flag of the dashboard each view has loaded, the car in the low byte.
- Ghidra address:
- USA: 0x8028c790
- Ghidra address:
- Asia: 0x8028C2E0
- Ghidra address:
- EUR: 0x8028eef0
- Ghidra address:
- JPN: 0x8028e940
◆ g_adwDashboardLoadedGear
The gear cell each view has loaded.
- Ghidra address:
- USA: 0x8028c798
- Ghidra address:
- Asia: 0x8028C2E8
- Ghidra address:
- EUR: 0x8028eef8
- Ghidra address:
- JPN: 0x8028e948
◆ g_aDashboardTextures
The face of the dashboard of each view.
- Ghidra address:
- USA: 0x8028c7a8
- Ghidra address:
- Asia: 0x8028C2F8
- Ghidra address:
- EUR: 0x8028ef08
- Ghidra address:
- JPN: 0x8028e958
◆ g_aDashboardGearTextures
The cell of the dashboard of each view that shows the gear.
- Ghidra address:
- USA: 0x8028c7d0
- Ghidra address:
- Asia: 0x8028C320
- Ghidra address:
- EUR: 0x8028ef30
- Ghidra address:
- JPN: 0x8028e980
◆ g_aawDashboardPalettes
The palette the dashboard of each view draws with.
- Ghidra address:
- USA: 0x80361530
- Ghidra address:
- Asia: 0x80360FE0
- Ghidra address:
- EUR: 0x80363a30
- Ghidra address:
- JPN: 0x803626a0
◆ g_awDashboardBarPalette
The palette of the dashboard as loaded, which the segments of a bar take their colors from.
- Ghidra address:
- USA: 0x80361930
- Ghidra address:
- Asia: 0x803613E0
- Ghidra address:
- EUR: 0x80363e30
- Ghidra address:
- JPN: 0x80362aa0
◆ g_aGaugeNeedleVerts
The needle of each view, for each frame buffer so a frame does not change one being drawn.
- Ghidra address:
- USA: 0x80361b30
- Ghidra address:
- Asia: 0x803615E0
- Ghidra address:
- EUR: 0x80364030
- Ghidra address:
- JPN: 0x80362ca0
◆ g_szHudSpeedTextBuf
| char g_szHudSpeedTextBuf[16] |
|
extern |
The text of the speed.
- Ghidra address:
- USA: 0x80361c30
- Ghidra address:
- Asia: 0x803616E0
- Ghidra address:
- EUR: 0x80364130
- Ghidra address:
- JPN: 0x80362da0
- Ghidra address:
- BRD3D: 0x104b0320
◆ g_bShowHudHelpText
Whether the views draw the HUD and the help of the instant replay.
- Ghidra address:
- USA: 0x8028aa6c
- Ghidra address:
- Asia: 0x8028A5BC
- Ghidra address:
- EUR: 0x8028cc74
- Ghidra address:
- JPN: 0x8028c744