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

#include <Trophy.h>

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

Public Types

enum  TrophyType : int16_t {
  BRONZE , SILVER , GOLD , BRONZE_150 ,
  SILVER_150 , GOLD_150
}
 
enum  Behaviour : int16_t {
  PODIUM_CEREMONY , STATIONARY , ROTATE , ROTATE2 ,
  GO_FISH
}
 

Public Member Functions

 OTrophy (const SpawnParams &params)
 
virtual void SetSpawnParams (SpawnParams &params) override
 
virtual void Tick () override
 
virtual void Draw (s32 cameraId) override
 
virtual void DrawEditorProperties () override
 
void func_80086700 (s32 objectIndex)
 
void func_80086940 (s32 objectIndex)
 
void func_80086C14 (s32 objectIndex)
 
void func_80086C6C (s32 objectIndex)
 
- Public Member Functions inherited from OObject
virtual ~OObject ()=default
 
 OObject ()
 
 OObject (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)
 

Static Public Member Functions

static OTrophySpawn (const FVector &pos, TrophyType trophy, Behaviour bhv)
 

Private Attributes

StarEmitter_emitter
 
TrophyType _type
 
Behaviour _bhv
 
int8_t _toggle
 
int8_t * _toggleVisibility
 
Vec3f _oldPos
 
bool _isMod = false
 

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
 

Member Enumeration Documentation

◆ Behaviour

enum OTrophy::Behaviour : int16_t
Enumerator
PODIUM_CEREMONY 
STATIONARY 
ROTATE 
ROTATE2 
GO_FISH 

◆ TrophyType

enum OTrophy::TrophyType : int16_t
Enumerator
BRONZE 
SILVER 
GOLD 
BRONZE_150 
SILVER_150 
GOLD_150 

Constructor & Destructor Documentation

◆ OTrophy()

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

Member Function Documentation

◆ Draw()

void OTrophy::Draw ( s32 cameraId)
overridevirtual

Reimplemented from OObject.

Here is the call graph for this function:

◆ DrawEditorProperties()

void OTrophy::DrawEditorProperties ( )
overridevirtual

Reimplemented from OObject.

Here is the call graph for this function:

◆ func_80086700()

void OTrophy::func_80086700 ( s32 objectIndex)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_80086940()

void OTrophy::func_80086940 ( s32 objectIndex)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_80086C14()

void OTrophy::func_80086C14 ( s32 objectIndex)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_80086C6C()

void OTrophy::func_80086C6C ( s32 objectIndex)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetSpawnParams()

void OTrophy::SetSpawnParams ( SpawnParams & params)
overridevirtual

Reimplemented from OObject.

Here is the call graph for this function:

◆ Spawn()

static OTrophy * OTrophy::Spawn ( const FVector & pos,
TrophyType trophy,
Behaviour bhv )
inlinestatic
Here is the call graph for this function:

◆ Tick()

void OTrophy::Tick ( void )
overridevirtual

Reimplemented from OObject.

Here is the call graph for this function:

Field Documentation

◆ _bhv

Behaviour OTrophy::_bhv
private

◆ _emitter

StarEmitter* OTrophy::_emitter
private

◆ _isMod

bool OTrophy::_isMod = false
private

◆ _oldPos

Vec3f OTrophy::_oldPos
private

◆ _toggle

int8_t OTrophy::_toggle
private

◆ _toggleVisibility

int8_t* OTrophy::_toggleVisibility
private

◆ _type

TrophyType OTrophy::_type
private

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