mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-06-20 22:51:16 -04:00
d_kankyo work / d_particle_copoly OK (#1953)
* d_kankyo work / d_particle_copoly OK * remove asm
This commit is contained in:
@@ -54,16 +54,6 @@ struct daNpcT_ActorMngr_c {
|
||||
/* 80145708 */ void getActorP();
|
||||
};
|
||||
|
||||
struct dPaPoF_c {
|
||||
/* 800512E8 */ void setEffectFour(dKy_tevstr_c const*, cXyz const*, u32, u32, cXyz const*,
|
||||
cXyz const*, cXyz const*, cXyz const*, cXyz const*,
|
||||
csXyz const*, cXyz const*, s8, f32, f32);
|
||||
/* 80051424 */ void clearFourAllID();
|
||||
|
||||
static u8 m_typeFourData[60];
|
||||
static u8 m_emitterFourData[60 + 28 /* padding */];
|
||||
};
|
||||
|
||||
struct JAISeq {
|
||||
/* 802A0A8C */ JAISeq(JAISeqMgr*, JAISoundStrategyMgr<JAISeq>*);
|
||||
};
|
||||
|
||||
+1408
-374
File diff suppressed because it is too large
Load Diff
@@ -26,7 +26,7 @@ struct dKyd_l_vr_box_data_struct {
|
||||
//
|
||||
|
||||
/* 803A8E98-803A9198 005FB8 0300+00 1/1 0/0 0/0 .data l_kydata_BloomInf_tbl */
|
||||
static dKydata_BloomInfo_c l_kydata_BloomInf_tbl[BLOOMINFO_MAX] = {
|
||||
static dkydata_bloomInfo_info_class l_kydata_BloomInf_tbl[BLOOMINFO_MAX] = {
|
||||
{BLOOM_SOFT, 0xFF, 0x40, 0x80, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00},
|
||||
{BLOOM_CLEAR, 0x28, 0x46, 0x87, 0xCF, 0xB1, 0x38, 0xD2, 0xFF, 0xFF, 0xFF, 0x60}, // Twilight
|
||||
{BLOOM_CLEAR, 0x2D, 0x46, 0x73, 0xCF, 0xB1, 0x38, 0xD2, 0xFF, 0xFF, 0xFF,
|
||||
@@ -838,7 +838,7 @@ dKydata_lightsizeInfo_c* dKyd_light_tw_size_tbl_getp() {
|
||||
}
|
||||
|
||||
/* 80056A94-80056AA8 0513D4 0014+00 0/0 1/1 0/0 .text dKyd_BloomInf_tbl_getp__Fi */
|
||||
dKydata_BloomInfo_c* dKyd_BloomInf_tbl_getp(int tblIdx) {
|
||||
dkydata_bloomInfo_info_class* dKyd_BloomInf_tbl_getp(int tblIdx) {
|
||||
return &l_kydata_BloomInf_tbl[tblIdx];
|
||||
}
|
||||
|
||||
|
||||
@@ -1345,6 +1345,115 @@ static asm void wether_move_vrkumo() {
|
||||
}
|
||||
#pragma pop
|
||||
|
||||
/* static void wether_move_vrkumo() {
|
||||
BOOL var_r31 = false;
|
||||
static cXyz r09o(-180000.0f, 750.0f, -200000.0f);
|
||||
|
||||
if (dComIfGp_checkStatus(1) && !g_env_light.mbVrboxInvisible) {
|
||||
g_env_light.mVrkumoCount = 6;
|
||||
|
||||
if (memcmp(dComIfGp_getStartStageName(), "D_MN07", 6) == 0 ||
|
||||
strcmp(dComIfGp_getStartStageName(), "F_SP114") == 0 ||
|
||||
(strcmp(dComIfGp_getStartStageName(), "D_MN09B") == 0 &&
|
||||
(g_env_light.field_0x12cc != 0 || i_dComIfGp_event_runCheck())))
|
||||
{
|
||||
cLib_addCalc(&g_env_light.mVrkumoStrength, 1.0f, 0.1f, 0.003f, 0.0000001f);
|
||||
} else if (strcmp(dComIfGp_getStartStageName(), "F_SP104") == 0 && dComIfG_play_c::getLayerNo(0) > 2) {
|
||||
if (g_env_light.mColpatCurr > 4) {
|
||||
cLib_addCalc(&g_env_light.mVrkumoStrength, 1.0f, 0.1f, 0.003f, 0.0000001f);
|
||||
} else {
|
||||
cLib_addCalc(&g_env_light.mVrkumoStrength, 0.0f, 0.08f, 0.002f, 0.00000001f);
|
||||
}
|
||||
} else if ((g_env_light.mColpatCurr == 1 && g_env_light.mColPatBlend > 0.0f) ||
|
||||
(g_env_light.mColpatPrev == 1 && g_env_light.mColPatBlend < 1.0f) ||
|
||||
(g_env_light.mColpatCurr == 2 && g_env_light.mColPatBlend > 0.0f) ||
|
||||
(g_env_light.mColpatPrev == 2 && g_env_light.mColPatBlend < 1.0f))
|
||||
{
|
||||
cLib_addCalc(&g_env_light.mVrkumoStrength, 1.0f, 0.1f, 0.003f, 0.0000001f);
|
||||
} else {
|
||||
cLib_addCalc(&g_env_light.mVrkumoStrength, 0.0f, 0.08f, 0.002f, 0.00000001f);
|
||||
}
|
||||
|
||||
g_env_light.mVrkumoCount = (s16)(g_env_light.mVrkumoStrength * 56.0f + 6.0f);
|
||||
} else {
|
||||
g_env_light.mVrkumoCount = 0;
|
||||
}
|
||||
|
||||
if (dKy_darkworld_check()) {
|
||||
g_env_light.mVrkumoCount = 30;
|
||||
}
|
||||
|
||||
roomRead_class* room_p = dComIfGp_getStageRoom();
|
||||
if (room_p != NULL && dComIfGp_roomControl_getStayNo() < room_p->field_0x0) {
|
||||
var_r31 = dStage_roomRead_dt_c_GetVrboxswitch(room_p->field_0x4[dComIfGp_roomControl_getStayNo()]);
|
||||
}
|
||||
|
||||
if (strcmp(dComIfGp_getStartStageName(), "F_SP200") == 0) {
|
||||
g_env_light.mVrkumoCount = 30;
|
||||
} else if (var_r31 == 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
switch (g_env_light.mVrkumoStatus) {
|
||||
case 0:
|
||||
if (g_env_light.mVrkumoCount != 0) {
|
||||
g_env_light.mpVrkumoPacket = new (0x20) dKankyo_vrkumo_Packet();
|
||||
if (g_env_light.mpVrkumoPacket == NULL) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (dComIfG_getStageRes("Stage", "vr_box.bmd") != NULL ||
|
||||
dComIfG_getStageRes("Stage", "vr_box.bdl"))
|
||||
{
|
||||
g_env_light.mpVrkumoPacket->mpCloudTx1 =
|
||||
(u8*)dComIfG_getStageRes("Stage", "cloud_01.bti");
|
||||
g_env_light.mpVrkumoPacket->mpCloudTx2 =
|
||||
(u8*)dComIfG_getStageRes("Stage", "cloud_02.bti");
|
||||
g_env_light.mpVrkumoPacket->mpCloudTx3 =
|
||||
(u8*)dComIfG_getStageRes("Stage", "cloud_03.bti");
|
||||
} else {
|
||||
g_env_light.mpVrkumoPacket->mpCloudTx1 =
|
||||
(u8*)dComIfG_getStageRes("Stage", "cloudtx_01.bti");
|
||||
g_env_light.mpVrkumoPacket->mpCloudTx2 =
|
||||
(u8*)dComIfG_getStageRes("Stage", "cloudtx_02.bti");
|
||||
g_env_light.mpVrkumoPacket->mpCloudTx3 =
|
||||
(u8*)dComIfG_getStageRes("Stage", "cloudtx_03.bti");
|
||||
}
|
||||
|
||||
if (g_env_light.mpVrkumoPacket->mpCloudTx1 == NULL) {
|
||||
g_env_light.mVrkumoStatus = 99;
|
||||
}
|
||||
|
||||
for (int i = 0; i < 100; i++) {
|
||||
g_env_light.mpVrkumoPacket->mInst[i].mStatus = 0;
|
||||
}
|
||||
|
||||
vrkumo_move();
|
||||
g_env_light.mVrkumoStatus++;
|
||||
}
|
||||
break;
|
||||
case 1:
|
||||
vrkumo_move();
|
||||
dKyw_get_wind_vec();
|
||||
|
||||
cXyz localE0;
|
||||
localE0.x = g_env_light.mWind.vec.x;
|
||||
localE0.y = g_env_light.mWind.vec.y;
|
||||
localE0.z = g_env_light.mWind.vec.z;
|
||||
f32 var_f31 = g_env_light.mWind.pow;
|
||||
|
||||
if (strcmp(dComIfGp_getStartStageName(), "R_SP127") == 0) {
|
||||
pow = 0.3f;
|
||||
}
|
||||
|
||||
f32 x = JMAFastSqrt(localE0.x * localE0.x + localE0.z * localE0.z);
|
||||
cM_atan2s(localE0.x, localE0.z);
|
||||
cM_atan2s(localE0.y, x);
|
||||
|
||||
break;
|
||||
}
|
||||
} */
|
||||
|
||||
/* 80059E38-80059F74 054778 013C+00 1/1 0/0 0/0 .text wether_move_mud__Fv */
|
||||
static void wether_move_mud() {
|
||||
switch (g_env_light.mMudInitialized) {
|
||||
|
||||
@@ -930,10 +930,10 @@ static void drawSecond_b_light8(JPABaseEmitter* param_0) {
|
||||
local_18.b = envLight->mActorAmbience.b;
|
||||
local_18.a = envLight->mActorAmbience.a;
|
||||
} else {
|
||||
local_18.r = envLight->mTerrainAmbienceBG0.r;;
|
||||
local_18.g = envLight->mTerrainAmbienceBG0.g;;
|
||||
local_18.b = envLight->mTerrainAmbienceBG0.b;;
|
||||
local_18.a = envLight->mTerrainAmbienceBG0.a;;
|
||||
local_18.r = envLight->mTerrainAmbienceBG[0].r;
|
||||
local_18.g = envLight->mTerrainAmbienceBG[0].g;
|
||||
local_18.b = envLight->mTerrainAmbienceBG[0].b;
|
||||
local_18.a = envLight->mTerrainAmbienceBG[0].a;
|
||||
}
|
||||
initiate_b_Lighting8(local_18);
|
||||
GXSetNumTevStages(2);
|
||||
|
||||
@@ -1,621 +1,314 @@
|
||||
//
|
||||
// Generated By: dol2asm
|
||||
// Translation Unit: d/particle/d_particle_copoly
|
||||
//
|
||||
/**
|
||||
* d_particle_copoly.cpp
|
||||
*
|
||||
*/
|
||||
|
||||
#include "SSystem/SComponent/c_bg_s_poly_info.h"
|
||||
#include "d/particle/d_particle_copoly.h"
|
||||
#include "dol2asm.h"
|
||||
|
||||
//
|
||||
// Types:
|
||||
//
|
||||
|
||||
struct dPa_control_c {
|
||||
struct level_c {
|
||||
/* 8004B918 */ void getEmitter(u32);
|
||||
};
|
||||
|
||||
/* 8004C838 */ void setWaterRipple(u32*, cBgS_PolyInfo&, cXyz const*, f32, dKy_tevstr_c const*,
|
||||
cXyz const*, s8);
|
||||
/* 8004D770 */ void setStopContinue(u32);
|
||||
/* 8004D988 */ void setCommonPoly(u32*, cBgS_PolyInfo*, cXyz const*, cXyz const*,
|
||||
dKy_tevstr_c const*, u32, u32, csXyz const*, cXyz const*, s8);
|
||||
};
|
||||
|
||||
struct dPaPoF_c {
|
||||
/* 800512E8 */ void setEffectFour(dKy_tevstr_c const*, cXyz const*, u32, u32, cXyz const*,
|
||||
cXyz const*, cXyz const*, cXyz const*, cXyz const*,
|
||||
csXyz const*, cXyz const*, s8, f32, f32);
|
||||
/* 80051424 */ void clearFourAllID();
|
||||
/* 8005156C */ void getBackRightEffType(int) const;
|
||||
/* 80051578 */ void getBackLeftEffType(int) const;
|
||||
/* 80051584 */ void getBackRightEmitter(int, int);
|
||||
/* 800515CC */ void getBackLeftEmitter(int, int);
|
||||
|
||||
static u8 m_typeFourData[60];
|
||||
static u8 m_emitterFourData[60 + 28 /* padding */];
|
||||
};
|
||||
|
||||
struct dBgS {
|
||||
/* 80074E50 */ void GetPolyAtt0(cBgS_PolyInfo const&);
|
||||
};
|
||||
|
||||
struct cBgS {
|
||||
/* 80074660 */ void ChkPolySafe(cBgS_PolyInfo const&);
|
||||
};
|
||||
|
||||
//
|
||||
// Forward References:
|
||||
//
|
||||
|
||||
extern "C" void init__7dPaPo_cFP9dBgS_Acchff();
|
||||
extern "C" void checkWaterIn__7dPaPo_cFP4cXyzPC4cXyzPC12dKy_tevstr_cUlScff();
|
||||
extern "C" void setEffect__7dPaPo_cFPUliPC12dKy_tevstr_cPC4cXyzUlUlPC4cXyzPC5csXyzScPUcPUc();
|
||||
extern "C" void setEffectCenter__7dPaPo_cFPC12dKy_tevstr_cPC4cXyzUlUlPC4cXyzPC5csXyzPC4cXyzScff();
|
||||
extern "C" void clearID__7dPaPo_cFPUlPUc();
|
||||
extern "C" void
|
||||
setEffectTwo__8dPaPoT_cFPC12dKy_tevstr_cPC4cXyzUlUlPC4cXyzPC4cXyzPC4cXyzPC5csXyzPC4cXyzScff();
|
||||
extern "C" void clearTwoAllID__8dPaPoT_cFv();
|
||||
extern "C" void
|
||||
setEffectFour__8dPaPoF_cFPC12dKy_tevstr_cPC4cXyzUlUlPC4cXyzPC4cXyzPC4cXyzPC4cXyzPC4cXyzPC5csXyzPC4cXyzScff();
|
||||
extern "C" void clearFourAllID__8dPaPoF_cFv();
|
||||
extern "C" void getRightEffType__8dPaPoT_cCFi();
|
||||
extern "C" void getLeftEffType__8dPaPoT_cCFi();
|
||||
extern "C" void getCenterEffType__7dPaPo_cCFi();
|
||||
extern "C" void getRightEmitter__8dPaPoT_cFii();
|
||||
extern "C" void getLeftEmitter__8dPaPoT_cFii();
|
||||
extern "C" void getCenterEmitter__7dPaPo_cFii();
|
||||
extern "C" void getBackRightEffType__8dPaPoF_cCFi();
|
||||
extern "C" void getBackLeftEffType__8dPaPoF_cCFi();
|
||||
extern "C" void getBackRightEmitter__8dPaPoF_cFii();
|
||||
extern "C" void getBackLeftEmitter__8dPaPoF_cFii();
|
||||
extern "C" void __sinit_d_particle_copoly_cpp();
|
||||
extern "C" u8 m_typeTwoData__8dPaPoT_c[36];
|
||||
extern "C" u8 m_emitterTwoData__8dPaPoT_c[36];
|
||||
extern "C" u8 m_typeFourData__8dPaPoF_c[60];
|
||||
extern "C" u8 m_emitterFourData__8dPaPoF_c[60 + 28 /* padding */];
|
||||
|
||||
//
|
||||
// External References:
|
||||
//
|
||||
|
||||
extern "C" void fopKyM_createWpillar__FPC4cXyzfi();
|
||||
extern "C" void getEmitter__Q213dPa_control_c7level_cFUl();
|
||||
extern "C" void
|
||||
setWaterRipple__13dPa_control_cFPUlR13cBgS_PolyInfoPC4cXyzfPC12dKy_tevstr_cPC4cXyzSc();
|
||||
extern "C" void setStopContinue__13dPa_control_cFUl();
|
||||
extern "C" void
|
||||
setCommonPoly__13dPa_control_cFPUlP13cBgS_PolyInfoPC4cXyzPC4cXyzPC12dKy_tevstr_cUlUlPC5csXyzPC4cXyzSc();
|
||||
extern "C" void ChkPolySafe__4cBgSFRC13cBgS_PolyInfo();
|
||||
extern "C" void GetPolyAtt0__4dBgSFRC13cBgS_PolyInfo();
|
||||
extern "C" void _savegpr_22();
|
||||
extern "C" void _savegpr_24();
|
||||
extern "C" void _savegpr_25();
|
||||
extern "C" void _savegpr_29();
|
||||
extern "C" void _restgpr_22();
|
||||
extern "C" void _restgpr_24();
|
||||
extern "C" void _restgpr_25();
|
||||
extern "C" void _restgpr_29();
|
||||
extern "C" extern u8 g_dComIfG_gameInfo[122384];
|
||||
|
||||
//
|
||||
// Declarations:
|
||||
//
|
||||
#include "SSystem/SComponent/c_bg_s_poly_info.h"
|
||||
#include "d/com/d_com_inf_game.h"
|
||||
#include "f_op/f_op_kankyo_mng.h"
|
||||
|
||||
/* 80050C9C-80050CC4 04B5DC 0028+00 0/0 2/2 27/27 .text init__7dPaPo_cFP9dBgS_Acchff */
|
||||
#pragma push
|
||||
#pragma optimization_level 0
|
||||
#pragma optimizewithasm off
|
||||
asm void dPaPo_c::init(dBgS_Acch* param_0, f32 param_1, f32 param_2) {
|
||||
nofralloc
|
||||
#include "asm/d/particle/d_particle_copoly/init__7dPaPo_cFP9dBgS_Acchff.s"
|
||||
}
|
||||
#pragma pop
|
||||
void dPaPo_c::init(dBgS_Acch* param_0, f32 i_waterOffset, f32 i_rippleOffset) {
|
||||
field_0x28 = param_0;
|
||||
mWaterOffset = i_waterOffset;
|
||||
mRippleOffset = i_rippleOffset;
|
||||
|
||||
/* ############################################################################################## */
|
||||
/* 80451FF8-80452000 0005F8 0004+04 1/1 0/0 0/0 .sdata2 @3672 */
|
||||
SECTION_SDATA2 static f32 lit_3672[1 + 1 /* padding */] = {
|
||||
0.0f,
|
||||
/* padding */
|
||||
0.0f,
|
||||
};
|
||||
field_0x28->ClrWaterNone();
|
||||
field_0x37 = 1;
|
||||
}
|
||||
|
||||
/* 80050CC4-80050E7C 04B604 01B8+00 1/1 0/0 0/0 .text
|
||||
* checkWaterIn__7dPaPo_cFP4cXyzPC4cXyzPC12dKy_tevstr_cUlScff */
|
||||
#pragma push
|
||||
#pragma optimization_level 0
|
||||
#pragma optimizewithasm off
|
||||
asm void dPaPo_c::checkWaterIn(cXyz* param_0, cXyz const* param_1, dKy_tevstr_c const* param_2,
|
||||
u32 param_3, s8 param_4, f32 param_5, f32 param_6) {
|
||||
nofralloc
|
||||
#include "asm/d/particle/d_particle_copoly/checkWaterIn__7dPaPo_cFP4cXyzPC4cXyzPC12dKy_tevstr_cUlScff.s"
|
||||
int dPaPo_c::checkWaterIn(cXyz* param_0, cXyz const* param_1, dKy_tevstr_c const* param_2,
|
||||
u32 param_3, s8 param_4, f32 param_5, f32 param_6) {
|
||||
if (field_0x28->ChkWaterHit() && dComIfG_Bgsp().ChkPolySafe(field_0x28->m_wtr) &&
|
||||
dComIfG_Bgsp().GetPolyAtt0(field_0x28->m_wtr) != 6)
|
||||
{
|
||||
f32 wtr_height = field_0x28->m_wtr.GetHeight();
|
||||
f32 var_f31 = wtr_height - param_0->y;
|
||||
|
||||
if (var_f31 >= 0.0f) {
|
||||
param_0->y = wtr_height;
|
||||
if (!field_0x37) {
|
||||
field_0x37 = 1;
|
||||
|
||||
if (!(param_3 & 0x40000) &&
|
||||
field_0x28->m_wtr.GetHeight() - field_0x28->GetGroundH() >= mWaterOffset)
|
||||
{
|
||||
fopKyM_createWpillar(param_0, param_5, 0);
|
||||
}
|
||||
}
|
||||
|
||||
if (var_f31 < mRippleOffset && !(param_3 & 0x20000)) {
|
||||
dComIfGp_particle_setWaterRipple(field_0x0, field_0x28->m_wtr, param_0, param_6,
|
||||
param_2, param_1, param_4);
|
||||
}
|
||||
|
||||
if (var_f31 < mWaterOffset) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
param_0->y -= var_f31;
|
||||
return 2;
|
||||
}
|
||||
|
||||
field_0x37 = 0;
|
||||
} else {
|
||||
field_0x37 = 0;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
#pragma pop
|
||||
|
||||
/* 80050E7C-80051008 04B7BC 018C+00 3/3 0/0 0/0 .text
|
||||
* setEffect__7dPaPo_cFPUliPC12dKy_tevstr_cPC4cXyzUlUlPC4cXyzPC5csXyzScPUcPUc */
|
||||
#pragma push
|
||||
#pragma optimization_level 0
|
||||
#pragma optimizewithasm off
|
||||
asm void dPaPo_c::setEffect(u32* param_0, int param_1, dKy_tevstr_c const* param_2,
|
||||
cXyz const* param_3, u32 param_4, u32 param_5, cXyz const* param_6,
|
||||
csXyz const* param_7, s8 param_8, u8* param_9, u8* param_10) {
|
||||
nofralloc
|
||||
#include "asm/d/particle/d_particle_copoly/setEffect__7dPaPo_cFPUliPC12dKy_tevstr_cPC4cXyzUlUlPC4cXyzPC5csXyzScPUcPUc.s"
|
||||
void dPaPo_c::setEffect(u32* param_0, int param_1, dKy_tevstr_c const* param_2, cXyz const* param_3,
|
||||
u32 param_4, u32 param_5, cXyz const* param_6, csXyz const* param_7,
|
||||
s8 param_8, u8* param_9, u8* param_10) {
|
||||
if (param_6 != NULL) {
|
||||
cXyz sp18(*param_6);
|
||||
|
||||
cBgS_PolyInfo* poly_p;
|
||||
if (param_1 == 1) {
|
||||
sp18.y = field_0x28->m_wtr.GetHeight();
|
||||
poly_p = &field_0x28->m_wtr;
|
||||
} else {
|
||||
if (param_1 == 2) {
|
||||
param_5 |= 0x80000000;
|
||||
}
|
||||
poly_p = &field_0x28->m_gnd;
|
||||
}
|
||||
|
||||
u16 temp_r29 = dComIfGp_particle_setCommonPoly(param_0, poly_p, param_3, &sp18, param_2,
|
||||
param_4, param_5, param_7, NULL, param_8);
|
||||
param_9[0] = temp_r29 & 0xFF;
|
||||
param_9[1] = (temp_r29 >> 8) & 0xFF;
|
||||
|
||||
if (param_9[0] != 0xFF) {
|
||||
if (param_4 & (1 << param_9[0])) {
|
||||
*param_10 = 0;
|
||||
} else {
|
||||
*param_10 = 20;
|
||||
}
|
||||
} else if (param_9[1] != 0xFF) {
|
||||
if (param_4 & (1 << param_9[1])) {
|
||||
*param_10 = 0;
|
||||
} else {
|
||||
*param_10 = 20;
|
||||
}
|
||||
}
|
||||
} else if (*param_10 != 0) {
|
||||
*param_10 -= 1;
|
||||
|
||||
u32* var_r31 = param_0;
|
||||
for (int i = 0; i < 8; i++) {
|
||||
if (*var_r31 != 0) {
|
||||
*var_r31 = dComIfGp_particle_setStopContinue(*var_r31);
|
||||
}
|
||||
|
||||
var_r31++;
|
||||
}
|
||||
}
|
||||
}
|
||||
#pragma pop
|
||||
|
||||
/* 80051008-8005113C 04B948 0134+00 1/1 1/1 12/12 .text
|
||||
* setEffectCenter__7dPaPo_cFPC12dKy_tevstr_cPC4cXyzUlUlPC4cXyzPC5csXyzPC4cXyzScff */
|
||||
#pragma push
|
||||
#pragma optimization_level 0
|
||||
#pragma optimizewithasm off
|
||||
asm void dPaPo_c::setEffectCenter(dKy_tevstr_c const* param_0, cXyz const* param_1, u32 param_2,
|
||||
u32 param_3, cXyz const* param_4, csXyz const* param_5,
|
||||
cXyz const* param_6, s8 param_7, f32 param_8, f32 param_9) {
|
||||
nofralloc
|
||||
#include "asm/d/particle/d_particle_copoly/setEffectCenter__7dPaPo_cFPC12dKy_tevstr_cPC4cXyzUlUlPC4cXyzPC5csXyzPC4cXyzScff.s"
|
||||
int dPaPo_c::setEffectCenter(dKy_tevstr_c const* param_0, cXyz const* param_1, u32 param_2,
|
||||
u32 param_3, cXyz const* param_4, csXyz const* param_5,
|
||||
cXyz const* param_6, s8 param_7, f32 param_8, f32 param_9) {
|
||||
cXyz sp18(*param_1);
|
||||
|
||||
int rt = checkWaterIn(&sp18, param_6, param_0, param_3, param_7, param_8, param_9);
|
||||
mCenterEffType[0] = 0xFF;
|
||||
mCenterEffType[1] = 0xFF;
|
||||
|
||||
if (rt == 1 && (param_3 & 0x10000)) {
|
||||
setEffect(field_0x8[0], rt, param_0, &sp18, param_2, param_3, &sp18, param_5, param_7,
|
||||
&mCenterEffType[0], &field_0x36);
|
||||
|
||||
if (mCenterEffType[0] == 2) {
|
||||
mCenterEffType[0] = 16;
|
||||
field_0x36 = 20;
|
||||
}
|
||||
|
||||
return 3;
|
||||
} else {
|
||||
setEffect(field_0x8[0], rt, param_0, &sp18, param_2, param_3, param_4, param_5, param_7,
|
||||
&mCenterEffType[0], &field_0x36);
|
||||
}
|
||||
|
||||
return rt;
|
||||
}
|
||||
#pragma pop
|
||||
|
||||
/* 8005113C-8005115C 04BA7C 0020+00 2/2 0/0 0/0 .text clearID__7dPaPo_cFPUlPUc */
|
||||
#pragma push
|
||||
#pragma optimization_level 0
|
||||
#pragma optimizewithasm off
|
||||
asm void dPaPo_c::clearID(u32* param_0, u8* param_1) {
|
||||
nofralloc
|
||||
#include "asm/d/particle/d_particle_copoly/clearID__7dPaPo_cFPUlPUc.s"
|
||||
void dPaPo_c::clearID(u32* param_0, u8* param_1) {
|
||||
*param_1 = 0;
|
||||
|
||||
for (int i = 0; i < 8; i++) {
|
||||
*param_0 = 0;
|
||||
param_0++;
|
||||
}
|
||||
}
|
||||
#pragma pop
|
||||
|
||||
/* 8005115C-80051294 04BA9C 0138+00 1/1 1/1 2/2 .text
|
||||
* setEffectTwo__8dPaPoT_cFPC12dKy_tevstr_cPC4cXyzUlUlPC4cXyzPC4cXyzPC4cXyzPC5csXyzPC4cXyzScff */
|
||||
#pragma push
|
||||
#pragma optimization_level 0
|
||||
#pragma optimizewithasm off
|
||||
asm void dPaPoT_c::setEffectTwo(dKy_tevstr_c const* param_0, cXyz const* param_1, u32 param_2,
|
||||
u32 param_3, cXyz const* param_4, cXyz const* param_5,
|
||||
cXyz const* param_6, csXyz const* param_7, cXyz const* param_8,
|
||||
s8 param_9, f32 param_10, f32 param_11) {
|
||||
nofralloc
|
||||
#include "asm/d/particle/d_particle_copoly/func_8005115C.s"
|
||||
int dPaPoT_c::setEffectTwo(dKy_tevstr_c const* param_0, cXyz const* param_1, u32 param_2,
|
||||
u32 param_3, cXyz const* param_4, cXyz const* param_5,
|
||||
cXyz const* param_6, csXyz const* param_7, cXyz const* param_8,
|
||||
s8 param_9, f32 param_10, f32 param_11) {
|
||||
mLeftEffType[0] = 0xFF;
|
||||
mLeftEffType[1] = 0xFF;
|
||||
mRightEffType[0] = 0xFF;
|
||||
mRightEffType[1] = 0xFF;
|
||||
|
||||
int rt = setEffectCenter(param_0, param_1, param_2, param_3, param_4, param_7, param_8, param_9,
|
||||
param_10, param_11);
|
||||
if (rt != 3) {
|
||||
cXyz sp18(*param_1);
|
||||
if (rt == 1) {
|
||||
sp18.y = field_0x28->m_wtr.GetHeight();
|
||||
}
|
||||
|
||||
setEffect(mLeftEmitter[0], rt, param_0, &sp18, param_2, param_3, param_5, param_7, param_9,
|
||||
mLeftEffType, &field_0x7c);
|
||||
setEffect(mRightEmitter[0], rt, param_0, &sp18, param_2, param_3, param_6, param_7, param_9,
|
||||
mRightEffType, &field_0x7d);
|
||||
} else {
|
||||
field_0x7c = 0;
|
||||
field_0x7d = 0;
|
||||
}
|
||||
|
||||
return rt;
|
||||
}
|
||||
#pragma pop
|
||||
|
||||
/* 80051294-800512E8 04BBD4 0054+00 1/1 0/0 0/0 .text clearTwoAllID__8dPaPoT_cFv */
|
||||
#pragma push
|
||||
#pragma optimization_level 0
|
||||
#pragma optimizewithasm off
|
||||
asm void dPaPoT_c::clearTwoAllID() {
|
||||
nofralloc
|
||||
#include "asm/d/particle/d_particle_copoly/clearTwoAllID__8dPaPoT_cFv.s"
|
||||
void dPaPoT_c::clearTwoAllID() {
|
||||
clearLeftID();
|
||||
clearRightID();
|
||||
clearCenterID();
|
||||
}
|
||||
#pragma pop
|
||||
|
||||
/* 800512E8-80051424 04BC28 013C+00 0/0 1/1 1/1 .text
|
||||
* setEffectFour__8dPaPoF_cFPC12dKy_tevstr_cPC4cXyzUlUlPC4cXyzPC4cXyzPC4cXyzPC4cXyzPC4cXyzPC5csXyzPC4cXyzScff
|
||||
*/
|
||||
#pragma push
|
||||
#pragma optimization_level 0
|
||||
#pragma optimizewithasm off
|
||||
asm void dPaPoF_c::setEffectFour(dKy_tevstr_c const* param_0, cXyz const* param_1, u32 param_2,
|
||||
u32 param_3, cXyz const* param_4, cXyz const* param_5,
|
||||
cXyz const* param_6, cXyz const* param_7, cXyz const* param_8,
|
||||
csXyz const* param_9, cXyz const* param_10, s8 param_11,
|
||||
f32 param_12, f32 param_13) {
|
||||
nofralloc
|
||||
#include "asm/d/particle/d_particle_copoly/func_800512E8.s"
|
||||
int dPaPoF_c::setEffectFour(dKy_tevstr_c const* param_0, cXyz const* param_1, u32 param_2,
|
||||
u32 param_3, cXyz const* param_4, cXyz const* param_5,
|
||||
cXyz const* param_6, cXyz const* param_7, cXyz const* param_8,
|
||||
csXyz const* param_9, cXyz const* param_10, s8 param_11, f32 param_12,
|
||||
f32 param_13) {
|
||||
mBackLeftEffType[0] = 0xFF;
|
||||
mBackLeftEffType[1] = 0xFF;
|
||||
mBackRightEffType[0] = 0xFF;
|
||||
mBackRightEffType[1] = 0xFF;
|
||||
|
||||
int rt = setEffectTwo(param_0, param_1, param_2, param_3, param_4, param_5, param_6, param_9,
|
||||
param_10, param_11, param_12, param_13);
|
||||
if (rt != 3) {
|
||||
cXyz sp18(*param_1);
|
||||
if (rt == 1) {
|
||||
sp18.y = field_0x28->m_wtr.GetHeight();
|
||||
}
|
||||
|
||||
setEffect(mBackLeftEmitter[0], rt, param_0, &sp18, param_2, param_3, param_7, param_9,
|
||||
param_11, mBackLeftEffType, &field_0xc4);
|
||||
setEffect(mBackRightEmitter[0], rt, param_0, &sp18, param_2, param_3, param_8, param_9,
|
||||
param_11, mBackRightEffType, &field_0xc5);
|
||||
} else {
|
||||
field_0xc4 = 0;
|
||||
field_0xc5 = 0;
|
||||
}
|
||||
|
||||
return rt;
|
||||
}
|
||||
#pragma pop
|
||||
|
||||
/* 80051424-80051470 04BD64 004C+00 0/0 1/1 0/0 .text clearFourAllID__8dPaPoF_cFv */
|
||||
#pragma push
|
||||
#pragma optimization_level 0
|
||||
#pragma optimizewithasm off
|
||||
asm void dPaPoF_c::clearFourAllID() {
|
||||
nofralloc
|
||||
#include "asm/d/particle/d_particle_copoly/clearFourAllID__8dPaPoF_cFv.s"
|
||||
void dPaPoF_c::clearFourAllID() {
|
||||
clearBLeftID();
|
||||
clearBRightID();
|
||||
clearTwoAllID();
|
||||
}
|
||||
#pragma pop
|
||||
|
||||
/* 80051470-8005147C 04BDB0 000C+00 2/0 0/0 0/0 .text getRightEffType__8dPaPoT_cCFi */
|
||||
#pragma push
|
||||
#pragma optimization_level 0
|
||||
#pragma optimizewithasm off
|
||||
asm void dPaPoT_c::getRightEffType(int param_0) const {
|
||||
nofralloc
|
||||
#include "asm/d/particle/d_particle_copoly/getRightEffType__8dPaPoT_cCFi.s"
|
||||
u8 dPaPoT_c::getRightEffType(int i_idx) const {
|
||||
return mRightEffType[i_idx];
|
||||
}
|
||||
#pragma pop
|
||||
|
||||
/* 8005147C-80051488 04BDBC 000C+00 2/0 0/0 0/0 .text getLeftEffType__8dPaPoT_cCFi */
|
||||
#pragma push
|
||||
#pragma optimization_level 0
|
||||
#pragma optimizewithasm off
|
||||
asm void dPaPoT_c::getLeftEffType(int param_0) const {
|
||||
nofralloc
|
||||
#include "asm/d/particle/d_particle_copoly/getLeftEffType__8dPaPoT_cCFi.s"
|
||||
u8 dPaPoT_c::getLeftEffType(int i_idx) const {
|
||||
return mLeftEffType[i_idx];
|
||||
}
|
||||
#pragma pop
|
||||
|
||||
/* 80051488-80051494 04BDC8 000C+00 2/0 0/0 0/0 .text getCenterEffType__7dPaPo_cCFi */
|
||||
#pragma push
|
||||
#pragma optimization_level 0
|
||||
#pragma optimizewithasm off
|
||||
asm void dPaPo_c::getCenterEffType(int param_0) const {
|
||||
nofralloc
|
||||
#include "asm/d/particle/d_particle_copoly/getCenterEffType__7dPaPo_cCFi.s"
|
||||
u8 dPaPo_c::getCenterEffType(int i_idx) const {
|
||||
return mCenterEffType[i_idx];
|
||||
}
|
||||
#pragma pop
|
||||
|
||||
/* 80051494-800514DC 04BDD4 0048+00 2/0 0/0 0/0 .text getRightEmitter__8dPaPoT_cFii */
|
||||
#pragma push
|
||||
#pragma optimization_level 0
|
||||
#pragma optimizewithasm off
|
||||
asm void dPaPoT_c::getRightEmitter(int param_0, int param_1) {
|
||||
nofralloc
|
||||
#include "asm/d/particle/d_particle_copoly/getRightEmitter__8dPaPoT_cFii.s"
|
||||
JPABaseEmitter* dPaPoT_c::getRightEmitter(int param_0, int param_1) {
|
||||
return dComIfGp_particle_getEmitter(mRightEmitter[param_0][param_1]);
|
||||
}
|
||||
#pragma pop
|
||||
|
||||
/* 800514DC-80051524 04BE1C 0048+00 2/0 0/0 0/0 .text getLeftEmitter__8dPaPoT_cFii */
|
||||
#pragma push
|
||||
#pragma optimization_level 0
|
||||
#pragma optimizewithasm off
|
||||
asm void dPaPoT_c::getLeftEmitter(int param_0, int param_1) {
|
||||
nofralloc
|
||||
#include "asm/d/particle/d_particle_copoly/getLeftEmitter__8dPaPoT_cFii.s"
|
||||
JPABaseEmitter* dPaPoT_c::getLeftEmitter(int param_0, int param_1) {
|
||||
return dComIfGp_particle_getEmitter(mLeftEmitter[param_0][param_1]);
|
||||
}
|
||||
#pragma pop
|
||||
|
||||
/* 80051524-8005156C 04BE64 0048+00 2/0 0/0 0/0 .text getCenterEmitter__7dPaPo_cFii */
|
||||
#pragma push
|
||||
#pragma optimization_level 0
|
||||
#pragma optimizewithasm off
|
||||
asm void dPaPo_c::getCenterEmitter(int param_0, int param_1) {
|
||||
nofralloc
|
||||
#include "asm/d/particle/d_particle_copoly/getCenterEmitter__7dPaPo_cFii.s"
|
||||
JPABaseEmitter* dPaPo_c::getCenterEmitter(int param_0, int param_1) {
|
||||
return dComIfGp_particle_getEmitter(field_0x8[param_0][param_1]);
|
||||
}
|
||||
#pragma pop
|
||||
|
||||
/* 8005156C-80051578 04BEAC 000C+00 1/0 0/0 0/0 .text getBackRightEffType__8dPaPoF_cCFi
|
||||
*/
|
||||
#pragma push
|
||||
#pragma optimization_level 0
|
||||
#pragma optimizewithasm off
|
||||
asm void dPaPoF_c::getBackRightEffType(int param_0) const {
|
||||
nofralloc
|
||||
#include "asm/d/particle/d_particle_copoly/getBackRightEffType__8dPaPoF_cCFi.s"
|
||||
u8 dPaPoF_c::getBackRightEffType(int i_idx) const {
|
||||
return mBackRightEffType[i_idx];
|
||||
}
|
||||
#pragma pop
|
||||
|
||||
/* 80051578-80051584 04BEB8 000C+00 1/0 0/0 0/0 .text getBackLeftEffType__8dPaPoF_cCFi */
|
||||
#pragma push
|
||||
#pragma optimization_level 0
|
||||
#pragma optimizewithasm off
|
||||
asm void dPaPoF_c::getBackLeftEffType(int param_0) const {
|
||||
nofralloc
|
||||
#include "asm/d/particle/d_particle_copoly/getBackLeftEffType__8dPaPoF_cCFi.s"
|
||||
u8 dPaPoF_c::getBackLeftEffType(int i_idx) const {
|
||||
return mBackLeftEffType[i_idx];
|
||||
}
|
||||
#pragma pop
|
||||
|
||||
/* 80051584-800515CC 04BEC4 0048+00 1/0 0/0 0/0 .text getBackRightEmitter__8dPaPoF_cFii
|
||||
*/
|
||||
#pragma push
|
||||
#pragma optimization_level 0
|
||||
#pragma optimizewithasm off
|
||||
asm void dPaPoF_c::getBackRightEmitter(int param_0, int param_1) {
|
||||
nofralloc
|
||||
#include "asm/d/particle/d_particle_copoly/getBackRightEmitter__8dPaPoF_cFii.s"
|
||||
JPABaseEmitter* dPaPoF_c::getBackRightEmitter(int param_0, int param_1) {
|
||||
return dComIfGp_particle_getEmitter(mBackRightEmitter[param_0][param_1]);
|
||||
}
|
||||
#pragma pop
|
||||
|
||||
/* 800515CC-80051614 04BF0C 0048+00 1/0 0/0 0/0 .text getBackLeftEmitter__8dPaPoF_cFii */
|
||||
#pragma push
|
||||
#pragma optimization_level 0
|
||||
#pragma optimizewithasm off
|
||||
asm void dPaPoF_c::getBackLeftEmitter(int param_0, int param_1) {
|
||||
nofralloc
|
||||
#include "asm/d/particle/d_particle_copoly/getBackLeftEmitter__8dPaPoF_cFii.s"
|
||||
JPABaseEmitter* dPaPoF_c::getBackLeftEmitter(int param_0, int param_1) {
|
||||
return dComIfGp_particle_getEmitter(mBackLeftEmitter[param_0][param_1]);
|
||||
}
|
||||
#pragma pop
|
||||
|
||||
/* ############################################################################################## */
|
||||
/* 803A85F8-803A8604 005718 000C+00 1/1 0/0 0/0 .data cNullVec__6Z2Calc */
|
||||
SECTION_DATA static u8 cNullVec__6Z2Calc[12] = {
|
||||
static u8 cNullVec__6Z2Calc[12] = {
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
};
|
||||
|
||||
/* 803A8604-803A8610 -00001 000C+00 0/1 0/0 0/0 .data @3816 */
|
||||
#pragma push
|
||||
#pragma force_active on
|
||||
SECTION_DATA static void* lit_3816[3] = {
|
||||
(void*)NULL,
|
||||
(void*)0xFFFFFFFF,
|
||||
(void*)getCenterEffType__7dPaPo_cCFi,
|
||||
};
|
||||
#pragma pop
|
||||
|
||||
/* 803A8610-803A861C -00001 000C+00 0/1 0/0 0/0 .data @3817 */
|
||||
#pragma push
|
||||
#pragma force_active on
|
||||
SECTION_DATA static void* lit_3817[3] = {
|
||||
(void*)NULL,
|
||||
(void*)0xFFFFFFFF,
|
||||
(void*)getLeftEffType__8dPaPoT_cCFi,
|
||||
};
|
||||
#pragma pop
|
||||
|
||||
/* 803A861C-803A8628 -00001 000C+00 0/1 0/0 0/0 .data @3818 */
|
||||
#pragma push
|
||||
#pragma force_active on
|
||||
SECTION_DATA static void* lit_3818[3] = {
|
||||
(void*)NULL,
|
||||
(void*)0xFFFFFFFF,
|
||||
(void*)getRightEffType__8dPaPoT_cCFi,
|
||||
};
|
||||
#pragma pop
|
||||
|
||||
/* 803A8628-803A864C 005748 0024+00 0/1 0/0 0/0 .data m_typeTwoData__8dPaPoT_c */
|
||||
#pragma push
|
||||
#pragma force_active on
|
||||
SECTION_DATA u8 dPaPoT_c::m_typeTwoData[36] = {
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
dPaPoT_c::effTypeFunc dPaPoT_c::m_typeTwoData[] = {
|
||||
&dPaPoT_c::getCenterEffType,
|
||||
&dPaPoT_c::getLeftEffType,
|
||||
&dPaPoT_c::getRightEffType,
|
||||
};
|
||||
#pragma pop
|
||||
|
||||
/* 803A864C-803A8658 -00001 000C+00 0/1 0/0 0/0 .data @3826 */
|
||||
#pragma push
|
||||
#pragma force_active on
|
||||
SECTION_DATA static void* lit_3826[3] = {
|
||||
(void*)NULL,
|
||||
(void*)0xFFFFFFFF,
|
||||
(void*)getCenterEmitter__7dPaPo_cFii,
|
||||
};
|
||||
#pragma pop
|
||||
|
||||
/* 803A8658-803A8664 -00001 000C+00 0/1 0/0 0/0 .data @3827 */
|
||||
#pragma push
|
||||
#pragma force_active on
|
||||
SECTION_DATA static void* lit_3827[3] = {
|
||||
(void*)NULL,
|
||||
(void*)0xFFFFFFFF,
|
||||
(void*)getLeftEmitter__8dPaPoT_cFii,
|
||||
};
|
||||
#pragma pop
|
||||
|
||||
/* 803A8664-803A8670 -00001 000C+00 0/1 0/0 0/0 .data @3828 */
|
||||
#pragma push
|
||||
#pragma force_active on
|
||||
SECTION_DATA static void* lit_3828[3] = {
|
||||
(void*)NULL,
|
||||
(void*)0xFFFFFFFF,
|
||||
(void*)getRightEmitter__8dPaPoT_cFii,
|
||||
};
|
||||
#pragma pop
|
||||
|
||||
/* 803A8670-803A8694 005790 0024+00 0/1 0/0 1/1 .data m_emitterTwoData__8dPaPoT_c */
|
||||
SECTION_DATA u8 dPaPoT_c::m_emitterTwoData[36] = {
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
dPaPoT_c::emitterFunc dPaPoT_c::m_emitterTwoData[] = {
|
||||
&dPaPoT_c::getCenterEmitter,
|
||||
&dPaPoT_c::getLeftEmitter,
|
||||
&dPaPoT_c::getRightEmitter,
|
||||
};
|
||||
|
||||
/* 803A8694-803A86A0 -00001 000C+00 0/1 0/0 0/0 .data @3841 */
|
||||
#pragma push
|
||||
#pragma force_active on
|
||||
SECTION_DATA static void* lit_3841[3] = {
|
||||
(void*)NULL,
|
||||
(void*)0xFFFFFFFF,
|
||||
(void*)getCenterEffType__7dPaPo_cCFi,
|
||||
};
|
||||
#pragma pop
|
||||
|
||||
/* 803A86A0-803A86AC -00001 000C+00 0/1 0/0 0/0 .data @3842 */
|
||||
#pragma push
|
||||
#pragma force_active on
|
||||
SECTION_DATA static void* lit_3842[3] = {
|
||||
(void*)NULL,
|
||||
(void*)0xFFFFFFFF,
|
||||
(void*)getLeftEffType__8dPaPoT_cCFi,
|
||||
};
|
||||
#pragma pop
|
||||
|
||||
/* 803A86AC-803A86B8 -00001 000C+00 0/1 0/0 0/0 .data @3843 */
|
||||
#pragma push
|
||||
#pragma force_active on
|
||||
SECTION_DATA static void* lit_3843[3] = {
|
||||
(void*)NULL,
|
||||
(void*)0xFFFFFFFF,
|
||||
(void*)getRightEffType__8dPaPoT_cCFi,
|
||||
};
|
||||
#pragma pop
|
||||
|
||||
/* 803A86B8-803A86C4 -00001 000C+00 0/1 0/0 0/0 .data @3844 */
|
||||
#pragma push
|
||||
#pragma force_active on
|
||||
SECTION_DATA static void* lit_3844[3] = {
|
||||
(void*)NULL,
|
||||
(void*)0xFFFFFFFF,
|
||||
(void*)getBackLeftEffType__8dPaPoF_cCFi,
|
||||
};
|
||||
#pragma pop
|
||||
|
||||
/* 803A86C4-803A86D0 -00001 000C+00 0/1 0/0 0/0 .data @3845 */
|
||||
#pragma push
|
||||
#pragma force_active on
|
||||
SECTION_DATA static void* lit_3845[3] = {
|
||||
(void*)NULL,
|
||||
(void*)0xFFFFFFFF,
|
||||
(void*)getBackRightEffType__8dPaPoF_cCFi,
|
||||
};
|
||||
#pragma pop
|
||||
|
||||
/* 803A86D0-803A870C 0057F0 003C+00 0/1 5/5 1/1 .data m_typeFourData__8dPaPoF_c */
|
||||
SECTION_DATA u8 dPaPoF_c::m_typeFourData[60] = {
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
dPaPoF_c::effTypeFunc dPaPoF_c::m_typeFourData[] = {
|
||||
&dPaPoF_c::getCenterEffType, &dPaPoF_c::getLeftEffType, &dPaPoF_c::getRightEffType,
|
||||
&dPaPoF_c::getBackLeftEffType, &dPaPoF_c::getBackRightEffType,
|
||||
};
|
||||
|
||||
/* 803A870C-803A8718 -00001 000C+00 0/1 0/0 0/0 .data @3850 */
|
||||
#pragma push
|
||||
#pragma force_active on
|
||||
SECTION_DATA static void* lit_3850[3] = {
|
||||
(void*)NULL,
|
||||
(void*)0xFFFFFFFF,
|
||||
(void*)getCenterEmitter__7dPaPo_cFii,
|
||||
};
|
||||
#pragma pop
|
||||
|
||||
/* 803A8718-803A8724 -00001 000C+00 0/1 0/0 0/0 .data @3851 */
|
||||
#pragma push
|
||||
#pragma force_active on
|
||||
SECTION_DATA static void* lit_3851[3] = {
|
||||
(void*)NULL,
|
||||
(void*)0xFFFFFFFF,
|
||||
(void*)getLeftEmitter__8dPaPoT_cFii,
|
||||
};
|
||||
#pragma pop
|
||||
|
||||
/* 803A8724-803A8730 -00001 000C+00 0/1 0/0 0/0 .data @3852 */
|
||||
#pragma push
|
||||
#pragma force_active on
|
||||
SECTION_DATA static void* lit_3852[3] = {
|
||||
(void*)NULL,
|
||||
(void*)0xFFFFFFFF,
|
||||
(void*)getRightEmitter__8dPaPoT_cFii,
|
||||
};
|
||||
#pragma pop
|
||||
|
||||
/* 803A8730-803A873C -00001 000C+00 0/1 0/0 0/0 .data @3853 */
|
||||
#pragma push
|
||||
#pragma force_active on
|
||||
SECTION_DATA static void* lit_3853[3] = {
|
||||
(void*)NULL,
|
||||
(void*)0xFFFFFFFF,
|
||||
(void*)getBackLeftEmitter__8dPaPoF_cFii,
|
||||
};
|
||||
#pragma pop
|
||||
|
||||
/* 803A873C-803A8748 -00001 000C+00 0/1 0/0 0/0 .data @3854 */
|
||||
#pragma push
|
||||
#pragma force_active on
|
||||
SECTION_DATA static void* lit_3854[3] = {
|
||||
(void*)NULL,
|
||||
(void*)0xFFFFFFFF,
|
||||
(void*)getBackRightEmitter__8dPaPoF_cFii,
|
||||
};
|
||||
#pragma pop
|
||||
|
||||
/* 803A8748-803A87A0 005868 003C+1C 0/1 5/5 1/1 .data m_emitterFourData__8dPaPoF_c */
|
||||
SECTION_DATA u8 dPaPoF_c::m_emitterFourData[60 + 28 /* padding */] = {
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
/* padding */
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
dPaPoF_c::emitterFunc dPaPoF_c::m_emitterFourData[] = {
|
||||
&dPaPoF_c::getCenterEmitter, &dPaPoF_c::getLeftEmitter, &dPaPoF_c::getRightEmitter,
|
||||
&dPaPoF_c::getBackLeftEmitter, &dPaPoF_c::getBackRightEmitter,
|
||||
};
|
||||
|
||||
/* 80051614-800517B0 04BF54 019C+00 0/0 1/0 0/0 .text __sinit_d_particle_copoly_cpp */
|
||||
#pragma push
|
||||
#pragma optimization_level 0
|
||||
#pragma optimizewithasm off
|
||||
asm void __sinit_d_particle_copoly_cpp() {
|
||||
nofralloc
|
||||
#include "asm/d/particle/d_particle_copoly/__sinit_d_particle_copoly_cpp.s"
|
||||
}
|
||||
#pragma pop
|
||||
|
||||
#pragma push
|
||||
#pragma force_active on
|
||||
REGISTER_CTORS(0x80051614, __sinit_d_particle_copoly_cpp);
|
||||
#pragma pop
|
||||
|
||||
@@ -1,19 +1,12 @@
|
||||
//
|
||||
// Generated By: dol2asm
|
||||
// Translation Unit: d/particle/d_particle_name
|
||||
//
|
||||
|
||||
#include "d/particle/d_particle_name.h"
|
||||
#include "dol2asm.h"
|
||||
|
||||
/* ############################################################################################## */
|
||||
/* 803A85D0-803A85DC 0056F0 000A+02 0/0 1/1 0/0 .data j_o_id__8dPa_name */
|
||||
SECTION_DATA u16 dPa_name::j_o_id[5] = {
|
||||
u16 dPa_name::j_o_id[5] = {
|
||||
0x070F, 0x073D, 0x0100, 0x0101, 0x0103,
|
||||
};
|
||||
|
||||
/* 803A85DC-803A85F8 0056FC 001C+00 0/0 1/1 0/0 .data s_o_id__8dPa_name */
|
||||
SECTION_DATA u16 dPa_name::s_o_id[14] = {
|
||||
u16 dPa_name::s_o_id[14] = {
|
||||
0x8110, 0x8111, 0x8112, 0x89D6, 0x89D7, 0x89D8, 0x83A6,
|
||||
0x83A7, 0x8104, 0x8105, 0x8106, 0x8174, 0x8175, 0x8176,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user