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

#include <Penguin.h>

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

Public Types

enum  PenguinType : int16_t { CHICK , ADULT , CREDITS , EMPEROR }
 
enum  Behaviour : int16_t {
  DISABLED , STRUT , CIRCLE , SLIDE3 ,
  SLIDE4 , UNK , SLIDE6
}
 

Public Member Functions

 OPenguin (const SpawnParams &params)
 
virtual void Tick () override
 
virtual void Draw (s32 cameraId) override
 
virtual void Reset () override
 
virtual void DrawEditorProperties () override
 
- 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 ()
 
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 OPenguinSpawn (FVector pos, u16 direction, u16 mirrorModeAngleOffset, f32 diameter, PenguinType type, Behaviour behaviour)
 

Data Fields

PenguinType Type = PenguinType::CHICK
 
Behaviour SpawnBhv = Behaviour::STRUT
 
- 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
 

Private Member Functions

void Behaviours (s32 objectIndex)
 
void EmperorPenguin (s32 objectIndex)
 
void func_80085080 (s32 objectIndex)
 
void func_8008502C (s32 objectIndex)
 
void func_80084D2C (s32 objectIndex, s32 arg1)
 
void InitEmperorPenguin (s32 objectIndex)
 
void OtherPenguin (s32 objectIndex)
 
void InitOtherPenguin (s32 objectIndex)
 

Static Private Attributes

static bool _toggle = false
 

Member Enumeration Documentation

◆ Behaviour

enum OPenguin::Behaviour : int16_t
Enumerator
DISABLED 
STRUT 
CIRCLE 
SLIDE3 
SLIDE4 
UNK 
SLIDE6 

◆ PenguinType

enum OPenguin::PenguinType : int16_t
Enumerator
CHICK 
ADULT 
CREDITS 
EMPEROR 

Constructor & Destructor Documentation

◆ OPenguin()

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

Member Function Documentation

◆ Behaviours()

void OPenguin::Behaviours ( s32 objectIndex)
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ Draw()

void OPenguin::Draw ( s32 cameraId)
overridevirtual

Reimplemented from OObject.

Here is the call graph for this function:

◆ DrawEditorProperties()

void OPenguin::DrawEditorProperties ( )
overridevirtual

Reimplemented from OObject.

Here is the call graph for this function:

◆ EmperorPenguin()

void OPenguin::EmperorPenguin ( s32 objectIndex)
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_80084D2C()

void OPenguin::func_80084D2C ( s32 objectIndex,
s32 arg1 )
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8008502C()

void OPenguin::func_8008502C ( s32 objectIndex)
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_80085080()

void OPenguin::func_80085080 ( s32 objectIndex)
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ InitEmperorPenguin()

void OPenguin::InitEmperorPenguin ( s32 objectIndex)
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ InitOtherPenguin()

void OPenguin::InitOtherPenguin ( s32 objectIndex)
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ OtherPenguin()

void OPenguin::OtherPenguin ( s32 objectIndex)
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ Reset()

void OPenguin::Reset ( )
overridevirtual

Reimplemented from OObject.

◆ Spawn()

static OPenguin * OPenguin::Spawn ( FVector pos,
u16 direction,
u16 mirrorModeAngleOffset,
f32 diameter,
PenguinType type,
Behaviour behaviour )
inlinestatic
Here is the call graph for this function:

◆ Tick()

void OPenguin::Tick ( void )
overridevirtual

Reimplemented from OObject.

Here is the call graph for this function:

Field Documentation

◆ _toggle

bool OPenguin::_toggle = false
staticprivate

◆ SpawnBhv

Behaviour OPenguin::SpawnBhv = Behaviour::STRUT

◆ Type

PenguinType OPenguin::Type = PenguinType::CHICK

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