blob: 1d9dcccc184321356b936056e40f3774f6599aa3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
#pragma once
#include <libultraship.h>
#include "SkyCloud.h"
#include "engine/registry/RegisterContent.h"
#include "engine/World.h"
#include "engine/SpawnParams.h"
#include "engine/CoreMath.h"
#include "engine/objects/Object.h"
extern "C" {
#include "common_structs.h"
}
/**
* 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
*/
class SkySnow : public SkyActor {
public:
SkySnow(ScreenContext* screen);
~SkySnow() {
_count--;
}
static size_t GetCount() {
return _count;
}
virtual void Draw(ScreenContext* ctx, s32 arg0) override;
virtual void Tick() override;
void func_80077E20();
void func_80077F64(Camera* camera);
private:
static size_t _count;
size_t _idx;
s32 mState;
s32 mState2;
FVector mOffset;
FVector mOrigin;
FVector mVelocity;
Vec3su mDirectionAngle;
};
|