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

The settings of the options menu of the Nintendo 64 releases: the volumes of the music and of the sound effects, and the units of speed. More...

#include <PR/ultratypes.h>
Include dependency graph for optionsettings.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  OptionSettings
 The settings of the options menu, which the configuration on a Controller Pak keeps. More...

Macros

#define VOLUME_LEVELS   11
 The levels of each volume, from 0 for silence.

Functions

void ApplyVolumeSettings (void)
 Apply the music and effect volumes of the options.

Variables

OptionSettings g_OptionSettings
 The current music, sound effect, and speed-unit settings.
s32 g_adwBgmVolumeLevels [VOLUME_LEVELS]
 The volume of the music and of the effects at each level.
s32 g_adwSfxVolumeLevels [VOLUME_LEVELS]
 The sound effect volume at each level.

Detailed Description

The settings of the options menu of the Nintendo 64 releases: the volumes of the music and of the sound effects, and the units of speed.

Macro Definition Documentation

◆ VOLUME_LEVELS

#define VOLUME_LEVELS   11

The levels of each volume, from 0 for silence.

Function Documentation

◆ ApplyVolumeSettings()

void ApplyVolumeSettings ( void )

Apply the music and effect volumes of the options.

Ghidra address:
USA: 0x802118b4
Ghidra address:
Asia: 0x80211444
Ghidra address:
EUR: 0x802117a4
Ghidra address:
JPN: 0x80211694

Variable Documentation

◆ g_OptionSettings

OptionSettings g_OptionSettings
extern

The current music, sound effect, and speed-unit settings.

Ghidra address:
USA: 0x802723d0
Ghidra address:
Asia: 0x80271F20
Ghidra address:
EUR: 0x802743b0
Ghidra address:
JPN: 0x80273e60

◆ g_adwBgmVolumeLevels

s32 g_adwBgmVolumeLevels[VOLUME_LEVELS]
extern

The volume of the music and of the effects at each level.

Ghidra address:
USA: 0x80272488
Ghidra address:
Asia: 0x80271FD8
Ghidra address:
EUR: 0x80274438
Ghidra address:
JPN: 0x80273ee8

◆ g_adwSfxVolumeLevels

s32 g_adwSfxVolumeLevels[VOLUME_LEVELS]
extern

The sound effect volume at each level.

Ghidra address:
USA: 0x802724b4
Ghidra address:
Asia: 0x80272004
Ghidra address:
EUR: 0x80274464
Ghidra address:
JPN: 0x80273f14