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

#include <Penguin.h>

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

Public Types

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

Public Member Functions

 OPenguin (FVector pos, u16 direction, PenguinType type, Behaviour behaviour)
 
virtual void Tick () override
 
virtual void Draw (s32 cameraId) override
 
virtual void Reset () override
 
- Public Member Functions inherited from OObject
virtual ~OObject ()=default
 
 OObject ()
 
virtual void Tick60fps ()
 
virtual void Expire ()
 
virtual void Destroy ()
 

Data Fields

f32 Diameter = 0.0f
 
uint16_t MirrorModeAngleOffset
 
- Data Fields inherited from OObject
uint8_t uuid [16]
 
Object o
 
const char * Name = ""
 
bool bPendingDestroy = false
 
s32 _objectIndex = -1
 

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)
 

Private Attributes

PenguinType _type
 
Behaviour _bhv
 

Static Private Attributes

static bool _toggle = false
 

Member Enumeration Documentation

◆ Behaviour

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

◆ PenguinType

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

Constructor & Destructor Documentation

◆ OPenguin()

OPenguin::OPenguin ( FVector pos,
u16 direction,
PenguinType type,
Behaviour behaviour )
explicit
Here is the call 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:

◆ 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.

◆ Tick()

void OPenguin::Tick ( void )
overridevirtual

Reimplemented from OObject.

Here is the call graph for this function:

Field Documentation

◆ _bhv

Behaviour OPenguin::_bhv
private

◆ _toggle

bool OPenguin::_toggle = false
staticprivate

◆ _type

PenguinType OPenguin::_type
private

◆ Diameter

f32 OPenguin::Diameter = 0.0f

◆ MirrorModeAngleOffset

uint16_t OPenguin::MirrorModeAngleOffset

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