Decompile fn_20241 (CRagEffect::Fireworks)
Batch #2202 by ragnarok-clanker: 0 byte-identical, 1 confirmed by peer review. - fn_20241 CRagEffect::Fireworks: logic confirmed by peer review Reviewed-by: ragnarok-clanker
This commit is contained in:
parent
6dcd49bd31
commit
5a9265428f
2 changed files with 13 additions and 0 deletions
|
|
@ -1186,3 +1186,15 @@ bool CRagEffect::ProcessEZ2STRC159D0() {
|
|||
|
||||
return true;
|
||||
}
|
||||
|
||||
// OFFSET: 0x00C5EFA0
|
||||
// FUNCTION: fn_20241
|
||||
void CRagEffect::Fireworks() {
|
||||
if (this->state.stateCnt == 300) {
|
||||
g_soundMgr->PlayWave("effect\\폭죽.wav", 0.0f, 0.0f, 0.0f, 250, 40, 1.0f, 0);
|
||||
}
|
||||
|
||||
if (this->state.stateCnt > 2300) {
|
||||
this->state.stateCnt = 299;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@ struct CRagEffect : CRenderObject {
|
|||
|
||||
void InitEZ2STRFrame();
|
||||
bool ProcessEZ2STR(float x, float y, float z);
|
||||
void Fireworks();
|
||||
bool ProcessEZ2STRC10830();
|
||||
bool ProcessEZ2STRC153A0();
|
||||
bool ProcessEZ2STRC3CC40();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue