coastline 0.0.4
Loading...
Searching...
No Matches
coastline::CarSelectPlayer Struct Reference

The choices of a player on the car select screen, the per-player state of the console. More...

#include <menus.h>

Collaboration diagram for coastline::CarSelectPlayer:

Public Attributes

int state = 0
int cursor = 0
int prevCursor = 0
int optionCount = 0
const std::vector< MenuItem > * options = nullptr
std::string category
float slide = 0.0f
int slot = 0
int selectedCar = 0
int carModel = 0
bool customDecals = false
std::array< u8, 3 > paint {}
bool otherLook = false
std::array< int, 2 > stickRepeat {}
 The milliseconds of the stick held up and down before it presses again, as the repeatUp and repeatDown of the input of the console: positive before the first repeat, negative after it, and 0 while the stick is at rest.

Detailed Description

The choices of a player on the car select screen, the per-player state of the console.

Member Data Documentation

◆ state

int coastline::CarSelectPlayer::state = 0

The step, by the CAR_SELECT_ values.

◆ cursor

int coastline::CarSelectPlayer::cursor = 0

The option under the cursor.

◆ prevCursor

int coastline::CarSelectPlayer::prevCursor = 0

The option the cursor departed.

◆ optionCount

int coastline::CarSelectPlayer::optionCount = 0

The options of the step.

◆ options

const std::vector<MenuItem>* coastline::CarSelectPlayer::options = nullptr

The options of the step.

◆ category

std::string coastline::CarSelectPlayer::category

The name of the step.

◆ slide

float coastline::CarSelectPlayer::slide = 0.0f

How far the cars or options slide.

◆ slot

int coastline::CarSelectPlayer::slot = 0

The slot of the car shown.

◆ selectedCar

int coastline::CarSelectPlayer::selectedCar = 0

The car under the cursor.

◆ carModel

int coastline::CarSelectPlayer::carModel = 0

The car chosen.

◆ customDecals

bool coastline::CarSelectPlayer::customDecals = false

Whether the custom decals were chosen.

◆ paint

std::array<u8, 3> coastline::CarSelectPlayer::paint {}

The red, green, and blue of the paint of the car.

◆ otherLook

bool coastline::CarSelectPlayer::otherLook = false

Whether the car shows its other look, with its highlighted parts reflecting the sky in place of its textured parts.

◆ stickRepeat

std::array<int, 2> coastline::CarSelectPlayer::stickRepeat {}

The milliseconds of the stick held up and down before it presses again, as the repeatUp and repeatDown of the input of the console: positive before the first repeat, negative after it, and 0 while the stick is at rest.


The documentation for this struct was generated from the following file: