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

#include <Snowman.h>

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

Public Member Functions

 OSnowman (const SpawnParams &params)
 
 ~OSnowman ()
 
virtual void Tick () override
 
virtual void Draw (s32 cameraId) override
 
virtual void Translate (FVector pos) override
 
void DrawHead (s32)
 
void DrawBody (s32)
 
void func_80083868 (s32)
 
void func_80083948 (s32)
 
void func_80083A94 (s32)
 
void func_80083B0C (s32)
 
void func_80083C04 (s32)
 
void func_80083BE4 (s32)
 
void func_800836F0 (Vec3f)
 
bool func_80073D0C (s32 objectIndex, s16 *arg1, s32 arg2, s32 arg3, s32 arg4, s32 arg5, s32 arg6)
 
void func_80083538 (s32 objectIndex, Vec3f arg1, s32 arg2, s32 arg3)
 
void func_8008379C (s32 objectIndex)
 
- 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
 
void Rotate (IRotator rot)
 
void SetScale (FVector scale)
 
virtual void DrawEditorProperties ()
 

Static Public Member Functions

static OSnowmanSpawn (FVector pos)
 
static size_t GetCount ()
 

Private Attributes

FVector Pos
 
size_t _idx
 
s32 _headIndex
 
s32 _bodyIndex
 

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
 

Constructor & Destructor Documentation

◆ OSnowman()

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

◆ ~OSnowman()

OSnowman::~OSnowman ( )
inline

Member Function Documentation

◆ Draw()

void OSnowman::Draw ( s32 cameraId)
overridevirtual

Reimplemented from OObject.

Here is the call graph for this function:

◆ DrawBody()

void OSnowman::DrawBody ( s32 cameraId)
Todo
quick hack to add the snow particles on hit. Need to separate into its own class
Here is the call graph for this function:
Here is the caller graph for this function:

◆ DrawHead()

void OSnowman::DrawHead ( s32 cameraId)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_80073D0C()

bool OSnowman::func_80073D0C ( s32 objectIndex,
s16 * arg1,
s32 arg2,
s32 arg3,
s32 arg4,
s32 arg5,
s32 arg6 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_80083538()

void OSnowman::func_80083538 ( s32 objectIndex,
Vec3f arg1,
s32 arg2,
s32 arg3 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_800836F0()

void OSnowman::func_800836F0 ( Vec3f pos)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8008379C()

void OSnowman::func_8008379C ( s32 objectIndex)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_80083868()

void OSnowman::func_80083868 ( s32 objectIndex)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_80083948()

void OSnowman::func_80083948 ( s32 objectIndex)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_80083A94()

void OSnowman::func_80083A94 ( s32 objectIndex)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_80083B0C()

void OSnowman::func_80083B0C ( s32 objectIndex)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_80083BE4()

void OSnowman::func_80083BE4 ( s32 objectIndex)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_80083C04()

void OSnowman::func_80083C04 ( s32 objectIndex)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetCount()

static size_t OSnowman::GetCount ( )
inlinestatic

◆ Spawn()

static OSnowman * OSnowman::Spawn ( FVector pos)
inlinestatic
Here is the call graph for this function:

◆ Tick()

void OSnowman::Tick ( void )
overridevirtual
Todo
quick hack to add the snow particles on hit. Need to separate into its own class

Reimplemented from OObject.

Here is the call graph for this function:

◆ Translate()

void OSnowman::Translate ( FVector pos)
overridevirtual

Reimplemented from OObject.

Field Documentation

◆ _bodyIndex

s32 OSnowman::_bodyIndex
private

◆ _count

size_t OSnowman::_count = 0
staticprivate

◆ _headIndex

s32 OSnowman::_headIndex
private

◆ _idx

size_t OSnowman::_idx
private

◆ Pos

FVector OSnowman::Pos
private

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