SMG-Decomp
A decompilation of Super Mario Galaxy 1
Loading...
Searching...
No Matches
PowerStarHolder.hpp
1#pragma once
2
3#include "Game/MapObj/PowerStar.hpp"
4
6 PowerStar* mStar; // _0
7 int mStarNum; // _4
8 bool mIsAppear; // _8
9};
10
11class PowerStarHolder : public NameObj {
12public:
13 PowerStarHolder(const char *);
14
15 virtual ~PowerStarHolder();
16 virtual void init(const JMapInfoIter &);
17
18 void registerPowerStar(PowerStar *, int);
19 void requestAppearPowerStar(int, const TVec3f *, bool);
20 void appearPowerStarWithoutDemo(int);
21 PowerStar* getAppearedPowerStar(int) const;
22 PowerStarRequestInfo* findPowerStarRequestInfo(int) const;
23
24 PowerStarRequestInfo* mInfos[0x10]; // _C
25 s32 mNumInfos; // _4C
26};
27
28namespace MR {
29 void registerPowerStar(PowerStar *, int);
30};
31
33public:
34 static bool isEndPowerStarAppearDemo(int);
35 static PowerStar* findPowerStar(int);
36};
The most basic form of an object.
Definition NameObj.hpp:11
virtual void init(const JMapInfoIter &)
Intializes the NameObj and can set various settings and construct necessary classes.