coastline 0.0.4
Loading...
Searching...
No Matches
playerselect.h File Reference

The screen that chooses one or two players. More...

#include <PR/ultratypes.h>
#include "racemenu.h"
Include dependency graph for playerselect.h:

Go to the source code of this file.

Functions

void TwoControllersPostDrawCallback (s32 item)
 Explain below the menu that two players need two controllers, while that item is selected and unavailable.
void ProcessPlayerCountSelect (void)
 Run one frame of the player count screen.

Variables

MenuItem * g_apPlayerCountMenuItems []
 The items of the screen, ending with NULL.
s32 g_dwPlayerCountMenuItemCount
 The number of choices in the player count menu.
s32 g_dwPlayerCountMenuSelection
 The selected choice in the player count menu.

Detailed Description

The screen that chooses one or two players.

Function Documentation

◆ TwoControllersPostDrawCallback()

void TwoControllersPostDrawCallback ( s32 item)

Explain below the menu that two players need two controllers, while that item is selected and unavailable.

Parameters
itemThe index of the selected item of the player count menu.
Ghidra address:
USA: 0x802114e0
Ghidra address:
Asia: 0x80211070
Ghidra address:
EUR: 0x802113d0
Ghidra address:
JPN: 0x802112c0

◆ ProcessPlayerCountSelect()

void ProcessPlayerCountSelect ( void )

Run one frame of the player count screen.

Ghidra address:
USA: 0x802116e0
Ghidra address:
Asia: 0x80211270
Ghidra address:
EUR: 0x802115d0
Ghidra address:
JPN: 0x802114c0

Variable Documentation

◆ g_apPlayerCountMenuItems

MenuItem* g_apPlayerCountMenuItems[]
extern

The items of the screen, ending with NULL.

Ghidra address:
USA: 0x802723b8
Ghidra address:
Asia: 0x80271F08
Ghidra address:
EUR: 0x80274398
Ghidra address:
JPN: 0x80273e48

◆ g_dwPlayerCountMenuItemCount

s32 g_dwPlayerCountMenuItemCount
extern

The number of choices in the player count menu.

Ghidra address:
USA: 0x80316390
Ghidra address:
Asia: 0x80315E40
Ghidra address:
EUR: 0x80318070
Ghidra address:
JPN: 0x80316ca0

◆ g_dwPlayerCountMenuSelection

s32 g_dwPlayerCountMenuSelection
extern

The selected choice in the player count menu.

Ghidra address:
USA: 0x80316394
Ghidra address:
Asia: 0x80315E44
Ghidra address:
EUR: 0x80318074
Ghidra address:
JPN: 0x80316ca4