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

The weather selection screen. More...

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

Go to the source code of this file.

Functions

s32 IsWeatherSelectable (s32 weather)
 Return whether a weather may be chosen.
void ProcessWeatherSelect (void)
 Run one frame of the weather selection screen.

Variables

MenuItem * g_apWeatherMenuItems []
 The items of the screen, in the order of the weathers, ending with NULL.

Detailed Description

The weather selection screen.

Function Documentation

◆ IsWeatherSelectable()

s32 IsWeatherSelectable ( s32 weather)

Return whether a weather may be chosen.

Sunny is offered only to one player and off tracks 3 and 8.

Parameters
weatherThe weather, a WEATHER_* value.
Returns
Non-zero when the weather may be chosen.
Ghidra address:
USA: 0x80210f80
Ghidra address:
Asia: 0x80210B10
Ghidra address:
EUR: 0x80210de0
Ghidra address:
JPN: 0x80210cd0

◆ ProcessWeatherSelect()

void ProcessWeatherSelect ( void )

Run one frame of the weather selection screen.

Ghidra address:
USA: 0x80210fc8
Ghidra address:
Asia: 0x80210B58
Ghidra address:
EUR: 0x80210e28
Ghidra address:
JPN: 0x80210d18

Variable Documentation

◆ g_apWeatherMenuItems

MenuItem* g_apWeatherMenuItems[]
extern

The items of the screen, in the order of the weathers, ending with NULL.

Ghidra address:
USA: 0x802722a4
Ghidra address:
Asia: 0x80271DF4
Ghidra address:
EUR: 0x80274284
Ghidra address:
JPN: 0x80273d34