|
coastline 0.0.4
|
The choices of a player on the car select screen, the per-player state of the console. More...
#include <menus.h>

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. | |
The choices of a player on the car select screen, the per-player state of the console.
| int coastline::CarSelectPlayer::state = 0 |
The step, by the CAR_SELECT_ values.
| int coastline::CarSelectPlayer::cursor = 0 |
The option under the cursor.
| int coastline::CarSelectPlayer::prevCursor = 0 |
The option the cursor departed.
| int coastline::CarSelectPlayer::optionCount = 0 |
The options of the step.
| const std::vector<MenuItem>* coastline::CarSelectPlayer::options = nullptr |
The options of the step.
| std::string coastline::CarSelectPlayer::category |
The name of the step.
| float coastline::CarSelectPlayer::slide = 0.0f |
How far the cars or options slide.
| int coastline::CarSelectPlayer::slot = 0 |
The slot of the car shown.
| int coastline::CarSelectPlayer::selectedCar = 0 |
The car under the cursor.
| int coastline::CarSelectPlayer::carModel = 0 |
The car chosen.
| bool coastline::CarSelectPlayer::customDecals = false |
Whether the custom decals were chosen.
| std::array<u8, 3> coastline::CarSelectPlayer::paint {} |
The red, green, and blue of the paint of the car.
| 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.
| 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.