Decompile fn_07532 (CViolentQuakeEffect::Close)
Batch #4063 by Yommy: 1 byte-identical, 0 confirmed by peer review. - fn_07532 CViolentQuakeEffect::Close: byte-identical Merged automatically: every function is byte-identical to the original.
This commit is contained in:
parent
d9f5174f6b
commit
d6af15cda7
2 changed files with 24 additions and 0 deletions
|
|
@ -3,14 +3,34 @@
|
|||
#include "Client/Mode/CGameMode.h"
|
||||
#include "Client/Mode/ModeMgr.h"
|
||||
#include "Contents/Camera/Camera.h"
|
||||
#include "Contents/Effects/EffectMemoryMgr.h"
|
||||
#include "Contents/Effects/Particle.h"
|
||||
#include "Utility/Math/AffineMatrix.h"
|
||||
#include "Utility/Text/FormatString.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <cstdlib>
|
||||
#include <string>
|
||||
|
||||
// OFFSET: 0x0072F4E0
|
||||
// FUNCTION: fn_07529
|
||||
CViolentQuakeEffect::CViolentQuakeEffect() : CEffect(-1) {
|
||||
}
|
||||
|
||||
// OFFSET: 0x0072F640
|
||||
|
||||
// OFFSET: 0x0072FBA0
|
||||
// FUNCTION: fn_07532
|
||||
void CViolentQuakeEffect::Close() {
|
||||
for (std::vector<CEZ2STRParticle*>::iterator it = this->emitters.begin(); it != this->emitters.end(); ++it) {
|
||||
FreeParticle(*it);
|
||||
}
|
||||
|
||||
this->emitters.clear();
|
||||
}
|
||||
|
||||
// OFFSET: 0x0072FBE0
|
||||
|
||||
// OFFSET: 0x0072FD00
|
||||
// FUNCTION: fn_07534
|
||||
bool CViolentQuakeEffect::Slot06() {
|
||||
|
|
|
|||
|
|
@ -12,10 +12,14 @@ class CViolentQuakeEffect : public CEffect {
|
|||
public:
|
||||
CViolentQuakeEffect();
|
||||
|
||||
void Slot01() override;
|
||||
void Slot03() override;
|
||||
void Slot04() override;
|
||||
void Close() override;
|
||||
bool Slot06() override;
|
||||
|
||||
void InitAllBloom();
|
||||
|
||||
/* 00CC */ std::vector<CEZ2STRParticle*> emitters;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue