SMG-Decomp
A decompilation of Super Mario Galaxy 1
Loading...
Searching...
No Matches
include
Game
AreaObj
WarpCube.hpp
1
#pragma once
2
3
#include "Game/AreaObj/AreaObj.hpp"
4
5
class
ActorCameraInfo
;
6
class
JMapIdInfo
;
7
8
class
WarpCube
:
public
AreaObj
{
9
public
:
10
inline
WarpCube
(
int
type,
const
char
*pName) :
AreaObj
(type, pName) {
11
mMapIdInfo = NULL;
12
}
13
14
virtual
~WarpCube
();
15
16
virtual
void
init
(
const
JMapInfoIter
&);
17
virtual
void
movement();
18
virtual
void
draw
()
const
;
19
20
JMapIdInfo
*mMapIdInfo;
// _3C
21
ActorCameraInfo
*mCameraInfo;
// _40
22
char
*mEventName;
// _44
23
u16 _48;
24
u8 _4A[2];
25
};
26
27
class
WarpCubeMgr
:
public
AreaObjMgr
{
28
public
:
29
inline
WarpCubeMgr
(s32 type,
const
char
*pName) :
AreaObjMgr
(type, pName) {
30
_1C = 0;
31
}
32
33
virtual
~WarpCubeMgr
() {
34
35
}
36
37
u32 _1C;
38
};
ActorCameraInfo
Definition
ActorCameraInfo.hpp:5
AreaObj
Definition
AreaObj.hpp:10
AreaObjMgr
Definition
AreaObj.hpp:55
JMapIdInfo
Definition
JMapIdInfo.hpp:6
JMapInfoIter
Definition
JMapInfo.hpp:16
WarpCube
Definition
WarpCube.hpp:8
WarpCube::init
virtual void init(const JMapInfoIter &)
Intializes the NameObj and can set various settings and construct necessary classes.
Definition
WarpCube.cpp:64
WarpCube::draw
virtual void draw() const
Draws the object. Does nothing until overridden.
Definition
WarpCube.cpp:28
WarpCubeMgr
Definition
WarpCube.hpp:27
Generated by
1.10.0