SMG-Decomp
A decompilation of Super Mario Galaxy 1
Loading...
Searching...
No Matches
GameEventFlag.hpp
1#pragma once
2
3#include <revolution.h>
4
6 const char* mName; // _0
7 u8 mType; // _4
8 u8 _5;
9 u8 mStarID; // _6
10 u8 mStarPieceNum; // _7
11 u8 _8;
12 u8 _9;
13 u8 _A;
14 u8 _B;
15
16 // _C
17 union {
18 const char* mGalaxyName;
19 const char* mEventValueName;
20 };
21
22 u32 mRequirement; // _10
23};
24
26public:
28
29 const char* getName() const;
30 bool isTypeGalaxyOpenStar() const;
31 bool isTypeSpecialStar() const;
32 bool isTypeStarPiece() const;
33 bool isTypeEventValueIsZero() const;
34 const char* getGalaxyName() const;
35 s32 getStarId() const;
36 u8 getStarPieceIndex() const;
37 const char* getGalaxyNameWithStarPiece() const;
38 u8 getNeedStarPieceNum() const;
39 const char* getEventValueName() const;
40 u32 getRequirement() const;
41
42 const GameEventFlag* mFlag; // _0
43};