SpaghettiKart
Loading...
Searching...
No Matches
OGrandPrixBalloons Class Reference

#include <GrandPrixBalloons.h>

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

Public Member Functions

 OGrandPrixBalloons (const SpawnParams &params)
 
 ~OGrandPrixBalloons ()
 
virtual void Tick () override
 
virtual void Draw (s32 cameraId) override
 
void func_80053D74 (s32 objectIndex, UNUSED s32 arg1, s32 vertexIndex, s32 index)
 
void func_80074924 (s32 objectIndex)
 
void func_80074D94 (s32 objectIndex)
 
void func_80074E28 (s32 objectIndex)
 
void func_80041480 (s16 *arg0, s16 arg1, s16 arg2, s16 *arg3)
 
- Public Member Functions inherited from OObject
virtual ~OObject ()=default
 
 OObject ()
 
 OObject (SpawnParams params)
 
virtual void SetSpawnParams (SpawnParams &params)
 
virtual void Tick60fps ()
 
virtual void Expire ()
 
virtual void Destroy ()
 
virtual void Reset ()
 
FVector GetLocation () const
 
IRotator GetRotation () const
 
FVector GetScale () const
 
virtual void Translate (FVector pos)
 
void Rotate (IRotator rot)
 
void SetScale (FVector scale)
 
virtual void DrawEditorProperties ()
 

Static Public Member Functions

static OGrandPrixBalloonsSpawn (const FVector &pos)
 
static size_t GetCount ()
 

Private Attributes

s32 _idx
 
FVector Pos
 
bool _active
 
size_t _numBalloons
 
size_t _numBalloons2
 
size_t _numBalloons3
 

Static Private Attributes

static size_t _count = 0
 

Additional Inherited Members

- Data Fields inherited from OObject
uint8_t uuid [16]
 
Object o
 
const char * Name = ""
 
const char * ResourceName = ""
 
bool bPendingDestroy = false
 
s32 _objectIndex = -1
 
const char * Model = ""
 
FVector SpawnPos = {0.0f, 0.0f, 0.0f}
 
IRotator SpawnRot = {0, 0, 0}
 
FVector SpawnScale = {1.0f, 1.0f, 1.0f}
 
float Speed = 0.0f
 
std::vector< TriangleTriangles
 

Detailed Description

Grand Prix Balloons OObject

Constructor & Destructor Documentation

◆ OGrandPrixBalloons()

OGrandPrixBalloons::OGrandPrixBalloons ( const SpawnParams & params)
explicit
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ~OGrandPrixBalloons()

OGrandPrixBalloons::~OGrandPrixBalloons ( )
inline

Member Function Documentation

◆ Draw()

void OGrandPrixBalloons::Draw ( s32 cameraId)
overridevirtual

Reimplemented from OObject.

Here is the call graph for this function:

◆ func_80041480()

void OGrandPrixBalloons::func_80041480 ( s16 * arg0,
s16 arg1,
s16 arg2,
s16 * arg3 )
Here is the caller graph for this function:

◆ func_80053D74()

void OGrandPrixBalloons::func_80053D74 ( s32 objectIndex,
UNUSED s32 arg1,
s32 vertexIndex,
s32 index )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_80074924()

void OGrandPrixBalloons::func_80074924 ( s32 objectIndex)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_80074D94()

void OGrandPrixBalloons::func_80074D94 ( s32 objectIndex)
Warning
this fades out the balloons. Original game uses _numBalloons3 here but they disappear before off-screen.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_80074E28()

void OGrandPrixBalloons::func_80074E28 ( s32 objectIndex)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetCount()

static size_t OGrandPrixBalloons::GetCount ( )
inlinestatic

◆ Spawn()

static OGrandPrixBalloons * OGrandPrixBalloons::Spawn ( const FVector & pos)
inlinestatic
Here is the call graph for this function:
Here is the caller graph for this function:

◆ Tick()

void OGrandPrixBalloons::Tick ( void )
overridevirtual

Reimplemented from OObject.

Here is the call graph for this function:

Field Documentation

◆ _active

bool OGrandPrixBalloons::_active
private

◆ _count

size_t OGrandPrixBalloons::_count = 0
staticprivate

◆ _idx

s32 OGrandPrixBalloons::_idx
private

◆ _numBalloons

size_t OGrandPrixBalloons::_numBalloons
private

◆ _numBalloons2

size_t OGrandPrixBalloons::_numBalloons2
private

◆ _numBalloons3

size_t OGrandPrixBalloons::_numBalloons3
private

◆ Pos

FVector OGrandPrixBalloons::Pos
private

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