SMG-Decomp
A decompilation of Super Mario Galaxy 1
Loading...
Searching...
No Matches
AstroOverlookObj.cpp
1#include "Game/MapObj/AstroOverlookObj.hpp"
2
3AstroOverlookObj::AstroOverlookObj(const char *pName) : LiveActor(pName) {
4 _8C = 0;
5 MR::connectToSceneMapObjMovement(this);
6 MR::invalidateClipping(this);
7 makeActorAppeared();
8}
9
10void AstroOverlookObj::control() {
11 if (MR::getCurrentAstroOverlookAreaObj()) {
12 MR::deactivateDefaultGameLayout();
13 _8C = 1;
14 }
15 else {
16 if (_8C == 1) {
17 MR::activateDefaultGameLayout();
18 _8C = 0;
19 }
20 }
21}
22
23AstroOverlookObj::~AstroOverlookObj() {
24
25}
The basis of a drawable actor that can contain states (see: Nerve)
Definition LiveActor.hpp:24