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

#include <Finishline.h>

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

Public Member Functions

 AFinishline (std::optional< FVector > pos)
 
virtual ~AFinishline () override=default
 
virtual void Tick () override
 
virtual void Draw (Camera *) override
 
virtual void Collision (Player *player, AActor *actor) override
 
virtual bool IsMod () override
 
- Public Member Functions inherited from AActor
virtual ~AActor ()=default
 
 AActor ()
 
virtual void VehicleCollision (s32 playerId, Player *player)
 
void SetLocation (FVector pos)
 
FVector GetLocation () const
 
virtual void Destroy ()
 

Data Fields

bool PickedUp = false
 
uint32_t Timer = 0
 
Player_player = NULL
 
f32 Hop = 3.0f
 
f32 Gravity = 200.0f
 
f32 OldHop = 0
 
f32 OldGravity = 0
 
- 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 Public Attributes

static size_t _count = 0
 

Constructor & Destructor Documentation

◆ AFinishline()

AFinishline::AFinishline ( std::optional< FVector > pos)

Default behaviour places the finishline at the first waypoint.

  • pos, optional. Sets a custom position

◆ ~AFinishline()

virtual AFinishline::~AFinishline ( )
overridevirtualdefault
Here is the call graph for this function:

Member Function Documentation

◆ Collision()

void AFinishline::Collision ( Player * player,
AActor * actor )
overridevirtual

Reimplemented from AActor.

Here is the call graph for this function:

◆ Draw()

void AFinishline::Draw ( Camera * camera)
overridevirtual

Reimplemented from AActor.

Here is the call graph for this function:

◆ IsMod()

bool AFinishline::IsMod ( )
overridevirtual

Reimplemented from AActor.

◆ Tick()

void AFinishline::Tick ( )
overridevirtual

Reimplemented from AActor.

Field Documentation

◆ _count

size_t AFinishline::_count = 0
static

◆ _player

Player* AFinishline::_player = NULL

◆ Gravity

f32 AFinishline::Gravity = 200.0f

◆ Hop

f32 AFinishline::Hop = 3.0f

◆ OldGravity

f32 AFinishline::OldGravity = 0

◆ OldHop

f32 AFinishline::OldHop = 0

◆ PickedUp

bool AFinishline::PickedUp = false

◆ Timer

uint32_t AFinishline::Timer = 0

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