Mario Kart 64
Loading...
Searching...
No Matches
ACar Class Reference

#include <Car.h>

Inheritance diagram for ACar:
[legend]
Collaboration diagram for ACar:
[legend]

Public Member Functions

 ACar (f32 speedA, f32 speedB, TrackPathPoint *path, uint32_t waypoint)
 
 ~ACar ()
 
virtual void Tick () override
 
virtual void Draw (Camera *) override
 
virtual void VehicleCollision (s32 playerId, Player *player) override
 
virtual bool IsMod () override
 
- Public Member Functions inherited from AActor
virtual ~AActor ()=default
 
 AActor ()
 
virtual void Collision (Player *player, AActor *actor)
 
void SetLocation (FVector pos)
 
FVector GetLocation () const
 
virtual void Destroy ()
 

Static Public Member Functions

static size_t GetCount ()
 

Data Fields

const char * Type
 
size_t Index
 
f32 Speed
 
s16 ActorIndex
 
Vec3f Position
 
Vec3f Velocity
 
Vec3s Rotation
 
f32 SomeMultiplierTheSequel
 
s8 SomeFlagsTheSequel = 0
 
u16 WaypointIndex
 
s8 SomeFlags = 0
 
s16 SomeType
 
f32 SomeArg3 = 11.5f
 
f32 SomeArg4 = 8.5f
 
u32 SoundBits = SOUND_ARG_LOAD(0x51, 0x01, 0x80, 0x05)
 
- Data Fields inherited from AActor
s16 Type = 0
 
s16 Flags
 
s16 Unk_04
 
s16 State
 
f32 Unk_08
 
f32 BoundingBoxSize
 
Vec3s Rot = {0, 0, 0}
 
s16 Unk_16
 
Vec3f Pos
 
Vec3f Velocity = {0, 0, 0}
 
Collision Unk30
 
uint8_t uuid [16]
 
const char * Name = ""
 
FVector Scale = {1, 1, 1}
 
Gfx * Model = NULL
 

Static Private Attributes

static size_t _count = 0
 

Constructor & Destructor Documentation

◆ ACar()

ACar::ACar ( f32 speedA,
f32 speedB,
TrackPathPoint * path,
uint32_t waypoint )
explicit
Here is the call graph for this function:

◆ ~ACar()

ACar::~ACar ( )
inline

Member Function Documentation

◆ Draw()

void ACar::Draw ( Camera * camera)
overridevirtual

Reimplemented from AActor.

Here is the call graph for this function:

◆ GetCount()

static size_t ACar::GetCount ( )
inlinestatic

◆ IsMod()

bool ACar::IsMod ( )
overridevirtual

Reimplemented from AActor.

◆ Tick()

void ACar::Tick ( )
overridevirtual

Reimplemented from AActor.

Here is the call graph for this function:

◆ VehicleCollision()

void ACar::VehicleCollision ( s32 playerId,
Player * player )
overridevirtual

Reimplemented from AActor.

Here is the call graph for this function:

Field Documentation

◆ _count

size_t ACar::_count = 0
staticprivate

◆ ActorIndex

s16 ACar::ActorIndex

◆ Index

size_t ACar::Index

◆ Position

Vec3f ACar::Position

◆ Rotation

Vec3s ACar::Rotation

◆ SomeArg3

f32 ACar::SomeArg3 = 11.5f

◆ SomeArg4

f32 ACar::SomeArg4 = 8.5f

◆ SomeFlags

s8 ACar::SomeFlags = 0

◆ SomeFlagsTheSequel

s8 ACar::SomeFlagsTheSequel = 0

◆ SomeMultiplierTheSequel

f32 ACar::SomeMultiplierTheSequel

◆ SomeType

s16 ACar::SomeType

◆ SoundBits

u32 ACar::SoundBits = SOUND_ARG_LOAD(0x51, 0x01, 0x80, 0x05)

◆ Speed

f32 ACar::Speed

◆ Type

const char* ACar::Type

◆ Velocity

Vec3f ACar::Velocity

◆ WaypointIndex

u16 ACar::WaypointIndex

The documentation for this class was generated from the following files: