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

#include <BombKart.h>

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

Public Types

enum  States : uint16_t {
  DISABLED , CCW , CW , STATIONARY ,
  CHASE , EXPLODE , PODIUM_CEREMONY
}
 

Public Member Functions

 OBombKart (FVector pos, TrackPathPoint *waypoint, uint16_t waypointIndex, uint16_t state, f32 unk_3C)
 
 ~OBombKart ()
 
virtual void Tick () override
 
virtual void Draw (s32 cameraId) override
 
void DrawBattle (s32 cameraId)
 
void SomeRender (Vec3f arg1)
 
void LoadMtx ()
 
void Waypoint (s32 screenId)
 
- Public Member Functions inherited from OObject
virtual ~OObject ()=default
 
 OObject ()
 
virtual void Tick60fps ()
 
virtual void Expire ()
 
virtual void Destroy ()
 
virtual void Reset ()
 

Static Public Member Functions

static size_t GetCount ()
 

Data Fields

const char * Type
 
Vec3f Pos
 
Vec3f WheelPos [4]
 
f32 Unk_3C
 
u16 SomeRot
 
u16 WaypointIndex
 
States State = States::DISABLED
 
u16 BounceTimer = 0
 
u16 CircleTimer = 0
 
u16 Unk_4A = 0
 
s16 Unk_4C = 1
 
f32 CenterY
 
Collision _Collision
 
- Data Fields inherited from OObject
uint8_t uuid [16]
 
Object o
 
const char * Name = ""
 
bool bPendingDestroy = false
 
s32 _objectIndex = -1
 

Private Member Functions

PlayerFindTarget ()
 
void Chase (Player *, Vec3f pos)
 

Private Attributes

s32 _idx
 
Vec3f _spawnPos
 
Player_target = NULL
 

Static Private Attributes

static size_t _count = 0
 

Detailed Description

Used in VS mode

This differs from the other vehicle classes in that it does not get added to the standard actor list So this is sort of its own thing. Draw call in different place too.

Member Enumeration Documentation

◆ States

enum OBombKart::States : uint16_t
Enumerator
DISABLED 
CCW 
CW 
STATIONARY 
CHASE 
EXPLODE 
PODIUM_CEREMONY 

Constructor & Destructor Documentation

◆ OBombKart()

OBombKart::OBombKart ( FVector pos,
TrackPathPoint * waypoint,
uint16_t waypointIndex,
uint16_t state,
f32 unk_3C )
explicit
Here is the call graph for this function:

◆ ~OBombKart()

OBombKart::~OBombKart ( )
inline

Member Function Documentation

◆ Chase()

void OBombKart::Chase ( Player * player,
Vec3f pos )
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ Draw()

void OBombKart::Draw ( s32 cameraId)
overridevirtual

Reimplemented from OObject.

Here is the call graph for this function:

◆ DrawBattle()

void OBombKart::DrawBattle ( s32 cameraId)

◆ FindTarget()

Player * OBombKart::FindTarget ( )
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetCount()

static size_t OBombKart::GetCount ( )
inlinestatic

◆ LoadMtx()

void OBombKart::LoadMtx ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SomeRender()

void OBombKart::SomeRender ( Vec3f arg1)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ Tick()

void OBombKart::Tick ( void )
overridevirtual

Reimplemented from OObject.

Here is the call graph for this function:

◆ Waypoint()

void OBombKart::Waypoint ( s32 screenId)

Field Documentation

◆ _Collision

Collision OBombKart::_Collision

◆ _count

size_t OBombKart::_count = 0
staticprivate

◆ _idx

s32 OBombKart::_idx
private

◆ _spawnPos

Vec3f OBombKart::_spawnPos
private

◆ _target

Player* OBombKart::_target = NULL
private

◆ BounceTimer

u16 OBombKart::BounceTimer = 0

◆ CenterY

f32 OBombKart::CenterY

◆ CircleTimer

u16 OBombKart::CircleTimer = 0

◆ Pos

Vec3f OBombKart::Pos

◆ SomeRot

u16 OBombKart::SomeRot

◆ State

States OBombKart::State = States::DISABLED

◆ Type

const char* OBombKart::Type

◆ Unk_3C

f32 OBombKart::Unk_3C
Todo
Turn WheelPos into a struct

◆ Unk_4A

u16 OBombKart::Unk_4A = 0

◆ Unk_4C

s16 OBombKart::Unk_4C = 1

◆ WaypointIndex

u16 OBombKart::WaypointIndex

◆ WheelPos

Vec3f OBombKart::WheelPos[4]

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