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

A car the players can choose, as g_aCarModels of the console records it. More...

#include <menus.h>

Collaboration diagram for coastline::MenuCar:

Public Attributes

std::string name
std::string directory
std::filesystem::path preview
int engineCar = 0
bool exists = false
int driveType = 0
int engineLayout = 0
float acceleration = 0.0f
float maxSpeed = 0.0f
int gearCount = 0
float shadowLength = 0.0f
float shadowHalfWidth = 0.0f
bool championship = true

Detailed Description

A car the players can choose, as g_aCarModels of the console records it.

Member Data Documentation

◆ name

std::string coastline::MenuCar::name

The name, in capitals.

◆ directory

std::string coastline::MenuCar::directory

The directory of its model in the import of the release.

◆ preview

std::filesystem::path coastline::MenuCar::preview

The model displayed in the car-selection stage.

◆ engineCar

int coastline::MenuCar::engineCar = 0

The car index of the PC race engine.

◆ exists

bool coastline::MenuCar::exists = false

Whether the car has a model.

◆ driveType

int coastline::MenuCar::driveType = 0

The wheels driven, as the index of their name.

◆ engineLayout

int coastline::MenuCar::engineLayout = 0

The layout of the engine, as the index of its name.

◆ acceleration

float coastline::MenuCar::acceleration = 0.0f

The acceleration shown, a full bar at 500.

◆ maxSpeed

float coastline::MenuCar::maxSpeed = 0.0f

The top speed shown, a full bar at 10.

◆ gearCount

int coastline::MenuCar::gearCount = 0

The gears of the gearbox.

◆ shadowLength

float coastline::MenuCar::shadowLength = 0.0f

The length of its shadow on the stage of the cars.

◆ shadowHalfWidth

float coastline::MenuCar::shadowHalfWidth = 0.0f

Half the width of its shadow on the stage of the cars.

◆ championship

bool coastline::MenuCar::championship = true

Whether the selected cartridge offers the car in seasons.


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