SMG-Decomp
A decompilation of Super Mario Galaxy 1
Loading...
Searching...
No Matches
include
Game
NPC
PowerStarEventKeeper.hpp
1
#pragma once
2
3
#include <revolution.h>
4
#include "JSystem/JGeometry.hpp"
5
6
struct
PowerStarInfo
{
7
u8 _0;
8
u8 _1;
9
u8 _2;
10
u8 _3;
11
const
char
* _4;
12
};
13
14
class
PowerStarEventKeeper
{
15
public
:
16
PowerStarEventKeeper
();
17
18
void
initStarInfoTable();
19
s32 findStarID(
const
char
*)
const
;
20
void
declareStar(
const
char
*,
const
char
*, s32,
bool
);
21
bool
isGreen(
const
char
*, s32)
const
;
22
bool
isRed(
const
char
*, s32)
const
;
23
bool
isGrand(
const
char
*, s32)
const
;
24
void
initStarInfoTableAfterPlacement();
25
void
requestAppearPowerStar(
const
char
*, s32,
const
TVec3f *,
bool
,
bool
);
26
bool
isExistPowerStarAtScenario(
int
)
const
;
27
bool
isCorrectStarIdWithBBS(
const
char
*,
const
char
*, s32)
const
;
28
bool
isSuccess(
const
char
*, s32)
const
;
29
30
u32 _0;
31
s32 mPowerStarNum;
// _4
32
PowerStarInfo
** mInfoTbl;
// _8
33
};
PowerStarEventKeeper
Definition
PowerStarEventKeeper.hpp:14
PowerStarInfo
Definition
PowerStarEventKeeper.hpp:6
Generated by
1.10.0