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

The options screen where a player chooses the button layout of their controller. More...

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

Go to the source code of this file.

Functions

void DrawControllerLayoutDiagram (s32 layout)
 Draw the picture of a button layout with the action of each button.
void ProcessControllerConfigScreen (void)
 Run one frame of the controller screen of the player who opened the options.

Variables

Texture g_texControllerLayout0
 The pictures of the five button layouts.
Texture g_texControllerLayout1
 The picture of button layout 1.
Texture g_texControllerLayout2
 The picture of button layout 2.
Texture g_texControllerLayout3
 The picture of button layout 3.
Texture g_texControllerLayout4
 The picture of button layout 4.
Texture g_TitleBarTextureDesc
 The title picture of the options screens.
MenuItem * g_apControllerScreenItems []
 The items of the screen, one per layout.

Detailed Description

The options screen where a player chooses the button layout of their controller.

Function Documentation

◆ DrawControllerLayoutDiagram()

void DrawControllerLayoutDiagram ( s32 layout)

Draw the picture of a button layout with the action of each button.

Parameters
layoutThe index of the layout, from 0 to 4.
Ghidra address:
USA: 0x802167e0
Ghidra address:
Asia: 0x80216330
Ghidra address:
EUR: 0x80217800
Ghidra address:
JPN: 0x80217150

◆ ProcessControllerConfigScreen()

void ProcessControllerConfigScreen ( void )

Run one frame of the controller screen of the player who opened the options.

Ghidra address:
USA: 0x802170c8
Ghidra address:
Asia: 0x80216C18
Ghidra address:
EUR: 0x802180e8
Ghidra address:
JPN: 0x80217a38

Variable Documentation

◆ g_texControllerLayout0

Texture g_texControllerLayout0
extern

The pictures of the five button layouts.

Ghidra address:
USA: 0x80272590
Ghidra address:
Asia: 0x802720E0
Ghidra address:
EUR: 0x80274600
Ghidra address:
JPN: 0x802740b0

◆ g_texControllerLayout1

Texture g_texControllerLayout1
extern

The picture of button layout 1.

Ghidra address:
USA: 0x802725a4
Ghidra address:
Asia: 0x802720F4
Ghidra address:
EUR: 0x80274614
Ghidra address:
JPN: 0x802740c4

◆ g_texControllerLayout2

Texture g_texControllerLayout2
extern

The picture of button layout 2.

Ghidra address:
USA: 0x802725b8
Ghidra address:
Asia: 0x80272108
Ghidra address:
EUR: 0x80274628
Ghidra address:
JPN: 0x802740d8

◆ g_texControllerLayout3

Texture g_texControllerLayout3
extern

The picture of button layout 3.

Ghidra address:
USA: 0x802725cc
Ghidra address:
Asia: 0x8027211C
Ghidra address:
EUR: 0x8027463c
Ghidra address:
JPN: 0x802740ec

◆ g_texControllerLayout4

Texture g_texControllerLayout4
extern

The picture of button layout 4.

Ghidra address:
USA: 0x802725e0
Ghidra address:
Asia: 0x80272130
Ghidra address:
EUR: 0x80274650
Ghidra address:
JPN: 0x80274100

◆ g_TitleBarTextureDesc

Texture g_TitleBarTextureDesc
extern

The title picture of the options screens.

Ghidra address:
USA: 0x8027205c
Ghidra address:
Asia: 0x80271BAC
Ghidra address:
EUR: 0x8027403c
Ghidra address:
JPN: 0x80273d50

◆ g_apControllerScreenItems

MenuItem* g_apControllerScreenItems[]
extern

The items of the screen, one per layout.

Ghidra address:
USA: 0x80272658
Ghidra address:
Asia: 0x802721A8
Ghidra address:
EUR: 0x802746b4
Ghidra address:
JPN: 0x80274178