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

The car of a vehicle of a race. More...

#include <raceview.h>

Collaboration diagram for coastline::RaceCar:

Public Attributes

int car = 0
std::array< std::uint8_t, 3 > paint {}
std::optional< std::filesystem::path > images
 Path to a menu preview or custom-decal document supplying race images.
bool otherLook = false
 Whether the car draws in its other look, with its highlighted parts reflecting the sky in place of its textured parts, as Vehicle.otherLook of the console.

Detailed Description

The car of a vehicle of a race.

Member Data Documentation

◆ car

int coastline::RaceCar::car = 0

The car, an index of g_apszCarModelPrefixes.

◆ paint

std::array<std::uint8_t, 3> coastline::RaceCar::paint {}

The red, green, and blue the car is painted.

◆ images

std::optional<std::filesystem::path> coastline::RaceCar::images

Path to a menu preview or custom-decal document supplying race images.

An empty optional selects images from the race model.

◆ otherLook

bool coastline::RaceCar::otherLook = false

Whether the car draws in its other look, with its highlighted parts reflecting the sky in place of its textured parts, as Vehicle.otherLook of the console.


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