SMG-Decomp
A decompilation of Super Mario Galaxy 1
Loading...
Searching...
No Matches
SimpleBloomArea.cpp
1#include "Game/AreaObj/SimpleBloomArea.hpp"
2
3SimpleBloomArea::SimpleBloomArea(int type, const char *pName) :
4 ImageEffectArea(IMAGE_EFFECT_TYPE_SIMPLE_BLOOM, type, pName) {
5 _40 = 0;
6 _44 = 128;
7 _45 = 76;
8}
9
10SimpleBloomArea::~SimpleBloomArea() {
11}
12
14 AreaObj::init(rIter);
15 MR::createSimpleBloom();
16
17 if (mObjArg0 >= 0) {
18 _40 = static_cast<u8>(mObjArg0);
19 }
20
21 if (mObjArg1 >= 0) {
22 _44 = static_cast<u8>(mObjArg1);
23 }
24
25 if (mObjArg2 >= 0) {
26 _45 = static_cast<u8>(mObjArg2);
27 }
28}
29
30const char *SimpleBloomArea::getManagerName() const {
31 return "ImageEffectArea";
32}
virtual void init(const JMapInfoIter &)
Intializes the NameObj and can set various settings and construct necessary classes.
Definition AreaObj.cpp:41
virtual void init(const JMapInfoIter &)
Intializes the NameObj and can set various settings and construct necessary classes.