SMG-Decomp
A decompilation of Super Mario Galaxy 1
Loading...
Searching...
No Matches
include
Game
Scene
PlacementInfoOrdered.hpp
1
#pragma once
2
3
#include "Game/Util.hpp"
4
5
typedef
NameObj
* (*CreationFuncPtr)(
const
char
*);
6
7
class
PlacementInfoOrdered
{
8
public
:
9
class
Index
{
10
public
:
11
Index
();
12
~Index
();
13
14
MR::BothDirPtrLink
mLink;
// _0
15
u32 _10;
16
s32 _14;
17
};
18
19
class
SameIdSet
{
20
public
:
21
SameIdSet
();
22
~SameIdSet
();
23
24
u32 _0;
25
s32 _4;
26
u32 _8;
27
MR::BothDirPtrList
mList;
// _C
28
};
29
30
class
Identifier
{
31
public
:
32
const
char
* mName;
// _0
33
s32 _4;
34
u32 _8;
35
u32 _C;
36
JMapInfoIter
mInfoIter;
// _10
37
};
38
39
PlacementInfoOrdered
(
int
);
40
41
void
sort();
42
void
requestFileLoad();
43
void
initPlacement();
44
void
insert(
const
Identifier
&,
const
JMapInfoIter
&);
45
u32 getUsedArrayNum()
const
;
46
SameIdSet
* find(
const
Identifier
&)
const
;
47
SameIdSet
* createSameIdSet(
const
Identifier
&);
48
Index
* createIndex(
const
JMapInfoIter
&);
49
50
Index
* mIndexArray;
// _0
51
u32 _4;
52
SameIdSet
* mSetArray;
// _8
53
Identifier
** mIdentiferArray;
// _C
54
int
mCount;
// _10
55
};
56
57
namespace
{
58
CreationFuncPtr getCreator(
const
PlacementInfoOrdered::Identifier
&);
59
};
JMapInfoIter
Definition
JMapInfo.hpp:16
MR::BothDirPtrLink
Definition
BothDirList.hpp:9
MR::BothDirPtrList
Definition
BothDirList.hpp:20
NameObj
The most basic form of an object.
Definition
NameObj.hpp:11
PlacementInfoOrdered::Identifier
Definition
PlacementInfoOrdered.hpp:30
PlacementInfoOrdered::Index
Definition
PlacementInfoOrdered.hpp:9
PlacementInfoOrdered::SameIdSet
Definition
PlacementInfoOrdered.hpp:19
PlacementInfoOrdered
Definition
PlacementInfoOrdered.hpp:7
Generated by
1.10.0