2023-12-13 00:40:16 -05:00
|
|
|
#include "Game/AreaObj/SimpleBloomArea.hpp"
|
2022-01-05 23:59:36 +01:00
|
|
|
|
|
|
|
|
SimpleBloomArea::SimpleBloomArea(int type, const char *pName) :
|
|
|
|
|
ImageEffectArea(IMAGE_EFFECT_TYPE_SIMPLE_BLOOM, type, pName) {
|
|
|
|
|
_40 = 0;
|
|
|
|
|
_44 = 128;
|
|
|
|
|
_45 = 76;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
SimpleBloomArea::~SimpleBloomArea() {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SimpleBloomArea::init(const JMapInfoIter &rIter) {
|
|
|
|
|
AreaObj::init(rIter);
|
|
|
|
|
MR::createSimpleBloom();
|
|
|
|
|
|
|
|
|
|
if (mObjArg0 >= 0) {
|
|
|
|
|
_40 = static_cast<u8>(mObjArg0);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (mObjArg1 >= 0) {
|
|
|
|
|
_44 = static_cast<u8>(mObjArg1);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (mObjArg2 >= 0) {
|
|
|
|
|
_45 = static_cast<u8>(mObjArg2);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const char *SimpleBloomArea::getManagerName() const {
|
|
|
|
|
return "ImageEffectArea";
|
|
|
|
|
}
|