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

#include <Lakitu.h>

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

Public Types

enum  LakituType : uint32_t {
  STARTER = 1 , FINISH , TOW , SECOND_LAP ,
  FINAL_LAP , REVERSE , TOW_ICE_CUBE
}
 
enum  LakituTowType : uint16_t { NORMAL , ICE }
 

Public Member Functions

 OLakitu (s32 playerId, LakituType type)
 
 ~OLakitu ()
 
void Activate (LakituType type)
 
virtual void Tick () override
 
virtual void Tick60fps () override
 
virtual void Draw (s32 playerId) override
 
void func_80078F64 ()
 
void func_80079054 (s32 playerId)
 
void func_80079084 (s32 playerId)
 
void func_800790B4 (s32 playerId)
 
void func_800790E4 (s32 playerId)
 
void func_80079114 (s32 objectIndex, s32 playerId, s32 arg2)
 
void func_800791F0 (s32 objectIndex, s32 playerId)
 
void init_obj_lakitu_starter_and_checkered_flag (s32 objectIndex, s32 playerId)
 
void update_object_lakitu_starter (s32 objectIndex, s32 arg1)
 
void func_800729EC (s32 objectIndex)
 
void init_obj_lakitu_checkered_flag (s32 objectIndex, s32 playerIndex)
 
void update_object_lakitu_checkered_flag (s32 objectIndex, s32 playerIndex)
 
void func_800797AC (s32 playerId)
 
void func_80079860 (s32 playerId)
 
void func_8007993C (s32 objectIndex, Player *player)
 
void init_obj_lakitu_red_flag_fishing (s32 objectIndex, s32 arg1)
 
void func_80079A5C (s32 objectIndex, UNUSED Player *player)
 
void update_object_lakitu_fishing (s32 objectIndex, s32 playerId)
 
void update_object_lakitu_fishing2 (s32 objectIndex, s32 playerId)
 
void func_8007A060 (s32 objectIndex, s32 playerIndex)
 
void update_object_lakitu_second_lap (s32 objectIndex, s32 playerIndex)
 
void func_8007A228 (s32 objectIndex, s32 playerIndex)
 
void update_object_lakitu_final_lap (s32 objectIndex, s32 playerIndex)
 
void func_8007A3F0 (s32 objectIndex, s32 arg1)
 
void update_object_lakitu_reverse (s32 objectIndex, s32 playerId)
 
void func_8007A66C (s32 objectIndex)
 
void func_8007A778 (s32 objectIndex)
 
void func_8007A88C (s32 playerId)
 
void func_8007A910 (s32 arg0)
 
void func_8007AA44 (s32 playerId)
 
- Public Member Functions inherited from OObject
virtual ~OObject ()=default
 
 OObject ()
 
 OObject (SpawnParams params)
 
virtual void SetSpawnParams (SpawnParams &params)
 
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 ()
 

Private Attributes

size_t _idx
 
LakituType _type
 
s32 mPlayerId
 
s32 mCameraId
 
s32 mLakituId
 

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

Note that you only want 1 lakitu spawned in per human player Otherwise Lakitu will animate faster than normal.

Member Enumeration Documentation

◆ LakituTowType

enum OLakitu::LakituTowType : uint16_t
Enumerator
NORMAL 
ICE 

◆ LakituType

enum OLakitu::LakituType : uint32_t
Enumerator
STARTER 
FINISH 
TOW 
SECOND_LAP 
FINAL_LAP 
REVERSE 
TOW_ICE_CUBE 

Constructor & Destructor Documentation

◆ OLakitu()

OLakitu::OLakitu ( s32 playerId,
LakituType type )
explicit
Here is the call graph for this function:

◆ ~OLakitu()

OLakitu::~OLakitu ( )
inline

Member Function Documentation

◆ Activate()

void OLakitu::Activate ( LakituType type)
Here is the call graph for this function:

◆ Draw()

void OLakitu::Draw ( s32 playerId)
overridevirtual

Reimplemented from OObject.

Here is the call graph for this function:

◆ func_800729EC()

void OLakitu::func_800729EC ( s32 objectIndex)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_80078F64()

void OLakitu::func_80078F64 ( )

◆ func_80079054()

void OLakitu::func_80079054 ( s32 playerId)

◆ func_80079084()

void OLakitu::func_80079084 ( s32 playerId)

◆ func_800790B4()

void OLakitu::func_800790B4 ( s32 playerId)

◆ func_800790E4()

void OLakitu::func_800790E4 ( s32 playerId)

◆ func_80079114()

void OLakitu::func_80079114 ( s32 objectIndex,
s32 playerId,
s32 arg2 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_800791F0()

void OLakitu::func_800791F0 ( s32 objectIndex,
s32 playerId )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_800797AC()

void OLakitu::func_800797AC ( s32 playerId)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_80079860()

void OLakitu::func_80079860 ( s32 playerId)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8007993C()

void OLakitu::func_8007993C ( s32 objectIndex,
Player * player )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_80079A5C()

void OLakitu::func_80079A5C ( s32 objectIndex,
UNUSED Player * player )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8007A060()

void OLakitu::func_8007A060 ( s32 objectIndex,
s32 playerIndex )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8007A228()

void OLakitu::func_8007A228 ( s32 objectIndex,
s32 playerIndex )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8007A3F0()

void OLakitu::func_8007A3F0 ( s32 objectIndex,
s32 arg1 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8007A66C()

void OLakitu::func_8007A66C ( s32 objectIndex)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8007A778()

void OLakitu::func_8007A778 ( s32 objectIndex)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8007A88C()

void OLakitu::func_8007A88C ( s32 playerId)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8007A910()

void OLakitu::func_8007A910 ( s32 arg0)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8007AA44()

void OLakitu::func_8007AA44 ( s32 playerId)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ init_obj_lakitu_checkered_flag()

void OLakitu::init_obj_lakitu_checkered_flag ( s32 objectIndex,
s32 playerIndex )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ init_obj_lakitu_red_flag_fishing()

void OLakitu::init_obj_lakitu_red_flag_fishing ( s32 objectIndex,
s32 arg1 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ init_obj_lakitu_starter_and_checkered_flag()

void OLakitu::init_obj_lakitu_starter_and_checkered_flag ( s32 objectIndex,
s32 playerId )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ Tick()

void OLakitu::Tick ( void )
overridevirtual

Reimplemented from OObject.

Here is the call graph for this function:

◆ Tick60fps()

void OLakitu::Tick60fps ( )
overridevirtual

Reimplemented from OObject.

Here is the call graph for this function:

◆ update_object_lakitu_checkered_flag()

void OLakitu::update_object_lakitu_checkered_flag ( s32 objectIndex,
s32 playerIndex )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ update_object_lakitu_final_lap()

void OLakitu::update_object_lakitu_final_lap ( s32 objectIndex,
s32 playerIndex )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ update_object_lakitu_fishing()

void OLakitu::update_object_lakitu_fishing ( s32 objectIndex,
s32 playerId )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ update_object_lakitu_fishing2()

void OLakitu::update_object_lakitu_fishing2 ( s32 objectIndex,
s32 playerId )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ update_object_lakitu_reverse()

void OLakitu::update_object_lakitu_reverse ( s32 objectIndex,
s32 playerId )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ update_object_lakitu_second_lap()

void OLakitu::update_object_lakitu_second_lap ( s32 objectIndex,
s32 playerIndex )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ update_object_lakitu_starter()

void OLakitu::update_object_lakitu_starter ( s32 objectIndex,
s32 arg1 )
Here is the call graph for this function:
Here is the caller graph for this function:

Field Documentation

◆ _count

size_t OLakitu::_count = 0
staticprivate

◆ _idx

size_t OLakitu::_idx
private

◆ _type

LakituType OLakitu::_type
private

◆ mCameraId

s32 OLakitu::mCameraId
private

◆ mLakituId

s32 OLakitu::mLakituId
private

◆ mPlayerId

s32 OLakitu::mPlayerId
private

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