SpaghettiKart
Loading...
Searching...
No Matches
SkyCloud.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <libultraship.h>
4
#include "
engine/SpawnParams.h
"
5
#include "
engine/CoreMath.h
"
6
#include "
engine/sky/SkyActor.h
"
7
8
extern
"C"
{
9
#include "
common_structs.h
"
10
#include "
code_800029B0.h
"
11
}
12
18
class
SkyCloud
:
public
SkyActor
{
19
public
:
20
SkyCloud
(
ScreenContext
* screen, u16 cloudVariant, u16 posY, u16 rotY, u16 scalePercent);
21
22
~SkyCloud
() {
23
_count
--;
24
}
25
26
static
size_t
GetCount
() {
27
return
_count
;
28
}
29
30
virtual
void
Draw
(
ScreenContext
* ctx, s32 arg0)
override
;
31
virtual
void
Tick
()
override
;
32
private
:
33
static
size_t
_count
;
34
size_t
_idx
;
35
};
CoreMath.h
SkyActor.h
SpawnParams.h
SkyActor::SkyActor
SkyActor(ScreenContext *screen)
Definition
SkyActor.h:19
SkyCloud::Draw
virtual void Draw(ScreenContext *ctx, s32 arg0) override
Definition
SkyCloud.cpp:87
SkyCloud::SkyCloud
SkyCloud(ScreenContext *screen, u16 cloudVariant, u16 posY, u16 rotY, u16 scalePercent)
Definition
SkyCloud.cpp:23
SkyCloud::_idx
size_t _idx
Definition
SkyCloud.h:34
SkyCloud::GetCount
static size_t GetCount()
Definition
SkyCloud.h:26
SkyCloud::Tick
virtual void Tick() override
Definition
SkyCloud.cpp:54
SkyCloud::~SkyCloud
~SkyCloud()
Definition
SkyCloud.h:22
SkyCloud::_count
static size_t _count
Definition
SkyCloud.h:33
code_800029B0.h
common_structs.h
ScreenContext
Definition
code_800029B0.h:14
src
engine
sky
SkyCloud.h
Generated by
1.13.2