-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathNoteblock.h
More file actions
34 lines (26 loc) · 713 Bytes
/
Noteblock.h
File metadata and controls
34 lines (26 loc) · 713 Bytes
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
#ifndef NOTEBLOCK_INCLUDED
#define NOTEBLOCK_INCLUDED
#include "SM64DS_PI.h"
struct Noteblock : public Platform
{
void UpdateModelTransform();
static void OnFloorAfterClsn(MeshColliderBase& clsn, Actor* clsnActor, Actor* otherActor);
virtual void Jiggle();
virtual void Launch();
virtual int InitResources() override;
virtual int CleanupResources() override;
virtual bool BeforeBehavior() override;
virtual int Behavior() override;
virtual int Render() override;
virtual ~Noteblock();
int stage;
Vector3 oldPos;
bool isLaunching;
bool boost;
ShadowModel shadow;
Matrix4x3 shadowMat;
static SpawnInfo spawnData;
static SharedFilePtr modelFile;
static SharedFilePtr clsnFile;
};
#endif