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

The first vehicle of the demo after a step of its race. More...

#include <n64attract.h>

Collaboration diagram for coastline::N64DemoFrame:

Public Attributes

float matrix [4][4]
float bodyRoll
float steerAngle
float wheelRoll [4]
std::int32_t wheelContact [4]
std::uint8_t wheelSurface [4]
std::uint8_t skidding
std::uint8_t landed
std::uint8_t impactVolume
std::uint8_t vehicleImpactVolume
std::uint8_t effect
std::uint32_t buttons
float throttle
float engineRpm
float distance
float totalTime
std::int32_t lap

Detailed Description

The first vehicle of the demo after a step of its race.

Member Data Documentation

◆ matrix

float coastline::N64DemoFrame::matrix[4][4]

The orientation and the position of the body, row by row.

◆ bodyRoll

float coastline::N64DemoFrame::bodyRoll

The roll angle of the body.

◆ steerAngle

float coastline::N64DemoFrame::steerAngle

The steering angle of the front wheels, in radians.

◆ wheelRoll

float coastline::N64DemoFrame::wheelRoll[4]

How far each wheel has turned, in degrees.

◆ wheelContact

std::int32_t coastline::N64DemoFrame::wheelContact[4]

The frames each wheel has touched the ground.

◆ wheelSurface

std::uint8_t coastline::N64DemoFrame::wheelSurface[4]

The surface under each wheel.

◆ skidding

std::uint8_t coastline::N64DemoFrame::skidding

Set while the tyres skid.

◆ landed

std::uint8_t coastline::N64DemoFrame::landed

Set when a wheel lands.

◆ impactVolume

std::uint8_t coastline::N64DemoFrame::impactVolume

The loudest hit of the track since the sounds played.

◆ vehicleImpactVolume

std::uint8_t coastline::N64DemoFrame::vehicleImpactVolume

The loudest hit of another vehicle.

◆ effect

std::uint8_t coastline::N64DemoFrame::effect

The effect byte the vehicle sounds clear.

◆ buttons

std::uint32_t coastline::N64DemoFrame::buttons

The buttons and the race actions of the input.

◆ throttle

float coastline::N64DemoFrame::throttle

The throttle, below 0 in reverse.

◆ engineRpm

float coastline::N64DemoFrame::engineRpm

The revolutions of the engine a minute.

◆ distance

float coastline::N64DemoFrame::distance

The distance travelled along the route.

◆ totalTime

float coastline::N64DemoFrame::totalTime

The time of the race so far, in seconds.

◆ lap

std::int32_t coastline::N64DemoFrame::lap

The laps finished.


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