SMG-Decomp
A decompilation of Super Mario Galaxy 1
Loading...
Searching...
No Matches
include
Game
MapObj
PowerStarHolder.hpp
1
#pragma once
2
3
#include "Game/MapObj/PowerStar.hpp"
4
5
struct
PowerStarRequestInfo
{
6
PowerStar
* mStar;
// _0
7
int
mStarNum;
// _4
8
bool
mIsAppear;
// _8
9
};
10
11
class
PowerStarHolder
:
public
NameObj
{
12
public
:
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
28
namespace
MR {
29
void
registerPowerStar(
PowerStar
*,
int
);
30
};
31
32
class
PowerStarFunction
{
33
public
:
34
static
bool
isEndPowerStarAppearDemo(
int
);
35
static
PowerStar
* findPowerStar(
int
);
36
};
JMapInfoIter
Definition
JMapInfo.hpp:16
NameObj
The most basic form of an object.
Definition
NameObj.hpp:11
PowerStarFunction
Definition
PowerStarHolder.hpp:32
PowerStarHolder
Definition
PowerStarHolder.hpp:11
PowerStarHolder::init
virtual void init(const JMapInfoIter &)
Intializes the NameObj and can set various settings and construct necessary classes.
Definition
PowerStarHolder.cpp:9
PowerStar
Definition
PowerStar.hpp:15
PowerStarRequestInfo
Definition
PowerStarHolder.hpp:5
Generated by
1.10.0