rodecomp/Source/Contents/Effects/LightSphereEffect.cpp
ragnarok-clanker 6143955204 Decompile fn_19102 (CLevel99Orb2Effect::Slot04)
Batch #4381 by youko: 0 byte-identical, 1 confirmed by peer review.

- fn_19102 CLevel99Orb2Effect::Slot04: logic confirmed by peer review

Peer-reviewed-by: Yommy, superintelligence, OrangeCat
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
Adds to the build: Source/Contents/Effects/Level99Orb2Effect.cpp, Source/Contents/Effects/RainbowEffect.cpp, Source/Contents/Effects/RedLineEffect.cpp
2026-10-30 02:18:57 +00:00

37 lines
920 B
C++

#include "Contents/Effects/LightSphereEffect.h"
#include "Client/Mode/CGameMode.h"
#include "Client/Mode/ModeMgr.h"
#include "Contents/Camera/Camera.h"
#include "Contents/Effects/Particle.h"
#include "Utility/Math/AffineMatrix.h"
#include "Utility/Math/Vector3d.h"
#include <cstdlib>
#include <cstring>
// OFFSET: 0x00B6C9F0
// OFFSET: 0x00B6D160
// OFFSET: 0x00B6D1C0
// OFFSET: 0x00B6D990
// FUNCTION: fn_19110
void CLightSphereEffect::Slot04() {
for (std::vector<CParticle*>::iterator it = this->spheres.begin(); it != this->spheres.end(); ++it) {
CParticle* particle = *it;
if (particle) {
particle->Render(false, 0.0f, 1.0f, 0.0f, 1.0f, false, true);
}
}
for (std::vector<CParticle*>::iterator it = this->rays.begin(); it != this->rays.end(); ++it) {
CParticle* particle = *it;
if (particle) {
particle->Render(false, 0.0f, 1.0f, 0.0f, 1.0f, false, true);
}
}
}