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

#include <SkyStar.h>

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

Public Member Functions

 SkyStar (ScreenContext *screen, u16 cloudVariant, u16 posY, u16 rotY, u16 scalePercent)
 
virtual ~SkyStar ()
 
virtual void Draw (ScreenContext *ctx, s32 arg0) override
 
virtual void Tick () override
 
bool star_func_80073B78 (s32 arg0, s32 arg3, s32 arg4, s32 arg5, s32 arg6, s32 arg7)
 
- Public Member Functions inherited from SkyActor
 SkyActor (ScreenContext *screen)
 
 SkyActor (ScreenContext *screen, u16 cloudVariant, u16 posY, u16 rotY, u16 scalePercent)
 
virtual ~SkyActor ()
 

Static Public Member Functions

static size_t GetCount ()
 

Private Attributes

size_t _idx
 
s16 mPrimAlpha
 
s8 mUnk_0CF
 
s16 mUnk_0AC
 
s8 mUnk_0D0
 

Static Private Attributes

static size_t _count = 0
 

Additional Inherited Members

- Data Fields inherited from SkyActor
ScreenContextmScreen
 
- Protected Attributes inherited from SkyActor
f32 mScale
 
u16 mCloudVariant
 
u8 * mTexture
 
s32 mTextureWidth
 
s32 mTextureHeight
 
bool mVisible
 
Vtx * mVtx
 
int32_t mX
 
int32_t mY
 
int32_t mRotY
 
int32_t mOldX
 
int32_t mOldY
 
s16 mUnk208
 
s16 mUnk210
 
f32 mUnk1E8
 
s16 mUnk218
 

Detailed Description

Skybox Stars

Inherits from SkyCloud so that stars/clouds can be stored in the same list and called the same way.

@cloudVariant unused for stars

Constructor & Destructor Documentation

◆ SkyStar()

SkyStar::SkyStar ( ScreenContext * screen,
u16 cloudVariant,
u16 posY,
u16 rotY,
u16 scalePercent )
Here is the call graph for this function:

◆ ~SkyStar()

virtual SkyStar::~SkyStar ( )
inlinevirtual

Member Function Documentation

◆ Draw()

void SkyStar::Draw ( ScreenContext * ctx,
s32 arg0 )
overridevirtual

Reimplemented from SkyActor.

Here is the call graph for this function:

◆ GetCount()

static size_t SkyStar::GetCount ( )
inlinestatic

◆ star_func_80073B78()

bool SkyStar::star_func_80073B78 ( s32 arg0,
s32 arg3,
s32 arg4,
s32 arg5,
s32 arg6,
s32 arg7 )
Here is the caller graph for this function:

◆ Tick()

void SkyStar::Tick ( )
overridevirtual

Reimplemented from SkyActor.

Here is the call graph for this function:

Field Documentation

◆ _count

size_t SkyStar::_count = 0
staticprivate

◆ _idx

size_t SkyStar::_idx
private

◆ mPrimAlpha

s16 SkyStar::mPrimAlpha
private

◆ mUnk_0AC

s16 SkyStar::mUnk_0AC
private

◆ mUnk_0CF

s8 SkyStar::mUnk_0CF
private

◆ mUnk_0D0

s8 SkyStar::mUnk_0D0
private

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