Decompile 2 functions in Source/Contents/Effects/ShadowExceedNewEffect.cpp
Batch #15656 by Yommy: 2 byte-identical, 0 confirmed by peer review. - fn_07430 CShadowExceedNew::Close: byte-identical - fn_07438 CShadowExceedNew::Render: byte-identical Merged automatically: every function is byte-identical to the original.
This commit is contained in:
parent
6926e60d6e
commit
6f45fc36d1
1 changed files with 9 additions and 9 deletions
|
|
@ -16,13 +16,13 @@
|
|||
// OFFSET: 0x00727EF0
|
||||
// FUNCTION: fn_07430
|
||||
void CShadowExceedNew::Close() {
|
||||
for (auto it = this->frontEmitters.begin(); it != this->frontEmitters.end(); ++it) {
|
||||
FreeParticle(*it);
|
||||
for (CEZ2STRParticle* emitter : this->frontEmitters) {
|
||||
FreeParticle(emitter);
|
||||
}
|
||||
this->frontEmitters.clear();
|
||||
|
||||
for (auto it = this->backEmitters.begin(); it != this->backEmitters.end(); ++it) {
|
||||
FreeParticle(*it);
|
||||
for (CEZ2STRParticle* emitter : this->backEmitters) {
|
||||
FreeParticle(emitter);
|
||||
}
|
||||
this->backEmitters.clear();
|
||||
}
|
||||
|
|
@ -140,13 +140,13 @@ void CShadowExceedNew::OnProcess() {
|
|||
// OFFSET: 0x00729280
|
||||
// FUNCTION: fn_07438
|
||||
void CShadowExceedNew::Render() {
|
||||
if (!this->drawBackEmitters) {
|
||||
for (auto it = this->frontEmitters.begin(); it != this->frontEmitters.end(); ++it) {
|
||||
(*it)->DrawBillboards(static_cast<CGameMode*>(g_modeMgr.GetGameMode())->camera->frame.view);
|
||||
if (this->drawBackEmitters) {
|
||||
for (CEZ2STRParticle* emitter : this->backEmitters) {
|
||||
emitter->DrawBillboards(static_cast<CGameMode*>(g_modeMgr.GetGameMode())->camera->frame.view);
|
||||
}
|
||||
} else {
|
||||
for (auto it = this->backEmitters.begin(); it != this->backEmitters.end(); ++it) {
|
||||
(*it)->DrawBillboards(static_cast<CGameMode*>(g_modeMgr.GetGameMode())->camera->frame.view);
|
||||
for (CEZ2STRParticle* emitter : this->frontEmitters) {
|
||||
emitter->DrawBillboards(static_cast<CGameMode*>(g_modeMgr.GetGameMode())->camera->frame.view);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue