MCPcopy Create free account
hub / github.com/doldecomp/mkdd / updatePosition

Method updatePosition

src/Shiraiwa/JugemRodSignal.cpp:166–180  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

164}
165
166void TJugemRodSignal::updatePosition(JPABaseEmitter **emitter, s32 index) {
167 if ((*emitter) != nullptr) {
168 bool bVar1 = false; // TODO: Inline
169 if ((*emitter)->checkStatus(0x8) != 0 &&
170 ((*emitter)->mAlivePtclBase.getNum() + (*emitter)->mAlivePtclChld.getNum() == 0)) {
171 bVar1 = true;
172 }
173
174 if (!bVar1) {
175 JPASetRMtxTVecfromMtx(mModel.getModel()->getAnmMtx(index), (*emitter)->mGlobalRot, &(*emitter)->mGlobalTrs);
176 return;
177 }
178 }
179 *emitter = nullptr;
180}
181
182void TJugemRodSignal::startCountDown() {
183 _188 = 0;

Callers

nothing calls this directly

Calls 4

JPASetRMtxTVecfromMtxFunction · 0.85
checkStatusMethod · 0.45
getNumMethod · 0.45
getModelMethod · 0.45

Tested by

no test coverage detected