mirror of
https://github.com/zeldaret/tww.git
synced 2024-11-26 23:01:24 +00:00
Clean up cc enums
This commit is contained in:
parent
9388725dd3
commit
70044ec8dd
@ -16,67 +16,49 @@ class cCcD_AabAttr;
|
||||
class cCcD_CylAttr;
|
||||
class cCcD_SphAttr;
|
||||
|
||||
enum cCcD_ObjAtType {
|
||||
/* 0x00000002 */ AT_TYPE_SWORD = (1 << 1),
|
||||
/* 0x00000020 */ AT_TYPE_BOMB = (1 << 5),
|
||||
/* 0x00000040 */ AT_TYPE_BOOMERANG = (1 << 6),
|
||||
/* 0x00000080 */ AT_TYPE_BOKO_STICK = (1 << 7),
|
||||
/* 0x00000100 */ AT_TYPE_WATER = (1 << 8),
|
||||
/* 0x00000200 */ AT_TYPE_FIRE = (1 << 9),
|
||||
/* 0x00000400 */ AT_TYPE_MACHETE = (1 << 10),
|
||||
/* 0x00000800 */ AT_TYPE_UNK800 = (1 << 11),
|
||||
/* 0x00001000 */ AT_TYPE_UNK1000 = (1 << 12),
|
||||
/* 0x00002000 */ AT_TYPE_UNK2000 = (1 << 13),
|
||||
/* 0x00004000 */ AT_TYPE_NORMAL_ARROW = (1 << 14),
|
||||
/* 0x00008000 */ AT_TYPE_HOOKSHOT = (1 << 15),
|
||||
/* 0x00010000 */ AT_TYPE_SKULL_HAMMER = (1 << 16),
|
||||
/* 0x00020000 */ AT_TYPE_UNK20000 = (1 << 17),
|
||||
/* 0x00040000 */ AT_TYPE_FIRE_ARROW = (1 << 18),
|
||||
/* 0x00080000 */ AT_TYPE_ICE_ARROW = (1 << 19),
|
||||
/* 0x00100000 */ AT_TYPE_LIGHT_ARROW = (1 << 20),
|
||||
/* 0x00200000 */ AT_TYPE_WIND = (1 << 21),
|
||||
/* 0x00400000 */ AT_TYPE_UNK400000 = (1 << 22),
|
||||
/* 0x00800000 */ AT_TYPE_LIGHT = (1 << 23),
|
||||
/* 0x01000000 */ AT_TYPE_STALFOS_MACE = (1 << 24),
|
||||
/* 0x02000000 */ AT_TYPE_UNK2000000 = (1 << 25),
|
||||
/* 0x04000000 */ AT_TYPE_DARKNUT_SWORD = (1 << 26),
|
||||
/* 0x08000000 */ AT_TYPE_GRAPPLING_HOOK = (1 << 27),
|
||||
/* 0x10000000 */ AT_TYPE_MOBLIN_SPEAR = (1 << 28),
|
||||
/* 0x20000000 */ AT_TYPE_PGANON_SWORD = (1 << 29),
|
||||
/* 0xFFFFFFFF */ AT_TYPE_ALL = ~0,
|
||||
enum cCcD_AtSPrm_e {
|
||||
/* 0x01 */ cCcD_AtSPrm_Set_e = 0x01,
|
||||
/* 0x02 */ cCcD_AtSPrm_VsEnemy_e = 0x02,
|
||||
/* 0x04 */ cCcD_AtSPrm_VsPlayer_e = 0x04,
|
||||
/* 0x08 */ cCcD_AtSPrm_VsOther_e = 0x08,
|
||||
/* 0x0E */ cCcD_AtSPrm_GrpAll_e = cCcD_AtSPrm_VsEnemy_e | cCcD_AtSPrm_VsPlayer_e | cCcD_AtSPrm_VsOther_e,
|
||||
/* 0x10 */ cCcD_AtSPrm_NoTgHitInfSet_e = 0x10,
|
||||
};
|
||||
|
||||
enum cCcD_AtSPrm_e {
|
||||
/* 0x01 */ AT_SPRM_SET = 0x01,
|
||||
/* 0x02 */ AT_SPRM_VS_ENEMY = 0x02,
|
||||
/* 0x04 */ AT_SPRM_VS_PLAYER = 0x04,
|
||||
/* 0x08 */ AT_SPRM_VS_OTHER = 0x08,
|
||||
/* 0x0E */ AT_SPRM_GRP = AT_SPRM_VS_ENEMY | AT_SPRM_VS_PLAYER | AT_SPRM_VS_OTHER,
|
||||
/* 0x10 */ AT_SPRM_NO_TG_HIT_INF_SET = 0x10,
|
||||
enum cCcD_AtRPrm_e {
|
||||
cCcD_AtRPrm_Hit_e = 1 << 0,
|
||||
};
|
||||
|
||||
enum cCcD_TgSPrm_e {
|
||||
/* 0x01 */ TG_SPRM_SET = 0x01,
|
||||
/* 0x02 */ TG_SPRM_IS_ENEMY = 0x02,
|
||||
/* 0x04 */ TG_SPRM_IS_PLAYER = 0x04,
|
||||
/* 0x08 */ TG_SPRM_IS_OTHER = 0x08,
|
||||
/* 0x0E */ TG_SPRM_GRP = TG_SPRM_IS_ENEMY | TG_SPRM_IS_PLAYER | TG_SPRM_IS_OTHER,
|
||||
/* 0x10 */ TG_SPRM_NO_AT_HIT_INF_SET = 0x10,
|
||||
/* 0x01 */ cCcD_TgSPrm_Set_e = 0x01,
|
||||
/* 0x02 */ cCcD_TgSPrm_IsEnemy_e = 0x02,
|
||||
/* 0x04 */ cCcD_TgSPrm_IsPlayer_e = 0x04,
|
||||
/* 0x08 */ cCcD_TgSPrm_IsOther_e = 0x08,
|
||||
/* 0x0E */ cCcD_TgSPrm_GrpAll_e = cCcD_TgSPrm_IsEnemy_e | cCcD_TgSPrm_IsPlayer_e | cCcD_TgSPrm_IsOther_e,
|
||||
/* 0x10 */ cCcD_TgSPrm_NoAtHitInfSet_e = 0x10,
|
||||
};
|
||||
|
||||
enum cCcD_TgRPrm_e {
|
||||
cCcD_TgRPrm_Hit_e = 1 << 0,
|
||||
};
|
||||
|
||||
enum cCcD_CoSPrm_e {
|
||||
/* 0x0001 */ CO_SPRM_SET = 0x01,
|
||||
/* 0x0002 */ CO_SPRM_IS_UNK2 = 0x02,
|
||||
/* 0x0004 */ CO_SPRM_IS_UNK4 = 0x04,
|
||||
/* 0x0008 */ CO_SPRM_IS_UNK8 = 0x08,
|
||||
/* 0x0010 */ CO_SPRM_VS_UNK2 = 0x10,
|
||||
/* 0x0020 */ CO_SPRM_VS_UNK4 = 0x20,
|
||||
/* 0x0040 */ CO_SPRM_VS_UNK8 = 0x40,
|
||||
/* 0x000E */ CO_SPRM_IGRP = CO_SPRM_IS_UNK2 | CO_SPRM_IS_UNK4 | CO_SPRM_IS_UNK8,
|
||||
/* 0x0070 */ CO_SPRM_VSGRP = CO_SPRM_VS_UNK2 | CO_SPRM_VS_UNK4 | CO_SPRM_VS_UNK8,
|
||||
/* 0x0080 */ CO_SPRM_SPH_3D_CRR = 0x80,
|
||||
/* 0x0100 */ CO_SPRM_NO_CRR = 0x100,
|
||||
/* 0x0200 */ CO_SPRM_NO_CO_HIT_INF_SET = 0x200,
|
||||
/* 0x0001 */ cCcD_CoSPrm_Set_e = 0x01,
|
||||
/* 0x0002 */ cCcD_CoSPrm_IsEnemy_e = 0x02,
|
||||
/* 0x0004 */ cCcD_CoSPrm_IsPlayer_e = 0x04,
|
||||
/* 0x0008 */ cCcD_CoSPrm_IsOther_e = 0x08,
|
||||
/* 0x0010 */ cCcD_CoSPrm_VsEnemy_e = 0x10,
|
||||
/* 0x0020 */ cCcD_CoSPrm_VsPlayer_e = 0x20,
|
||||
/* 0x0040 */ cCcD_CoSPrm_VsOther_e = 0x40,
|
||||
/* 0x000E */ cCcD_CoSPrm_IGrpAll_e = cCcD_CoSPrm_IsEnemy_e | cCcD_CoSPrm_IsPlayer_e | cCcD_CoSPrm_IsOther_e,
|
||||
/* 0x0070 */ cCcD_CoSPrm_VsGrpAll_e = cCcD_CoSPrm_VsEnemy_e | cCcD_CoSPrm_VsPlayer_e | cCcD_CoSPrm_VsOther_e,
|
||||
/* 0x0080 */ cCcD_CoSPrm_Sph3DCrr_e = 0x80,
|
||||
/* 0x0100 */ cCcD_CoSPrm_NoCrr_e = 0x100,
|
||||
/* 0x0200 */ cCcD_CoSPrm_NoCoHitInfSet_e = 0x200,
|
||||
};
|
||||
|
||||
enum cCcD_CoRPrm_e {
|
||||
cCcD_CoRPrm_Hit_e = 1 << 0,
|
||||
};
|
||||
|
||||
class cCcD_ShapeAttr {
|
||||
@ -426,7 +408,7 @@ public:
|
||||
cCcD_ObjAt() { mType = 0; }
|
||||
virtual ~cCcD_ObjAt() {}
|
||||
void SetHit(cCcD_Obj* obj) {
|
||||
SetRPrm(1);
|
||||
SetRPrm(cCcD_AtRPrm_Hit_e);
|
||||
SetHitObj(obj);
|
||||
}
|
||||
void Set(cCcD_SrcObjAt const& src) {
|
||||
@ -434,18 +416,18 @@ public:
|
||||
mType = src.mType;
|
||||
mAtp = src.mAtp;
|
||||
}
|
||||
void ClrHit() { ClrRPrm(1); ClrObj(); }
|
||||
void ClrHit() { ClrRPrm(cCcD_AtRPrm_Hit_e); ClrObj(); }
|
||||
u32 GetType() const { return mType; }
|
||||
u32 GetGrp() const { return MskSPrm(AT_SPRM_GRP); }
|
||||
bool ChkSet() const { return MskSPrm(AT_SPRM_SET); }
|
||||
u32 GetGrp() const { return MskSPrm(cCcD_AtSPrm_GrpAll_e); }
|
||||
bool ChkSet() const { return MskSPrm(cCcD_AtSPrm_Set_e); }
|
||||
u8 GetAtp() const { return mAtp; }
|
||||
u32 MskType(u32 msk) const { return mType & msk; }
|
||||
void SetType(u32 type) { mType = type; }
|
||||
void SetAtp(int atp) { mAtp = atp; }
|
||||
void ClrSet() { OffSPrmBit(AT_SPRM_SET); }
|
||||
void OnHitBit() { SetRPrm(1); }
|
||||
void OffHitBit() { ClrRPrm(1); }
|
||||
u32 ChkHit() const { return MskRPrm(1); }
|
||||
void ClrSet() { OffSPrmBit(cCcD_AtSPrm_Set_e); }
|
||||
void OnHitBit() { SetRPrm(cCcD_AtRPrm_Hit_e); }
|
||||
void OffHitBit() { ClrRPrm(cCcD_AtRPrm_Hit_e); }
|
||||
u32 ChkHit() const { return MskRPrm(cCcD_AtRPrm_Hit_e); }
|
||||
|
||||
protected:
|
||||
/* 0x10 */ u32 mType;
|
||||
@ -463,20 +445,20 @@ public:
|
||||
mType = src.mType;
|
||||
}
|
||||
void SetGrp(u32 grp) {
|
||||
OffSPrmBit(TG_SPRM_GRP);
|
||||
OffSPrmBit(cCcD_TgSPrm_GrpAll_e);
|
||||
OnSPrmBit(grp);
|
||||
}
|
||||
void ClrHit() { ClrRPrm(1); ClrObj(); }
|
||||
void ClrHit() { ClrRPrm(cCcD_TgRPrm_Hit_e); ClrObj(); }
|
||||
void SetHit(cCcD_Obj* obj) {
|
||||
SetRPrm(1);
|
||||
SetRPrm(cCcD_TgRPrm_Hit_e);
|
||||
SetHitObj(obj);
|
||||
}
|
||||
u32 GetType() const { return mType; }
|
||||
void SetType(u32 type) { mType = type; }
|
||||
u32 GetGrp() const { return MskSPrm(TG_SPRM_GRP); }
|
||||
bool ChkSet() const { return MskSPrm(TG_SPRM_SET); }
|
||||
void ClrSet() { OffSPrmBit(TG_SPRM_SET); }
|
||||
u32 ChkHit() const { return MskRPrm(1); }
|
||||
u32 GetGrp() const { return MskSPrm(cCcD_TgSPrm_GrpAll_e); }
|
||||
bool ChkSet() const { return MskSPrm(cCcD_TgSPrm_Set_e); }
|
||||
void ClrSet() { OffSPrmBit(cCcD_TgSPrm_Set_e); }
|
||||
u32 ChkHit() const { return MskRPrm(cCcD_TgRPrm_Hit_e); }
|
||||
|
||||
private:
|
||||
/* 0x10 */ u32 mType;
|
||||
@ -488,25 +470,25 @@ class cCcD_ObjCo : public cCcD_ObjCommonBase {
|
||||
public:
|
||||
virtual ~cCcD_ObjCo() {}
|
||||
void SetHit(cCcD_Obj* obj) {
|
||||
SetRPrm(1);
|
||||
SetRPrm(cCcD_CoRPrm_Hit_e);
|
||||
SetHitObj(obj);
|
||||
}
|
||||
void ClrHit() { ClrRPrm(1); ClrObj(); }
|
||||
void ClrHit() { ClrRPrm(cCcD_CoRPrm_Hit_e); ClrObj(); }
|
||||
void SetIGrp(u32 grp) { // Fake inline, but exists in TP
|
||||
OffSPrmBit(CO_SPRM_IGRP);
|
||||
OffSPrmBit(cCcD_CoSPrm_IGrpAll_e);
|
||||
OnSPrmBit(grp);
|
||||
}
|
||||
void SetVsGrp(u32 grp) {
|
||||
OffSPrmBit(CO_SPRM_VSGRP);
|
||||
OffSPrmBit(cCcD_CoSPrm_VsGrpAll_e);
|
||||
OnSPrmBit(grp);
|
||||
}
|
||||
bool ChkSet() const { return MskSPrm(CO_SPRM_SET); }
|
||||
u32 GetVsGrp() const { return MskSPrm(CO_SPRM_VSGRP); }
|
||||
u32 GetIGrp() const { return MskSPrm(CO_SPRM_IGRP); }
|
||||
u32 ChkNoCrr() const { return MskSPrm(CO_SPRM_NO_CRR); }
|
||||
u32 ChkSph3DCrr() const { return MskSPrm(CO_SPRM_SPH_3D_CRR); }
|
||||
void ClrSet() { OffSPrmBit(CO_SPRM_SET); }
|
||||
u32 ChkHit() const { return MskRPrm(1); }
|
||||
bool ChkSet() const { return MskSPrm(cCcD_CoSPrm_Set_e); }
|
||||
u32 GetVsGrp() const { return MskSPrm(cCcD_CoSPrm_VsGrpAll_e); }
|
||||
u32 GetIGrp() const { return MskSPrm(cCcD_CoSPrm_IGrpAll_e); }
|
||||
u32 ChkNoCrr() const { return MskSPrm(cCcD_CoSPrm_NoCrr_e); }
|
||||
u32 ChkSph3DCrr() const { return MskSPrm(cCcD_CoSPrm_Sph3DCrr_e); }
|
||||
void ClrSet() { OffSPrmBit(cCcD_CoSPrm_Set_e); }
|
||||
u32 ChkHit() const { return MskRPrm(cCcD_CoRPrm_Hit_e); }
|
||||
|
||||
void Set(cCcD_SrcObjCo const& src) {
|
||||
cCcD_ObjCommonBase::Set(src.mBase);
|
||||
@ -542,9 +524,9 @@ public:
|
||||
u32 GetCoVsGrp() const { return mObjCo.GetVsGrp(); }
|
||||
u32 GetCoIGrp() const { return mObjCo.GetIGrp(); }
|
||||
u8 GetAtAtp() const { return mObjAt.GetAtp(); }
|
||||
u32 ChkAtNoTgHitInfSet() const { return mObjAt.MskSPrm(AT_SPRM_NO_TG_HIT_INF_SET); }
|
||||
u32 ChkTgNoAtHitInfSet() const { return mObjTg.MskSPrm(TG_SPRM_NO_AT_HIT_INF_SET); }
|
||||
u32 ChkCoNoCoHitInfSet() { return mObjCo.MskSPrm(CO_SPRM_NO_CO_HIT_INF_SET); }
|
||||
u32 ChkAtNoTgHitInfSet() const { return mObjAt.MskSPrm(cCcD_AtSPrm_NoTgHitInfSet_e); }
|
||||
u32 ChkTgNoAtHitInfSet() const { return mObjTg.MskSPrm(cCcD_TgSPrm_NoAtHitInfSet_e); }
|
||||
u32 ChkCoNoCoHitInfSet() { return mObjCo.MskSPrm(cCcD_CoSPrm_NoCoHitInfSet_e); }
|
||||
void SetAtHit(cCcD_Obj* obj) { mObjAt.SetHit(obj); }
|
||||
void SetTgHit(cCcD_Obj* obj) { mObjTg.SetHit(obj); }
|
||||
void SetCoHit(cCcD_Obj* obj) { mObjCo.SetHit(obj); }
|
||||
@ -558,22 +540,22 @@ public:
|
||||
void OnCoSPrmBit(u32 flag) { mObjCo.OnSPrmBit(flag); }
|
||||
void OffCoSPrmBit(u32 flag) { mObjCo.OffSPrmBit(flag); }
|
||||
void SetAtType(u32 type) { mObjAt.SetType(type); }
|
||||
void OnAtSetBit() { mObjAt.OnSPrmBit(AT_SPRM_SET); }
|
||||
void OnAtSetBit() { mObjAt.OnSPrmBit(cCcD_AtSPrm_Set_e); }
|
||||
void SetAtAtp(int atp) { mObjAt.SetAtp(atp); }
|
||||
void OffCoSetBit() { mObjCo.ClrSet(); }
|
||||
void SetTgType(u32 type) { mObjTg.SetType(type); }
|
||||
void OffAtSetBit() { mObjAt.ClrSet(); }
|
||||
void OnAtHitBit() { mObjAt.OnHitBit(); }
|
||||
void OffAtHitBit() { mObjAt.OffHitBit(); }
|
||||
void OnTgSetBit() { mObjTg.OnSPrmBit(TG_SPRM_SET); }
|
||||
void OnTgSetBit() { mObjTg.OnSPrmBit(cCcD_TgSPrm_Set_e); }
|
||||
void OffTgSetBit() { mObjTg.ClrSet(); }
|
||||
void OnCoSetBit() { mObjCo.OnSPrmBit(CO_SPRM_SET); }
|
||||
void OnCoSetBit() { mObjCo.OnSPrmBit(cCcD_CoSPrm_Set_e); }
|
||||
void OnAtVsBitSet(u32 prm) { mObjAt.OnSPrmBit(prm); }
|
||||
void OffAtVsBitSet(u32 prm) { mObjAt.OffSPrmBit(prm); }
|
||||
void OnAtVsEnemyBit() { mObjAt.OnSPrmBit(AT_SPRM_VS_ENEMY); }
|
||||
void OffAtVsEnemyBit() { mObjAt.OffSPrmBit(AT_SPRM_VS_ENEMY); }
|
||||
void OnAtVsPlayerBit() { mObjAt.OnSPrmBit(AT_SPRM_VS_PLAYER); }
|
||||
void OffAtVsPlayerBit() { mObjAt.OffSPrmBit(AT_SPRM_VS_PLAYER); }
|
||||
void OnAtVsEnemyBit() { mObjAt.OnSPrmBit(cCcD_AtSPrm_VsEnemy_e); }
|
||||
void OffAtVsEnemyBit() { mObjAt.OffSPrmBit(cCcD_AtSPrm_VsEnemy_e); }
|
||||
void OnAtVsPlayerBit() { mObjAt.OnSPrmBit(cCcD_AtSPrm_VsPlayer_e); }
|
||||
void OffAtVsPlayerBit() { mObjAt.OffSPrmBit(cCcD_AtSPrm_VsPlayer_e); }
|
||||
void SetTgSPrm(u32 prm) { mObjTg.SetSPrm(prm); } // Fake inline, but exists in TP
|
||||
void SetCoSPrm(u32 prm) { mObjCo.SetSPrm(prm); }
|
||||
void ClrAtHit() { mObjAt.ClrHit(); }
|
||||
@ -589,9 +571,9 @@ public:
|
||||
void ClrTgSet() { OffTgSetBit(); }
|
||||
void ClrCoSet() { OffCoSetBit(); }
|
||||
u32 MskAtSPrm(u32 prm) const { return mObjAt.MskSPrm(prm); }
|
||||
void OnAtNoTgHitInfSet() { mObjAt.OnSPrmBit(AT_SPRM_NO_TG_HIT_INF_SET); }
|
||||
void OffAtNoTgHitInfSet() { mObjAt.OffSPrmBit(AT_SPRM_NO_TG_HIT_INF_SET); }
|
||||
void OnTgNoAtHitInfSet() { mObjTg.OnSPrmBit(TG_SPRM_NO_AT_HIT_INF_SET); }
|
||||
void OnAtNoTgHitInfSet() { mObjAt.OnSPrmBit(cCcD_AtSPrm_NoTgHitInfSet_e); }
|
||||
void OffAtNoTgHitInfSet() { mObjAt.OffSPrmBit(cCcD_AtSPrm_NoTgHitInfSet_e); }
|
||||
void OnTgNoAtHitInfSet() { mObjTg.OnSPrmBit(cCcD_TgSPrm_NoAtHitInfSet_e); }
|
||||
void SetTgGrp(u32 grp) { mObjTg.SetGrp(grp); }
|
||||
void SetCoIGrp(u32 grp) { mObjCo.SetIGrp(grp); } // Fake inline, but exists in TP
|
||||
void SetCoVsGrp(u32 grp) { mObjCo.SetVsGrp(grp); }
|
||||
|
@ -10,45 +10,91 @@
|
||||
#include "f_pc/f_pc_manager.h"
|
||||
#include "d/d_particle_name.h"
|
||||
|
||||
enum dCcG_At_SPrm {
|
||||
G_AT_SPRM_NO_CON_HIT = 0x01,
|
||||
G_AT_SPRM_NO_HIT_MARK = 0x02,
|
||||
G_AT_SPRM_STOP_NO_CON_HIT = 0x04,
|
||||
G_AT_SPRM_NO_MASS = 0x08,
|
||||
enum dCcD_ObjAtType {
|
||||
/* 0x00000002 */ AT_TYPE_SWORD = (1 << 1),
|
||||
/* 0x00000020 */ AT_TYPE_BOMB = (1 << 5),
|
||||
/* 0x00000040 */ AT_TYPE_BOOMERANG = (1 << 6),
|
||||
/* 0x00000080 */ AT_TYPE_BOKO_STICK = (1 << 7),
|
||||
/* 0x00000100 */ AT_TYPE_WATER = (1 << 8),
|
||||
/* 0x00000200 */ AT_TYPE_FIRE = (1 << 9),
|
||||
/* 0x00000400 */ AT_TYPE_MACHETE = (1 << 10),
|
||||
/* 0x00000800 */ AT_TYPE_UNK800 = (1 << 11),
|
||||
/* 0x00001000 */ AT_TYPE_UNK1000 = (1 << 12),
|
||||
/* 0x00002000 */ AT_TYPE_UNK2000 = (1 << 13),
|
||||
/* 0x00004000 */ AT_TYPE_NORMAL_ARROW = (1 << 14),
|
||||
/* 0x00008000 */ AT_TYPE_HOOKSHOT = (1 << 15),
|
||||
/* 0x00010000 */ AT_TYPE_SKULL_HAMMER = (1 << 16),
|
||||
/* 0x00020000 */ AT_TYPE_UNK20000 = (1 << 17),
|
||||
/* 0x00040000 */ AT_TYPE_FIRE_ARROW = (1 << 18),
|
||||
/* 0x00080000 */ AT_TYPE_ICE_ARROW = (1 << 19),
|
||||
/* 0x00100000 */ AT_TYPE_LIGHT_ARROW = (1 << 20),
|
||||
/* 0x00200000 */ AT_TYPE_WIND = (1 << 21),
|
||||
/* 0x00400000 */ AT_TYPE_UNK400000 = (1 << 22),
|
||||
/* 0x00800000 */ AT_TYPE_LIGHT = (1 << 23),
|
||||
/* 0x01000000 */ AT_TYPE_STALFOS_MACE = (1 << 24),
|
||||
/* 0x02000000 */ AT_TYPE_UNK2000000 = (1 << 25),
|
||||
/* 0x04000000 */ AT_TYPE_DARKNUT_SWORD = (1 << 26),
|
||||
/* 0x08000000 */ AT_TYPE_GRAPPLING_HOOK = (1 << 27),
|
||||
/* 0x10000000 */ AT_TYPE_MOBLIN_SPEAR = (1 << 28),
|
||||
/* 0x20000000 */ AT_TYPE_PGANON_SWORD = (1 << 29),
|
||||
/* 0xFFFFFFFF */ AT_TYPE_ALL = ~0,
|
||||
};
|
||||
|
||||
enum dCcG_Tg_SPrm {
|
||||
G_TG_SPRM_SHIELD = 0x01,
|
||||
G_TG_SPRM_NO_CON_HIT = 0x02,
|
||||
G_TG_SPRM_NO_HIT_MARK = 0x04,
|
||||
G_TG_SPRM_SHIELD_FRONT_RANGE = 0x08,
|
||||
enum dCcG_AtSPrm_e {
|
||||
dCcG_AtSPrm_NoConHit_e = 1 << 0,
|
||||
dCcG_AtSPrm_NoHitMark_e = 1 << 1,
|
||||
dCcG_AtSPrm_StopNoConHit_e = 1 << 2,
|
||||
dCcG_AtSPrm_NoMass_e = 1 << 3,
|
||||
};
|
||||
|
||||
enum dCcG_Co_SPrm {
|
||||
G_CO_SPRM_AT_LASSO = 0x01,
|
||||
G_CO_SPRM_TG_LASSO = 0x02,
|
||||
enum dCcG_AtRPrm_e {
|
||||
dCcG_AtRPrm_ShieldHit_e = 1 << 0,
|
||||
dCcG_AtRPrm_HitNoActor_e = 1 << 1,
|
||||
};
|
||||
|
||||
enum dCcD_hitSe {
|
||||
/* 0x01 */ dCcD_SE_UNK1 = 1,
|
||||
/* 0x02 */ dCcD_SE_UNK2 = 2,
|
||||
/* 0x04 */ dCcD_SE_UNK4 = 4,
|
||||
/* 0x05 */ dCcD_SE_UNK5 = 5,
|
||||
/* 0x06 */ dCcD_SE_UNK6 = 6,
|
||||
/* 0x07 */ dCcD_SE_ARROW = 7,
|
||||
/* 0x08 */ dCcD_SE_HOOKSHOT = 8,
|
||||
/* 0x23 */ dCcD_SE_UNK23 = 0x23,
|
||||
/* 0x25 */ dCcD_SE_UNK25 = 0x25,
|
||||
enum dCcG_TgSPrm_e {
|
||||
dCcG_TgSPrm_Shield_e = 1 << 0,
|
||||
dCcG_TgSPrm_NoConHit_e = 1 << 1,
|
||||
dCcG_TgSPrm_NoHitMark_e = 1 << 2,
|
||||
dCcG_TgSPrm_ShieldFrontRange_e = 1 << 3,
|
||||
};
|
||||
|
||||
enum dCcG_TgRPrm_e {
|
||||
dCcG_TgRPrm_HitNoActor_e = 1 << 0,
|
||||
dCcG_TgRPrm_ShieldHit_e = 1 << 1,
|
||||
};
|
||||
|
||||
enum dCcG_CoSPrm_e {
|
||||
dCcG_CoSPrm_AtLasso_e = 1 << 0,
|
||||
dCcG_CoSPrm_TgLasso_e = 1 << 1,
|
||||
};
|
||||
|
||||
enum dCcG_CoRPrm_e {
|
||||
dCcG_CoRPrm_HitNoActor_e = 1 << 0,
|
||||
};
|
||||
|
||||
enum dCcG_hitSe {
|
||||
/* 0x01 */ dCcG_SE_UNK1 = 1,
|
||||
/* 0x02 */ dCcG_SE_UNK2 = 2,
|
||||
/* 0x04 */ dCcG_SE_UNK4 = 4,
|
||||
/* 0x05 */ dCcG_SE_UNK5 = 5,
|
||||
/* 0x06 */ dCcG_SE_UNK6 = 6,
|
||||
/* 0x07 */ dCcG_SE_ARROW = 7,
|
||||
/* 0x08 */ dCcG_SE_HOOKSHOT = 8,
|
||||
/* 0x23 */ dCcG_SE_UNK23 = 0x23,
|
||||
/* 0x25 */ dCcG_SE_UNK25 = 0x25,
|
||||
};
|
||||
|
||||
enum CcG_At_HitMark {
|
||||
/* 0xD */ G_AT_MARK_NORMAL_HIT = dPa_name::ID_COMMON_NORMAL_HIT,
|
||||
/* 0xF */ G_AT_MARK_BIG_HIT = dPa_name::ID_COMMON_BIG_HIT,
|
||||
/* 0x0 */ dCcG_AtHitMark_None_e = 0,
|
||||
/* 0x1 */ dCcG_AtHitMark_Unk1_e = 1,
|
||||
/* 0xD */ dCcG_AtHitMark_Nrm_e = dPa_name::ID_COMMON_NORMAL_HIT,
|
||||
/* 0xF */ dCcG_AtHitMark_Big_e = dPa_name::ID_COMMON_BIG_HIT,
|
||||
};
|
||||
|
||||
enum CcG_Tg_HitMark {
|
||||
/* 0x1 */ G_TG_MARK_UNK1 = 1,
|
||||
/* 0xC */ G_TG_MARK_PURPLE_HIT = dPa_name::ID_COMMON_PURPLE_HIT,
|
||||
/* 0x1 */ dCcG_TgHitMark_Unk1_e = 1,
|
||||
/* 0xC */ dCcg_TgHitMark_Purple_e = dPa_name::ID_COMMON_PURPLE_HIT,
|
||||
};
|
||||
|
||||
enum dCcG_At_Spl {
|
||||
@ -115,6 +161,10 @@ struct dCcD_SrcCps {
|
||||
|
||||
class dCcD_GStts : public cCcD_GStts {
|
||||
public:
|
||||
enum {
|
||||
Stts_NoActor_e = 1 << 0,
|
||||
};
|
||||
|
||||
dCcD_GStts();
|
||||
virtual ~dCcD_GStts() {}
|
||||
|
||||
@ -128,13 +178,13 @@ public:
|
||||
void SetRoomId(int id) { mRoomId = id; }
|
||||
fpc_ProcID GetAtOldApid() { return mAtOldApid; }
|
||||
fpc_ProcID GetTgOldApid() { return mTgOldApid; }
|
||||
bool ChkNoActor() { return field_0x1C & 1; }
|
||||
bool ChkNoActor() { return mFlag & 1; }
|
||||
bool ChkNoneActorPerfTblId() { return mActorPerfTblId == 0xFFFF; }
|
||||
dCcG_At_Spl GetAtSpl() { return (dCcG_At_Spl)mAtSpl; }
|
||||
void SetAtSpl(dCcG_At_Spl spl) { mAtSpl = spl; }
|
||||
dCcG_Tg_Spl GetTgSpl() { return (dCcG_Tg_Spl)mTgSpl; }
|
||||
void SetTgSpl(dCcG_Tg_Spl spl) { mTgSpl = spl; }
|
||||
void OnNoActor() { field_0x1C |= 1; }
|
||||
void OnNoActor() { mFlag |= Stts_NoActor_e; }
|
||||
|
||||
// private:
|
||||
/* 0x04 */ u8 mAtSpl;
|
||||
@ -145,7 +195,7 @@ public:
|
||||
/* 0x10 */ fpc_ProcID mAtOldApid;
|
||||
/* 0x14 */ fpc_ProcID mTgApid;
|
||||
/* 0x18 */ fpc_ProcID mTgOldApid;
|
||||
/* 0x1C */ int field_0x1C;
|
||||
/* 0x1C */ u32 mFlag;
|
||||
}; // Size = 0x20
|
||||
|
||||
class dCcD_Stts : public cCcD_Stts, public dCcD_GStts {
|
||||
@ -183,7 +233,6 @@ public:
|
||||
/* 0x0C */ fpc_ProcID mApid;
|
||||
/* 0x10 */ fopAc_ac_c* mAc;
|
||||
/* 0x14 */ s8 mEffCounter;
|
||||
/* 0x15 */ u8 field_0x15[3];
|
||||
/* 0x18 vtable */
|
||||
|
||||
public:
|
||||
@ -335,18 +384,18 @@ public:
|
||||
|
||||
void SetAtVec(cXyz& vec) { mGObjAt.SetVec(vec); }
|
||||
void SetTgVec(cXyz& vec) { mGObjTg.SetVec(vec); }
|
||||
bool ChkAtNoMass() { return mGObjAt.ChkSPrm(G_AT_SPRM_NO_MASS); }
|
||||
bool ChkAtNoHitMark() { return mGObjAt.ChkSPrm(G_AT_SPRM_NO_HIT_MARK); }
|
||||
void OnAtNoHitMark() { mGObjAt.OnSPrm(G_AT_SPRM_NO_HIT_MARK); }
|
||||
void OffAtNoHitMark() { mGObjAt.OffSPrm(G_AT_SPRM_NO_HIT_MARK); }
|
||||
bool ChkTgNoHitMark() { return mGObjTg.ChkSPrm(G_TG_SPRM_NO_HIT_MARK); }
|
||||
void OnTgNoHitMark() { mGObjTg.OnSPrm(G_TG_SPRM_NO_HIT_MARK); }
|
||||
void OffTgNoHitMark() { mGObjTg.OffSPrm(G_TG_SPRM_NO_HIT_MARK); }
|
||||
bool ChkAtNoConHit() { return mGObjAt.ChkSPrm(G_AT_SPRM_NO_CON_HIT); }
|
||||
void OnAtNoConHit() { mGObjAt.OnSPrm(G_AT_SPRM_NO_CON_HIT); }
|
||||
void OffAtNoConHit() { mGObjAt.OffSPrm(G_AT_SPRM_NO_CON_HIT); }
|
||||
bool ChkTgNoConHit() { return mGObjTg.ChkSPrm(G_TG_SPRM_NO_CON_HIT); }
|
||||
void OnTgNoConHit() { mGObjTg.OnSPrm(G_TG_SPRM_NO_CON_HIT); }
|
||||
bool ChkAtNoMass() { return mGObjAt.ChkSPrm(dCcG_AtSPrm_NoMass_e); }
|
||||
bool ChkAtNoHitMark() { return mGObjAt.ChkSPrm(dCcG_AtSPrm_NoHitMark_e); }
|
||||
void OnAtNoHitMark() { mGObjAt.OnSPrm(dCcG_AtSPrm_NoHitMark_e); }
|
||||
void OffAtNoHitMark() { mGObjAt.OffSPrm(dCcG_AtSPrm_NoHitMark_e); }
|
||||
bool ChkTgNoHitMark() { return mGObjTg.ChkSPrm(dCcG_TgSPrm_NoHitMark_e); }
|
||||
void OnTgNoHitMark() { mGObjTg.OnSPrm(dCcG_TgSPrm_NoHitMark_e); }
|
||||
void OffTgNoHitMark() { mGObjTg.OffSPrm(dCcG_TgSPrm_NoHitMark_e); }
|
||||
bool ChkAtNoConHit() { return mGObjAt.ChkSPrm(dCcG_AtSPrm_NoConHit_e); }
|
||||
void OnAtNoConHit() { mGObjAt.OnSPrm(dCcG_AtSPrm_NoConHit_e); }
|
||||
void OffAtNoConHit() { mGObjAt.OffSPrm(dCcG_AtSPrm_NoConHit_e); }
|
||||
bool ChkTgNoConHit() { return mGObjTg.ChkSPrm(dCcG_TgSPrm_NoConHit_e); }
|
||||
void OnTgNoConHit() { mGObjTg.OnSPrm(dCcG_TgSPrm_NoConHit_e); }
|
||||
int GetAtHitMark() { return mGObjAt.GetHitMark(); }
|
||||
int GetTgHitMark() { return mGObjTg.GetHitMark(); }
|
||||
void SetAtHitMark(u8 mark) { mGObjAt.SetHitMark(mark); }
|
||||
@ -365,49 +414,50 @@ public:
|
||||
void SetTgHitCallback(dCcD_HitCallback callback) { mGObjTg.SetHitCallback(callback); }
|
||||
void SetCoHitCallback(dCcD_HitCallback callback) { mGObjCo.SetHitCallback(callback); }
|
||||
u8 GetAtSe() { return mGObjAt.GetSe(); }
|
||||
bool ChkAtStopNoConHit() { return mGObjAt.ChkSPrm(dCcG_AtSPrm_StopNoConHit_e); }
|
||||
fopAc_ac_c* GetTgHitAc() { return mGObjTg.GetAc(); }
|
||||
void SetTgShieldFrontRangeYAngle(s16* angle) { mGObjTg.SetShieldFrontRangeYAngle(angle); }
|
||||
bool ChkTgShield() { return mGObjTg.ChkSPrm(G_TG_SPRM_SHIELD); }
|
||||
void OnTgShield() { mGObjTg.OnSPrm(G_TG_SPRM_SHIELD); }
|
||||
void OffTgShield() { mGObjTg.OffSPrm(G_TG_SPRM_SHIELD); }
|
||||
bool ChkTgShieldFrontRange() { return mGObjTg.ChkSPrm(G_TG_SPRM_SHIELD_FRONT_RANGE); }
|
||||
void OnTgShieldFrontRange() { mGObjTg.OnSPrm(G_TG_SPRM_SHIELD_FRONT_RANGE); }
|
||||
void OffTgShieldFrontRange() { mGObjTg.OffSPrm(G_TG_SPRM_SHIELD_FRONT_RANGE); }
|
||||
bool ChkTgShield() { return mGObjTg.ChkSPrm(dCcG_TgSPrm_Shield_e); }
|
||||
void OnTgShield() { mGObjTg.OnSPrm(dCcG_TgSPrm_Shield_e); }
|
||||
void OffTgShield() { mGObjTg.OffSPrm(dCcG_TgSPrm_Shield_e); }
|
||||
bool ChkTgShieldFrontRange() { return mGObjTg.ChkSPrm(dCcG_TgSPrm_ShieldFrontRange_e); }
|
||||
void OnTgShieldFrontRange() { mGObjTg.OnSPrm(dCcG_TgSPrm_ShieldFrontRange_e); }
|
||||
void OffTgShieldFrontRange() { mGObjTg.OffSPrm(dCcG_TgSPrm_ShieldFrontRange_e); }
|
||||
s16* GetTgShieldFrontRangeYAngle() { return mGObjTg.GetShieldFrontRangeYAngle(); }
|
||||
bool ChkAtStopNoConHit() { return mGObjAt.ChkSPrm(G_AT_SPRM_STOP_NO_CON_HIT); }
|
||||
bool ChkCoAtLasso() { return mGObjCo.ChkSPrm(G_CO_SPRM_AT_LASSO); }
|
||||
bool ChkCoTgLasso() { return mGObjCo.ChkSPrm(G_CO_SPRM_TG_LASSO); }
|
||||
bool ChkCoAtLasso() { return mGObjCo.ChkSPrm(dCcG_CoSPrm_AtLasso_e); }
|
||||
bool ChkCoTgLasso() { return mGObjCo.ChkSPrm(dCcG_CoSPrm_TgLasso_e); }
|
||||
dCcD_HitCallback GetCoHitCallback() { return mGObjCo.GetHitCallback(); }
|
||||
dCcD_HitCallback GetAtHitCallback() { return mGObjAt.GetHitCallback(); }
|
||||
dCcD_HitCallback GetTgHitCallback() { return mGObjTg.GetHitCallback(); }
|
||||
void SetCoHitApid(fpc_ProcID apid) { mGObjCo.SetHitApid(apid); }
|
||||
void SetAtHitApid(fpc_ProcID apid) { mGObjAt.SetHitApid(apid); }
|
||||
void SetTgHitApid(fpc_ProcID apid) { mGObjTg.SetHitApid(apid); }
|
||||
void OnCoHitNoActor() { mGObjCo.OnRPrm(1); }
|
||||
void OffCoHitNoActor() { mGObjCo.OffRPrm(1); }
|
||||
void OnAtHitNoActor() { mGObjAt.OnRPrm(2); }
|
||||
void OffAtHitNoActor() { mGObjAt.OffRPrm(2); }
|
||||
void OnTgHitNoActor() { mGObjTg.OnRPrm(1); }
|
||||
void OffTgHitNoActor() { mGObjTg.OffRPrm(1); }
|
||||
bool ChkCoHitNoActor() { return mGObjCo.ChkRPrm(1); }
|
||||
bool ChkAtHitNoActor() { return mGObjAt.ChkRPrm(2); }
|
||||
bool ChkTgHitNoActor() { return mGObjTg.ChkRPrm(1); }
|
||||
bool ChkAtHitNoActor() { return mGObjAt.ChkRPrm(dCcG_AtRPrm_HitNoActor_e); }
|
||||
void OnAtHitNoActor() { mGObjAt.OnRPrm(dCcG_AtRPrm_HitNoActor_e); }
|
||||
void OffAtHitNoActor() { mGObjAt.OffRPrm(dCcG_AtRPrm_HitNoActor_e); }
|
||||
bool ChkTgHitNoActor() { return mGObjTg.ChkRPrm(dCcG_TgRPrm_HitNoActor_e); }
|
||||
void OnTgHitNoActor() { mGObjTg.OnRPrm(dCcG_TgRPrm_HitNoActor_e); }
|
||||
void OffTgHitNoActor() { mGObjTg.OffRPrm(dCcG_TgRPrm_HitNoActor_e); }
|
||||
bool ChkCoHitNoActor() { return mGObjCo.ChkRPrm(dCcG_CoRPrm_HitNoActor_e); }
|
||||
void OnCoHitNoActor() { mGObjCo.OnRPrm(dCcG_CoRPrm_HitNoActor_e); }
|
||||
void OffCoHitNoActor() { mGObjCo.OffRPrm(dCcG_CoRPrm_HitNoActor_e); }
|
||||
bool ChkTgShieldHit() { return mGObjTg.ChkRPrm(dCcG_TgRPrm_ShieldHit_e); }
|
||||
void OnTgShieldHit() { mGObjTg.OnRPrm(dCcG_TgRPrm_ShieldHit_e); }
|
||||
void OffTgShieldHit() { mGObjTg.OffRPrm(dCcG_TgRPrm_ShieldHit_e); }
|
||||
bool ChkAtShieldHit() { return mGObjAt.ChkRPrm(dCcG_AtRPrm_ShieldHit_e); }
|
||||
void OnAtShieldHit() { mGObjAt.OnRPrm(dCcG_AtRPrm_ShieldHit_e); }
|
||||
void OffAtShieldHit() { mGObjAt.OffRPrm(dCcG_AtRPrm_ShieldHit_e); }
|
||||
|
||||
bool ChkAtEffCounter() { return mGObjAt.ChkEffCounter(); }
|
||||
bool ChkTgEffCounter() { return mGObjTg.ChkEffCounter(); }
|
||||
void ClrAtEffCounter() { mGObjAt.ClrEffCounter(); }
|
||||
void ClrTgEffCounter() { mGObjTg.ClrEffCounter(); }
|
||||
void ClrCoEffCounter() { mGObjCo.ClrEffCounter(); }
|
||||
void SetAtEffCounterTimer() { mGObjAt.SetEffCounterTimer(); }
|
||||
void SetTgEffCounterTimer() { mGObjTg.SetEffCounterTimer(); }
|
||||
void SubtractAtEffCounter() { mGObjAt.SubtractEffCounter(); }
|
||||
bool ChkTgEffCounter() { return mGObjTg.ChkEffCounter(); }
|
||||
void ClrTgEffCounter() { mGObjTg.ClrEffCounter(); }
|
||||
void SetTgEffCounterTimer() { mGObjTg.SetEffCounterTimer(); }
|
||||
void SubtractTgEffCounter() { mGObjTg.SubtractEffCounter(); }
|
||||
void ClrCoEffCounter() { mGObjCo.ClrEffCounter(); }
|
||||
void SubtractCoEffCounter() { mGObjCo.SubtractEffCounter(); }
|
||||
void OnTgShieldHit() { mGObjTg.OnRPrm(2); }
|
||||
void OffTgShieldHit() { mGObjTg.OffRPrm(2); }
|
||||
bool ChkTgShieldHit() { return mGObjTg.ChkRPrm(2); }
|
||||
void OnAtShieldHit() { mGObjAt.OnRPrm(1); }
|
||||
void OffAtShieldHit() { mGObjAt.OffRPrm(1); }
|
||||
bool ChkAtShieldHit() { return mGObjAt.ChkRPrm(1); }
|
||||
void SetTgRVec(cXyz& vec) { mGObjTg.SetRVec(vec); }
|
||||
void SetAtRVec(cXyz& vec) { mGObjAt.SetRVec(vec); }
|
||||
void SetTgHitPos(cXyz& pos) { mGObjTg.SetHitPos(pos); }
|
||||
|
@ -77,20 +77,20 @@ dCcD_SrcCyl cc_cyl_src = {
|
||||
/* Flags */ 0,
|
||||
/* SrcObjAt Type */ AT_TYPE_SKULL_HAMMER,
|
||||
/* SrcObjAt Atp */ 0,
|
||||
/* SrcObjAt SPrm */ AT_SPRM_SET | AT_SPRM_GRP,
|
||||
/* SrcObjAt SPrm */ cCcD_AtSPrm_Set_e | cCcD_AtSPrm_GrpAll_e,
|
||||
/* SrcObjTg Type */ AT_TYPE_ALL,
|
||||
/* SrcObjTg SPrm */ TG_SPRM_SET | TG_SPRM_IS_ENEMY,
|
||||
/* SrcObjCo SPrm */ CO_SPRM_SET | CO_SPRM_IS_UNK4 | CO_SPRM_VSGRP,
|
||||
/* SrcObjTg SPrm */ cCcD_TgSPrm_Set_e | cCcD_TgSPrm_IsEnemy_e,
|
||||
/* SrcObjCo SPrm */ cCcD_CoSPrm_Set_e | cCcD_CoSPrm_IsPlayer_e | cCcD_CoSPrm_VsGrpAll_e,
|
||||
/* SrcGObjAt Se */ 0,
|
||||
/* SrcGObjAt HitMark */ 0,
|
||||
/* SrcGObjAt Spl */ 0,
|
||||
/* SrcGObjAt Mtrl */ 0,
|
||||
/* SrcGObjAt SPrm */ 0,
|
||||
/* SrcGObjTg Se */ dCcD_SE_UNK5,
|
||||
/* SrcGObjTg HitMark */ G_TG_MARK_PURPLE_HIT,
|
||||
/* SrcGObjTg Se */ dCcG_SE_UNK5,
|
||||
/* SrcGObjTg HitMark */ dCcg_TgHitMark_Purple_e,
|
||||
/* SrcGObjTg Spl */ 0,
|
||||
/* SrcGObjTg Mtrl */ 0,
|
||||
/* SrcGObjTg SPrm */ G_TG_SPRM_SHIELD | G_TG_SPRM_NO_CON_HIT,
|
||||
/* SrcGObjTg SPrm */ dCcG_TgSPrm_Shield_e | dCcG_TgSPrm_NoConHit_e,
|
||||
/* SrcGObjCo SPrm */ 0,
|
||||
},
|
||||
// cM3dGCylS
|
||||
@ -407,7 +407,7 @@ dCcD_SrcSph fire_at_sph_src = {
|
||||
/* Flags */ 0,
|
||||
/* SrcObjAt Type */ AT_TYPE_FIRE,
|
||||
/* SrcObjAt Atp */ 0x02,
|
||||
/* SrcObjAt SPrm */ AT_SPRM_SET | AT_SPRM_GRP,
|
||||
/* SrcObjAt SPrm */ cCcD_AtSPrm_Set_e | cCcD_AtSPrm_GrpAll_e,
|
||||
/* SrcObjTg Type */ 0,
|
||||
/* SrcObjTg SPrm */ 0,
|
||||
/* SrcObjCo SPrm */ 0,
|
||||
@ -415,7 +415,7 @@ dCcD_SrcSph fire_at_sph_src = {
|
||||
/* SrcGObjAt HitMark */ 0,
|
||||
/* SrcGObjAt Spl */ 0,
|
||||
/* SrcGObjAt Mtrl */ 0,
|
||||
/* SrcGObjAt SPrm */ G_AT_SPRM_NO_CON_HIT,
|
||||
/* SrcGObjAt SPrm */ dCcG_AtSPrm_NoConHit_e,
|
||||
/* SrcGObjTg Se */ 0,
|
||||
/* SrcGObjTg HitMark */ 0,
|
||||
/* SrcGObjTg Spl */ 0,
|
||||
|
@ -32,7 +32,7 @@ static dCcD_SrcCyl l_cyl_src = {
|
||||
/* SrcObjAt Atp */ 0,
|
||||
/* SrcObjAt SPrm */ 0,
|
||||
/* SrcObjTg Type */ AT_TYPE_BOMB,
|
||||
/* SrcObjTg SPrm */ TG_SPRM_SET | TG_SPRM_IS_OTHER,
|
||||
/* SrcObjTg SPrm */ cCcD_TgSPrm_Set_e | cCcD_TgSPrm_IsOther_e,
|
||||
/* SrcObjCo SPrm */ 0,
|
||||
/* SrcGObjAt Se */ 0,
|
||||
/* SrcGObjAt HitMark */ 0,
|
||||
@ -43,7 +43,7 @@ static dCcD_SrcCyl l_cyl_src = {
|
||||
/* SrcGObjTg HitMark */ 0,
|
||||
/* SrcGObjTg Spl */ 0,
|
||||
/* SrcGObjTg Mtrl */ 0,
|
||||
/* SrcGObjTg SPrm */ G_TG_SPRM_NO_HIT_MARK,
|
||||
/* SrcGObjTg SPrm */ dCcG_TgSPrm_NoHitMark_e,
|
||||
/* SrcGObjCo SPrm */ 0,
|
||||
},
|
||||
// cM3dGCylS
|
||||
|
@ -268,7 +268,7 @@ static BOOL medama_atari_check(am_class* i_this) {
|
||||
if (i_this->mCurrBckIdx == AM_BCK_SLEEP || i_this->mCurrBckIdx == AM_BCK_SLEEP_LOOP) {
|
||||
anm_init(i_this, AM_BCK_OKIRU, 1.0f, J3DFrameCtrl::LOOP_ONCE_e, 1.0f, -1);
|
||||
i_this->attention_info.flags = fopAc_Attn_LOCKON_BATTLE_e;
|
||||
i_this->mNeedleCyl.OnAtSPrmBit(AT_SPRM_SET);
|
||||
i_this->mNeedleCyl.OnAtSPrmBit(cCcD_AtSPrm_Set_e);
|
||||
i_this->mNeedleCyl.OnAtHitBit();
|
||||
i_this->mAction = ACTION_DOUSA;
|
||||
i_this->mState = 2;
|
||||
@ -519,7 +519,7 @@ static void action_dousa(am_class* i_this) {
|
||||
// Fall-through
|
||||
case 4: {
|
||||
if (i_this->mCountDownTimers[2] == 1) {
|
||||
i_this->mNeedleCyl.OnAtSPrmBit(AT_SPRM_SET);
|
||||
i_this->mNeedleCyl.OnAtSPrmBit(cCcD_AtSPrm_Set_e);
|
||||
i_this->mNeedleCyl.OnAtHitBit();
|
||||
}
|
||||
if (i_this->mCountDownTimers[2] != 0) {
|
||||
@ -1186,7 +1186,7 @@ static s32 daAM_Create(fopAc_ac_c* i_actor) {
|
||||
/* SrcObjAt Atp */ 0,
|
||||
/* SrcObjAt SPrm */ 0,
|
||||
/* SrcObjTg Type */ AT_TYPE_NORMAL_ARROW | AT_TYPE_FIRE_ARROW | AT_TYPE_ICE_ARROW | AT_TYPE_LIGHT_ARROW | AT_TYPE_GRAPPLING_HOOK,
|
||||
/* SrcObjTg SPrm */ TG_SPRM_SET | TG_SPRM_IS_ENEMY,
|
||||
/* SrcObjTg SPrm */ cCcD_TgSPrm_Set_e | cCcD_TgSPrm_IsEnemy_e,
|
||||
/* SrcObjCo SPrm */ 0,
|
||||
/* SrcGObjAt Se */ 0,
|
||||
/* SrcGObjAt HitMark */ 0,
|
||||
@ -1197,7 +1197,7 @@ static s32 daAM_Create(fopAc_ac_c* i_actor) {
|
||||
/* SrcGObjTg HitMark */ 0,
|
||||
/* SrcGObjTg Spl */ 0,
|
||||
/* SrcGObjTg Mtrl */ 0,
|
||||
/* SrcGObjTg SPrm */ G_TG_SPRM_NO_CON_HIT | G_TG_SPRM_NO_HIT_MARK,
|
||||
/* SrcGObjTg SPrm */ dCcG_TgSPrm_NoConHit_e | dCcG_TgSPrm_NoHitMark_e,
|
||||
/* SrcGObjCo SPrm */ 0,
|
||||
},
|
||||
// cM3dGSphS
|
||||
@ -1218,7 +1218,7 @@ static s32 daAM_Create(fopAc_ac_c* i_actor) {
|
||||
/* SrcObjAt SPrm */ 0,
|
||||
/* SrcObjTg Type */ 0,
|
||||
/* SrcObjTg SPrm */ 0,
|
||||
/* SrcObjCo SPrm */ CO_SPRM_SET | CO_SPRM_IS_UNK4 | CO_SPRM_VS_UNK8 | CO_SPRM_NO_CRR,
|
||||
/* SrcObjCo SPrm */ cCcD_CoSPrm_Set_e | cCcD_CoSPrm_IsPlayer_e | cCcD_CoSPrm_VsOther_e | cCcD_CoSPrm_NoCrr_e,
|
||||
/* SrcGObjAt Se */ 0,
|
||||
/* SrcGObjAt HitMark */ 0,
|
||||
/* SrcGObjAt Spl */ 0,
|
||||
@ -1228,7 +1228,7 @@ static s32 daAM_Create(fopAc_ac_c* i_actor) {
|
||||
/* SrcGObjTg HitMark */ 0,
|
||||
/* SrcGObjTg Spl */ 0,
|
||||
/* SrcGObjTg Mtrl */ 0,
|
||||
/* SrcGObjTg SPrm */ G_TG_SPRM_NO_CON_HIT,
|
||||
/* SrcGObjTg SPrm */ dCcG_TgSPrm_NoConHit_e,
|
||||
/* SrcGObjCo SPrm */ 0,
|
||||
},
|
||||
// cM3dGSphS
|
||||
@ -1248,18 +1248,18 @@ static s32 daAM_Create(fopAc_ac_c* i_actor) {
|
||||
/* SrcObjAt Atp */ 0,
|
||||
/* SrcObjAt SPrm */ 0,
|
||||
/* SrcObjTg Type */ ~(AT_TYPE_WATER | AT_TYPE_UNK20000 | AT_TYPE_WIND | AT_TYPE_UNK400000 | AT_TYPE_LIGHT),
|
||||
/* SrcObjTg SPrm */ TG_SPRM_SET | TG_SPRM_IS_ENEMY,
|
||||
/* SrcObjCo SPrm */ CO_SPRM_SET | CO_SPRM_IS_UNK4 | CO_SPRM_VSGRP,
|
||||
/* SrcObjTg SPrm */ cCcD_TgSPrm_Set_e | cCcD_TgSPrm_IsEnemy_e,
|
||||
/* SrcObjCo SPrm */ cCcD_CoSPrm_Set_e | cCcD_CoSPrm_IsPlayer_e | cCcD_CoSPrm_VsGrpAll_e,
|
||||
/* SrcGObjAt Se */ 0,
|
||||
/* SrcGObjAt HitMark */ 0,
|
||||
/* SrcGObjAt Spl */ 0,
|
||||
/* SrcGObjAt Mtrl */ 0,
|
||||
/* SrcGObjAt SPrm */ 0,
|
||||
/* SrcGObjTg Se */ 0,
|
||||
/* SrcGObjTg HitMark */ G_TG_MARK_PURPLE_HIT,
|
||||
/* SrcGObjTg HitMark */ dCcg_TgHitMark_Purple_e,
|
||||
/* SrcGObjTg Spl */ 0,
|
||||
/* SrcGObjTg Mtrl */ 0,
|
||||
/* SrcGObjTg SPrm */ G_TG_SPRM_SHIELD | G_TG_SPRM_NO_CON_HIT,
|
||||
/* SrcGObjTg SPrm */ dCcG_TgSPrm_Shield_e | dCcG_TgSPrm_NoConHit_e,
|
||||
/* SrcGObjCo SPrm */ 0,
|
||||
},
|
||||
// cM3dGCylS
|
||||
@ -1278,20 +1278,20 @@ static s32 daAM_Create(fopAc_ac_c* i_actor) {
|
||||
/* Flags */ 0,
|
||||
/* SrcObjAt Type */ AT_TYPE_UNK1000,
|
||||
/* SrcObjAt Atp */ 2,
|
||||
/* SrcObjAt SPrm */ AT_SPRM_SET | AT_SPRM_GRP,
|
||||
/* SrcObjAt SPrm */ cCcD_AtSPrm_Set_e | cCcD_AtSPrm_GrpAll_e,
|
||||
/* SrcObjTg Type */ 0,
|
||||
/* SrcObjTg SPrm */ 0,
|
||||
/* SrcObjCo SPrm */ CO_SPRM_SET | CO_SPRM_IS_UNK4 | CO_SPRM_VSGRP,
|
||||
/* SrcObjCo SPrm */ cCcD_CoSPrm_Set_e | cCcD_CoSPrm_IsPlayer_e | cCcD_CoSPrm_VsGrpAll_e,
|
||||
/* SrcGObjAt Se */ 0,
|
||||
/* SrcGObjAt HitMark */ 0,
|
||||
/* SrcGObjAt Spl */ dCcG_At_Spl_UNK6,
|
||||
/* SrcGObjAt Mtrl */ 0,
|
||||
/* SrcGObjAt SPrm */ 0,
|
||||
/* SrcGObjTg Se */ 0,
|
||||
/* SrcGObjTg HitMark */ G_TG_MARK_PURPLE_HIT,
|
||||
/* SrcGObjTg HitMark */ dCcg_TgHitMark_Purple_e,
|
||||
/* SrcGObjTg Spl */ 0,
|
||||
/* SrcGObjTg Mtrl */ 0,
|
||||
/* SrcGObjTg SPrm */ G_TG_SPRM_SHIELD | G_TG_SPRM_NO_CON_HIT,
|
||||
/* SrcGObjTg SPrm */ dCcG_TgSPrm_Shield_e | dCcG_TgSPrm_NoConHit_e,
|
||||
/* SrcGObjCo SPrm */ 0,
|
||||
},
|
||||
// cM3dGCylS
|
||||
|
@ -1319,7 +1319,7 @@ static s32 daAM2_Create(fopAc_ac_c* i_actor) {
|
||||
/* SrcObjAt Atp */ 0,
|
||||
/* SrcObjAt SPrm */ 0,
|
||||
/* SrcObjTg Type */ AT_TYPE_NORMAL_ARROW | AT_TYPE_FIRE_ARROW | AT_TYPE_ICE_ARROW | AT_TYPE_LIGHT_ARROW | AT_TYPE_GRAPPLING_HOOK,
|
||||
/* SrcObjTg SPrm */ TG_SPRM_SET | TG_SPRM_IS_ENEMY,
|
||||
/* SrcObjTg SPrm */ cCcD_TgSPrm_Set_e | cCcD_TgSPrm_IsEnemy_e,
|
||||
/* SrcObjCo SPrm */ 0,
|
||||
/* SrcGObjAt Se */ 0,
|
||||
/* SrcGObjAt HitMark */ 0,
|
||||
@ -1330,7 +1330,7 @@ static s32 daAM2_Create(fopAc_ac_c* i_actor) {
|
||||
/* SrcGObjTg HitMark */ 0,
|
||||
/* SrcGObjTg Spl */ 0,
|
||||
/* SrcGObjTg Mtrl */ 0,
|
||||
/* SrcGObjTg SPrm */ G_TG_SPRM_NO_CON_HIT | G_TG_SPRM_NO_HIT_MARK,
|
||||
/* SrcGObjTg SPrm */ dCcG_TgSPrm_NoConHit_e | dCcG_TgSPrm_NoHitMark_e,
|
||||
/* SrcGObjCo SPrm */ 0,
|
||||
},
|
||||
// cM3dGSphS
|
||||
@ -1351,7 +1351,7 @@ static s32 daAM2_Create(fopAc_ac_c* i_actor) {
|
||||
/* SrcObjAt Atp */ 0,
|
||||
/* SrcObjAt SPrm */ 0,
|
||||
/* SrcObjTg Type */ ~(AT_TYPE_WATER | AT_TYPE_UNK20000 | AT_TYPE_WIND | AT_TYPE_UNK400000 | AT_TYPE_LIGHT),
|
||||
/* SrcObjTg SPrm */ TG_SPRM_SET | TG_SPRM_IS_ENEMY,
|
||||
/* SrcObjTg SPrm */ cCcD_TgSPrm_Set_e | cCcD_TgSPrm_IsEnemy_e,
|
||||
/* SrcObjCo SPrm */ 0,
|
||||
/* SrcGObjAt Se */ 0,
|
||||
/* SrcGObjAt HitMark */ 0,
|
||||
@ -1362,7 +1362,7 @@ static s32 daAM2_Create(fopAc_ac_c* i_actor) {
|
||||
/* SrcGObjTg HitMark */ 0,
|
||||
/* SrcGObjTg Spl */ 0,
|
||||
/* SrcGObjTg Mtrl */ 0,
|
||||
/* SrcGObjTg SPrm */ G_TG_SPRM_NO_CON_HIT | G_TG_SPRM_NO_HIT_MARK,
|
||||
/* SrcGObjTg SPrm */ dCcG_TgSPrm_NoConHit_e | dCcG_TgSPrm_NoHitMark_e,
|
||||
/* SrcGObjCo SPrm */ 0,
|
||||
},
|
||||
// cM3dGSphS
|
||||
@ -1383,18 +1383,18 @@ static s32 daAM2_Create(fopAc_ac_c* i_actor) {
|
||||
/* SrcObjAt Atp */ 0,
|
||||
/* SrcObjAt SPrm */ 0,
|
||||
/* SrcObjTg Type */ ~(AT_TYPE_WATER | AT_TYPE_UNK20000 | AT_TYPE_WIND | AT_TYPE_UNK400000 | AT_TYPE_LIGHT),
|
||||
/* SrcObjTg SPrm */ TG_SPRM_SET | TG_SPRM_IS_ENEMY,
|
||||
/* SrcObjCo SPrm */ CO_SPRM_SET | CO_SPRM_IS_UNK4 | CO_SPRM_VSGRP,
|
||||
/* SrcObjTg SPrm */ cCcD_TgSPrm_Set_e | cCcD_TgSPrm_IsEnemy_e,
|
||||
/* SrcObjCo SPrm */ cCcD_CoSPrm_Set_e | cCcD_CoSPrm_IsPlayer_e | cCcD_CoSPrm_VsGrpAll_e,
|
||||
/* SrcGObjAt Se */ 0,
|
||||
/* SrcGObjAt HitMark */ 0,
|
||||
/* SrcGObjAt Spl */ 0,
|
||||
/* SrcGObjAt Mtrl */ 0,
|
||||
/* SrcGObjAt SPrm */ 0,
|
||||
/* SrcGObjTg Se */ 0,
|
||||
/* SrcGObjTg HitMark */ G_TG_MARK_PURPLE_HIT,
|
||||
/* SrcGObjTg HitMark */ dCcg_TgHitMark_Purple_e,
|
||||
/* SrcGObjTg Spl */ 0,
|
||||
/* SrcGObjTg Mtrl */ 0,
|
||||
/* SrcGObjTg SPrm */ G_TG_SPRM_SHIELD | G_TG_SPRM_NO_CON_HIT,
|
||||
/* SrcGObjTg SPrm */ dCcG_TgSPrm_Shield_e | dCcG_TgSPrm_NoConHit_e,
|
||||
/* SrcGObjCo SPrm */ 0,
|
||||
},
|
||||
// cM3dGCylS
|
||||
@ -1413,20 +1413,20 @@ static s32 daAM2_Create(fopAc_ac_c* i_actor) {
|
||||
/* Flags */ 0,
|
||||
/* SrcObjAt Type */ AT_TYPE_UNK1000,
|
||||
/* SrcObjAt Atp */ 1,
|
||||
/* SrcObjAt SPrm */ AT_SPRM_SET | AT_SPRM_VS_PLAYER,
|
||||
/* SrcObjAt SPrm */ cCcD_AtSPrm_Set_e | cCcD_AtSPrm_VsPlayer_e,
|
||||
/* SrcObjTg Type */ 0,
|
||||
/* SrcObjTg SPrm */ 0,
|
||||
/* SrcObjCo SPrm */ CO_SPRM_SET | CO_SPRM_VS_UNK4 | CO_SPRM_VS_UNK8,
|
||||
/* SrcObjCo SPrm */ cCcD_CoSPrm_Set_e | cCcD_CoSPrm_VsPlayer_e | cCcD_CoSPrm_VsOther_e,
|
||||
/* SrcGObjAt Se */ 0,
|
||||
/* SrcGObjAt HitMark */ 0,
|
||||
/* SrcGObjAt Spl */ dCcG_At_Spl_UNK6,
|
||||
/* SrcGObjAt Mtrl */ 0,
|
||||
/* SrcGObjAt SPrm */ 0,
|
||||
/* SrcGObjTg Se */ 0,
|
||||
/* SrcGObjTg HitMark */ G_TG_MARK_PURPLE_HIT,
|
||||
/* SrcGObjTg HitMark */ dCcg_TgHitMark_Purple_e,
|
||||
/* SrcGObjTg Spl */ 0,
|
||||
/* SrcGObjTg Mtrl */ 0,
|
||||
/* SrcGObjTg SPrm */ G_TG_SPRM_SHIELD | G_TG_SPRM_NO_CON_HIT,
|
||||
/* SrcGObjTg SPrm */ dCcG_TgSPrm_Shield_e | dCcG_TgSPrm_NoConHit_e,
|
||||
/* SrcGObjCo SPrm */ 0,
|
||||
},
|
||||
// cM3dGCylS
|
||||
|
@ -35,12 +35,12 @@ const dCcD_SrcCps daArrow_c::m_at_cps_src = {
|
||||
/* Flags */ 0,
|
||||
/* SrcObjAt Type */ AT_TYPE_NORMAL_ARROW,
|
||||
/* SrcObjAt Atp */ 2,
|
||||
/* SrcObjAt SPrm */ AT_SPRM_SET | AT_SPRM_VS_ENEMY | AT_SPRM_VS_OTHER,
|
||||
/* SrcObjAt SPrm */ cCcD_AtSPrm_Set_e | cCcD_AtSPrm_VsEnemy_e | cCcD_AtSPrm_VsOther_e,
|
||||
/* SrcObjTg Type */ 0,
|
||||
/* SrcObjTg SPrm */ 0,
|
||||
/* SrcObjCo SPrm */ 0,
|
||||
/* SrcGObjAt Se */ dCcD_SE_ARROW,
|
||||
/* SrcGObjAt HitMark */ G_AT_MARK_NORMAL_HIT,
|
||||
/* SrcGObjAt Se */ dCcG_SE_ARROW,
|
||||
/* SrcGObjAt HitMark */ dCcG_AtHitMark_Nrm_e,
|
||||
/* SrcGObjAt Spl */ 0,
|
||||
/* SrcGObjAt Mtrl */ 0,
|
||||
/* SrcGObjAt SPrm */ 0,
|
||||
@ -68,8 +68,8 @@ const dCcD_SrcSph daArrow_c::m_co_sph_src = {
|
||||
/* SrcObjAt SPrm */ 0,
|
||||
/* SrcObjTg Type */ 0,
|
||||
/* SrcObjTg SPrm */ 0,
|
||||
/* SrcObjCo SPrm */ CO_SPRM_SET | CO_SPRM_IS_UNK8 | CO_SPRM_VS_UNK2 | CO_SPRM_NO_CRR,
|
||||
/* SrcGObjAt Se */ dCcD_SE_ARROW,
|
||||
/* SrcObjCo SPrm */ cCcD_CoSPrm_Set_e | cCcD_CoSPrm_IsOther_e | cCcD_CoSPrm_VsEnemy_e | cCcD_CoSPrm_NoCrr_e,
|
||||
/* SrcGObjAt Se */ dCcG_SE_ARROW,
|
||||
/* SrcGObjAt HitMark */ 0,
|
||||
/* SrcGObjAt Spl */ 0,
|
||||
/* SrcGObjAt Mtrl */ 0,
|
||||
@ -78,7 +78,7 @@ const dCcD_SrcSph daArrow_c::m_co_sph_src = {
|
||||
/* SrcGObjTg HitMark */ 0,
|
||||
/* SrcGObjTg Spl */ 0,
|
||||
/* SrcGObjTg Mtrl */ 0,
|
||||
/* SrcGObjTg SPrm */ G_TG_SPRM_NO_HIT_MARK,
|
||||
/* SrcGObjTg SPrm */ dCcG_TgSPrm_NoHitMark_e,
|
||||
/* SrcGObjCo SPrm */ 0,
|
||||
},
|
||||
// cM3dGSphS
|
||||
@ -262,7 +262,7 @@ void daArrow_c::setDrawShapeMaterial() {
|
||||
if (mbSetByZelda) {
|
||||
mAtCps.SetAtAtp(4);
|
||||
mAtCps.SetAtType(arrow_mat[0].mAtType);
|
||||
mAtCps.OnAtSPrmBit(AT_SPRM_GRP);
|
||||
mAtCps.OnAtSPrmBit(cCcD_AtSPrm_GrpAll_e);
|
||||
}
|
||||
|
||||
if (arrow_mat[mArrowType].mTipJointIdx != 0) {
|
||||
|
@ -120,9 +120,9 @@ static s32 daAtt_Create(fopAc_ac_c* i_this) {
|
||||
/* Flags */ 0,
|
||||
/* SrcObjAt Type */ 0,
|
||||
/* SrcObjAt Atp */ 0,
|
||||
/* SrcObjAt SPrm */ AT_SPRM_SET | AT_SPRM_VS_PLAYER,
|
||||
/* SrcObjAt SPrm */ cCcD_AtSPrm_Set_e | cCcD_AtSPrm_VsPlayer_e,
|
||||
/* SrcObjTg Type */ AT_TYPE_HOOKSHOT,
|
||||
/* SrcObjTg SPrm */ TG_SPRM_SET | TG_SPRM_IS_ENEMY,
|
||||
/* SrcObjTg SPrm */ cCcD_TgSPrm_Set_e | cCcD_TgSPrm_IsEnemy_e,
|
||||
/* SrcObjCo SPrm */ 0,
|
||||
/* SrcGObjAt Se */ 0,
|
||||
/* SrcGObjAt HitMark */ 0,
|
||||
@ -151,8 +151,8 @@ static s32 daAtt_Create(fopAc_ac_c* i_this) {
|
||||
/* SrcObjAt Atp */ 0,
|
||||
/* SrcObjAt SPrm */ 0,
|
||||
/* SrcObjTg Type */ ~(AT_TYPE_WATER | AT_TYPE_UNK20000 | AT_TYPE_WIND | AT_TYPE_UNK400000 | AT_TYPE_LIGHT),
|
||||
/* SrcObjTg SPrm */ TG_SPRM_SET | TG_SPRM_IS_ENEMY,
|
||||
/* SrcObjCo SPrm */ CO_SPRM_SET | CO_SPRM_IS_UNK4 | CO_SPRM_VSGRP,
|
||||
/* SrcObjTg SPrm */ cCcD_TgSPrm_Set_e | cCcD_TgSPrm_IsEnemy_e,
|
||||
/* SrcObjCo SPrm */ cCcD_CoSPrm_Set_e | cCcD_CoSPrm_IsPlayer_e | cCcD_CoSPrm_VsGrpAll_e,
|
||||
/* SrcGObjAt Se */ 0,
|
||||
/* SrcGObjAt HitMark */ 0,
|
||||
/* SrcGObjAt Spl */ 0,
|
||||
@ -178,9 +178,9 @@ static s32 daAtt_Create(fopAc_ac_c* i_this) {
|
||||
/* Flags */ 0,
|
||||
/* SrcObjAt Type */ 0,
|
||||
/* SrcObjAt Atp */ 0,
|
||||
/* SrcObjAt SPrm */ AT_SPRM_SET | AT_SPRM_VS_PLAYER,
|
||||
/* SrcObjAt SPrm */ cCcD_AtSPrm_Set_e | cCcD_AtSPrm_VsPlayer_e,
|
||||
/* SrcObjTg Type */ ~(AT_TYPE_WATER | AT_TYPE_UNK20000 | AT_TYPE_WIND | AT_TYPE_UNK400000 | AT_TYPE_LIGHT),
|
||||
/* SrcObjTg SPrm */ TG_SPRM_SET | TG_SPRM_IS_ENEMY,
|
||||
/* SrcObjTg SPrm */ cCcD_TgSPrm_Set_e | cCcD_TgSPrm_IsEnemy_e,
|
||||
/* SrcObjCo SPrm */ 0,
|
||||
/* SrcGObjAt Se */ 0,
|
||||
/* SrcGObjAt HitMark */ 0,
|
||||
|
@ -22,7 +22,7 @@ static dCcD_SrcCyl l_cyl_src = {
|
||||
/* SrcObjAt Atp */ 0,
|
||||
/* SrcObjAt SPrm */ 0,
|
||||
/* SrcObjTg Type */ AT_TYPE_WATER,
|
||||
/* SrcObjTg SPrm */ TG_SPRM_SET | TG_SPRM_IS_OTHER,
|
||||
/* SrcObjTg SPrm */ cCcD_TgSPrm_Set_e | cCcD_TgSPrm_IsOther_e,
|
||||
/* SrcObjCo SPrm */ 0,
|
||||
/* SrcGObjAt Se */ 0,
|
||||
/* SrcGObjAt HitMark */ 0,
|
||||
@ -33,7 +33,7 @@ static dCcD_SrcCyl l_cyl_src = {
|
||||
/* SrcGObjTg HitMark */ 0,
|
||||
/* SrcGObjTg Spl */ 0,
|
||||
/* SrcGObjTg Mtrl */ 0,
|
||||
/* SrcGObjTg SPrm */ G_TG_SPRM_NO_HIT_MARK,
|
||||
/* SrcGObjTg SPrm */ dCcG_TgSPrm_NoHitMark_e,
|
||||
/* SrcGObjCo SPrm */ 0,
|
||||
},
|
||||
// cCcD_SrcCylAttr
|
||||
@ -52,8 +52,8 @@ static dCcD_SrcSph l_sph_src = {
|
||||
/* SrcObjAt Atp */ 0,
|
||||
/* SrcObjAt SPrm */ 0,
|
||||
/* SrcObjTg Type */ ~(AT_TYPE_WATER | AT_TYPE_UNK20000 | AT_TYPE_WIND | AT_TYPE_UNK400000 | AT_TYPE_LIGHT),
|
||||
/* SrcObjTg SPrm */ TG_SPRM_SET | TG_SPRM_IS_OTHER,
|
||||
/* SrcObjCo SPrm */ CO_SPRM_SET | CO_SPRM_IS_UNK8 | CO_SPRM_VSGRP,
|
||||
/* SrcObjTg SPrm */ cCcD_TgSPrm_Set_e | cCcD_TgSPrm_IsOther_e,
|
||||
/* SrcObjCo SPrm */ cCcD_CoSPrm_Set_e | cCcD_CoSPrm_IsOther_e | cCcD_CoSPrm_VsGrpAll_e,
|
||||
/* SrcGObjAt Se */ 0,
|
||||
/* SrcGObjAt HitMark */ 0,
|
||||
/* SrcGObjAt Spl */ 0,
|
||||
@ -63,7 +63,7 @@ static dCcD_SrcSph l_sph_src = {
|
||||
/* SrcGObjTg HitMark */ 0,
|
||||
/* SrcGObjTg Spl */ 0,
|
||||
/* SrcGObjTg Mtrl */ 0,
|
||||
/* SrcGObjTg SPrm */ G_TG_SPRM_NO_HIT_MARK,
|
||||
/* SrcGObjTg SPrm */ dCcG_TgSPrm_NoHitMark_e,
|
||||
/* SrcGObjCo SPrm */ 0,
|
||||
},
|
||||
// cM3dGSphS
|
||||
@ -82,7 +82,7 @@ static dCcD_SrcSph l_sph_src2 = {
|
||||
/* SrcObjAt SPrm */ 0,
|
||||
/* SrcObjTg Type */ 0,
|
||||
/* SrcObjTg SPrm */ 0,
|
||||
/* SrcObjCo SPrm */ CO_SPRM_SET | CO_SPRM_IS_UNK8 | CO_SPRM_VSGRP,
|
||||
/* SrcObjCo SPrm */ cCcD_CoSPrm_Set_e | cCcD_CoSPrm_IsOther_e | cCcD_CoSPrm_VsGrpAll_e,
|
||||
/* SrcGObjAt Se */ 0,
|
||||
/* SrcGObjAt HitMark */ 0,
|
||||
/* SrcGObjAt Spl */ 0,
|
||||
@ -92,7 +92,7 @@ static dCcD_SrcSph l_sph_src2 = {
|
||||
/* SrcGObjTg HitMark */ 0,
|
||||
/* SrcGObjTg Spl */ 0,
|
||||
/* SrcGObjTg Mtrl */ 0,
|
||||
/* SrcGObjTg SPrm */ G_TG_SPRM_NO_HIT_MARK,
|
||||
/* SrcGObjTg SPrm */ dCcG_TgSPrm_NoHitMark_e,
|
||||
/* SrcGObjCo SPrm */ 0,
|
||||
},
|
||||
// cM3dGSphS
|
||||
|
@ -211,9 +211,9 @@ static s32 daBita_Create(fopAc_ac_c* i_ac) {
|
||||
/* SrcObjAt Atp */ 0,
|
||||
/* SrcObjAt SPrm */ 0,
|
||||
/* SrcObjTg Type */ AT_TYPE_FIRE,
|
||||
/* SrcObjTg SPrm */ TG_SPRM_SET | TG_SPRM_IS_OTHER,
|
||||
/* SrcObjTg SPrm */ cCcD_TgSPrm_Set_e | cCcD_TgSPrm_IsOther_e,
|
||||
/* SrcObjCo SPrm */ 0,
|
||||
/* SrcGObjAt Se */ dCcD_SE_UNK6,
|
||||
/* SrcGObjAt Se */ dCcG_SE_UNK6,
|
||||
/* SrcGObjAt HitMark */ 0,
|
||||
/* SrcGObjAt Spl */ dCcG_At_Spl_UNK1,
|
||||
/* SrcGObjAt Mtrl */ 0,
|
||||
|
@ -1709,13 +1709,13 @@ static void attack_set(bk_class* i_this, u8 r28) {
|
||||
|
||||
if (r28 == 2) {
|
||||
i_this->m1040.SetAtType(AT_TYPE_UNK2000);
|
||||
i_this->m1040.SetAtSe(dCcD_SE_UNK6);
|
||||
i_this->m1040.SetAtSe(dCcG_SE_UNK6);
|
||||
} else if (i_this->m02D5 != 0) {
|
||||
i_this->m1040.SetAtType(AT_TYPE_UNK800);
|
||||
i_this->m1040.SetAtSe(dCcD_SE_UNK2);
|
||||
i_this->m1040.SetAtSe(dCcG_SE_UNK2);
|
||||
} else {
|
||||
i_this->m1040.SetAtType(AT_TYPE_UNK2000);
|
||||
i_this->m1040.SetAtSe(dCcD_SE_UNK4);
|
||||
i_this->m1040.SetAtSe(dCcG_SE_UNK4);
|
||||
}
|
||||
|
||||
if (r28 == 0) {
|
||||
@ -3394,7 +3394,7 @@ static s32 daBk_Create(fopAc_ac_c* i_actor) {
|
||||
/* SrcObjAt SPrm */ 0,
|
||||
/* SrcObjTg Type */ 0,
|
||||
/* SrcObjTg SPrm */ 0,
|
||||
/* SrcObjCo SPrm */ CO_SPRM_SET | CO_SPRM_IS_UNK4 | CO_SPRM_VSGRP,
|
||||
/* SrcObjCo SPrm */ cCcD_CoSPrm_Set_e | cCcD_CoSPrm_IsPlayer_e | cCcD_CoSPrm_VsGrpAll_e,
|
||||
/* SrcGObjAt Se */ 0,
|
||||
/* SrcGObjAt HitMark */ 0,
|
||||
/* SrcGObjAt Spl */ 0,
|
||||
@ -3404,7 +3404,7 @@ static s32 daBk_Create(fopAc_ac_c* i_actor) {
|
||||
/* SrcGObjTg HitMark */ 0,
|
||||
/* SrcGObjTg Spl */ 0,
|
||||
/* SrcGObjTg Mtrl */ 0,
|
||||
/* SrcGObjTg SPrm */ G_TG_SPRM_NO_CON_HIT,
|
||||
/* SrcGObjTg SPrm */ dCcG_TgSPrm_NoConHit_e,
|
||||
/* SrcGObjCo SPrm */ 0,
|
||||
},
|
||||
// cM3dGCylS
|
||||
@ -3424,7 +3424,7 @@ static s32 daBk_Create(fopAc_ac_c* i_actor) {
|
||||
/* SrcObjAt Atp */ 0,
|
||||
/* SrcObjAt SPrm */ 0,
|
||||
/* SrcObjTg Type */ ~(AT_TYPE_WATER | AT_TYPE_UNK20000 | AT_TYPE_WIND | AT_TYPE_UNK400000 | AT_TYPE_LIGHT),
|
||||
/* SrcObjTg SPrm */ TG_SPRM_SET | TG_SPRM_IS_ENEMY,
|
||||
/* SrcObjTg SPrm */ cCcD_TgSPrm_Set_e | cCcD_TgSPrm_IsEnemy_e,
|
||||
/* SrcObjCo SPrm */ 0,
|
||||
/* SrcGObjAt Se */ 0,
|
||||
/* SrcGObjAt HitMark */ 0,
|
||||
@ -3432,10 +3432,10 @@ static s32 daBk_Create(fopAc_ac_c* i_actor) {
|
||||
/* SrcGObjAt Mtrl */ 0,
|
||||
/* SrcGObjAt SPrm */ 0,
|
||||
/* SrcGObjTg Se */ 0,
|
||||
/* SrcGObjTg HitMark */ G_TG_MARK_UNK1,
|
||||
/* SrcGObjTg HitMark */ dCcG_TgHitMark_Unk1_e,
|
||||
/* SrcGObjTg Spl */ 0,
|
||||
/* SrcGObjTg Mtrl */ 0,
|
||||
/* SrcGObjTg SPrm */ G_TG_SPRM_NO_CON_HIT,
|
||||
/* SrcGObjTg SPrm */ dCcG_TgSPrm_NoConHit_e,
|
||||
/* SrcGObjCo SPrm */ 0,
|
||||
},
|
||||
// cM3dGCylS
|
||||
@ -3455,7 +3455,7 @@ static s32 daBk_Create(fopAc_ac_c* i_actor) {
|
||||
/* SrcObjAt Atp */ 0,
|
||||
/* SrcObjAt SPrm */ 0,
|
||||
/* SrcObjTg Type */ ~(AT_TYPE_WATER | AT_TYPE_UNK20000 | AT_TYPE_WIND | AT_TYPE_UNK400000 | AT_TYPE_LIGHT),
|
||||
/* SrcObjTg SPrm */ TG_SPRM_SET | TG_SPRM_IS_ENEMY,
|
||||
/* SrcObjTg SPrm */ cCcD_TgSPrm_Set_e | cCcD_TgSPrm_IsEnemy_e,
|
||||
/* SrcObjCo SPrm */ 0,
|
||||
/* SrcGObjAt Se */ 0,
|
||||
/* SrcGObjAt HitMark */ 0,
|
||||
@ -3463,10 +3463,10 @@ static s32 daBk_Create(fopAc_ac_c* i_actor) {
|
||||
/* SrcGObjAt Mtrl */ 0,
|
||||
/* SrcGObjAt SPrm */ 0,
|
||||
/* SrcGObjTg Se */ 0,
|
||||
/* SrcGObjTg HitMark */ G_TG_MARK_UNK1,
|
||||
/* SrcGObjTg HitMark */ dCcG_TgHitMark_Unk1_e,
|
||||
/* SrcGObjTg Spl */ 0,
|
||||
/* SrcGObjTg Mtrl */ 0,
|
||||
/* SrcGObjTg SPrm */ G_TG_SPRM_NO_CON_HIT,
|
||||
/* SrcGObjTg SPrm */ dCcG_TgSPrm_NoConHit_e,
|
||||
/* SrcGObjCo SPrm */ 0,
|
||||
},
|
||||
// cM3dGSphS
|
||||
@ -3483,15 +3483,15 @@ static s32 daBk_Create(fopAc_ac_c* i_actor) {
|
||||
/* Flags */ 0,
|
||||
/* SrcObjAt Type */ AT_TYPE_UNK800,
|
||||
/* SrcObjAt Atp */ 2,
|
||||
/* SrcObjAt SPrm */ AT_SPRM_SET | AT_SPRM_VS_ENEMY | AT_SPRM_VS_PLAYER | AT_SPRM_VS_OTHER,
|
||||
/* SrcObjAt SPrm */ cCcD_AtSPrm_Set_e | cCcD_AtSPrm_VsEnemy_e | cCcD_AtSPrm_VsPlayer_e | cCcD_AtSPrm_VsOther_e,
|
||||
/* SrcObjTg Type */ 0,
|
||||
/* SrcObjTg SPrm */ 0,
|
||||
/* SrcObjCo SPrm */ 0,
|
||||
/* SrcGObjAt Se */ 0,
|
||||
/* SrcGObjAt HitMark */ G_AT_MARK_NORMAL_HIT,
|
||||
/* SrcGObjAt HitMark */ dCcG_AtHitMark_Nrm_e,
|
||||
/* SrcGObjAt Spl */ 0,
|
||||
/* SrcGObjAt Mtrl */ 0,
|
||||
/* SrcGObjAt SPrm */ G_AT_SPRM_NO_CON_HIT,
|
||||
/* SrcGObjAt SPrm */ dCcG_AtSPrm_NoConHit_e,
|
||||
/* SrcGObjTg Se */ 0,
|
||||
/* SrcGObjTg HitMark */ 0,
|
||||
/* SrcGObjTg Spl */ 0,
|
||||
@ -3515,18 +3515,18 @@ static s32 daBk_Create(fopAc_ac_c* i_actor) {
|
||||
/* SrcObjAt Atp */ 0,
|
||||
/* SrcObjAt SPrm */ 0,
|
||||
/* SrcObjTg Type */ ~(AT_TYPE_WATER | AT_TYPE_UNK20000 | AT_TYPE_WIND | AT_TYPE_UNK400000 | AT_TYPE_LIGHT),
|
||||
/* SrcObjTg SPrm */ TG_SPRM_SET | TG_SPRM_IS_ENEMY,
|
||||
/* SrcObjTg SPrm */ cCcD_TgSPrm_Set_e | cCcD_TgSPrm_IsEnemy_e,
|
||||
/* SrcObjCo SPrm */ 0,
|
||||
/* SrcGObjAt Se */ 0,
|
||||
/* SrcGObjAt HitMark */ 0,
|
||||
/* SrcGObjAt Spl */ 0,
|
||||
/* SrcGObjAt Mtrl */ 0,
|
||||
/* SrcGObjAt SPrm */ 0,
|
||||
/* SrcGObjTg Se */ dCcD_SE_UNK6,
|
||||
/* SrcGObjTg HitMark */ G_TG_MARK_PURPLE_HIT,
|
||||
/* SrcGObjTg Se */ dCcG_SE_UNK6,
|
||||
/* SrcGObjTg HitMark */ dCcg_TgHitMark_Purple_e,
|
||||
/* SrcGObjTg Spl */ 0,
|
||||
/* SrcGObjTg Mtrl */ 0,
|
||||
/* SrcGObjTg SPrm */ G_TG_SPRM_SHIELD | G_TG_SPRM_NO_CON_HIT,
|
||||
/* SrcGObjTg SPrm */ dCcG_TgSPrm_Shield_e | dCcG_TgSPrm_NoConHit_e,
|
||||
/* SrcGObjCo SPrm */ 0,
|
||||
},
|
||||
// cM3dGSphS
|
||||
|
@ -306,10 +306,10 @@ namespace daBomb2 {
|
||||
/* Flags */ 0,
|
||||
/* SrcObjAt Type */ AT_TYPE_BOMB,
|
||||
/* SrcObjAt Atp */ 0x04,
|
||||
/* SrcObjAt SPrm */ AT_SPRM_GRP,
|
||||
/* SrcObjAt SPrm */ cCcD_AtSPrm_GrpAll_e,
|
||||
/* SrcObjTg Type */ ~(AT_TYPE_WATER | AT_TYPE_UNK20000 | AT_TYPE_UNK400000 | AT_TYPE_LIGHT),
|
||||
/* SrcObjTg SPrm */ TG_SPRM_SET | TG_SPRM_IS_OTHER,
|
||||
/* SrcObjCo SPrm */ CO_SPRM_SET | CO_SPRM_IS_UNK8 | CO_SPRM_VSGRP,
|
||||
/* SrcObjTg SPrm */ cCcD_TgSPrm_Set_e | cCcD_TgSPrm_IsOther_e,
|
||||
/* SrcObjCo SPrm */ cCcD_CoSPrm_Set_e | cCcD_CoSPrm_IsOther_e | cCcD_CoSPrm_VsGrpAll_e,
|
||||
/* SrcGObjAt Se */ 0,
|
||||
/* SrcGObjAt HitMark */ 0,
|
||||
/* SrcGObjAt Spl */ dCcG_At_Spl_UNK1,
|
||||
@ -319,7 +319,7 @@ namespace daBomb2 {
|
||||
/* SrcGObjTg HitMark */ 0,
|
||||
/* SrcGObjTg Spl */ 0,
|
||||
/* SrcGObjTg Mtrl */ 0,
|
||||
/* SrcGObjTg SPrm */ G_TG_SPRM_NO_CON_HIT,
|
||||
/* SrcGObjTg SPrm */ dCcG_TgSPrm_NoConHit_e,
|
||||
/* SrcGObjCo SPrm */ 0,
|
||||
},
|
||||
// cM3dGSphS
|
||||
@ -966,7 +966,7 @@ namespace daBomb2 {
|
||||
void Act_c::mode_wait_init() {
|
||||
mState = 0;
|
||||
gravity = attr().gravity;
|
||||
mSph.OnCoSPrmBit(CO_SPRM_SET);
|
||||
mSph.OnCoSPrmBit(cCcD_CoSPrm_Set_e);
|
||||
}
|
||||
|
||||
void Act_c::mode_wait() {
|
||||
@ -1024,7 +1024,7 @@ namespace daBomb2 {
|
||||
speedF = 0.0f;
|
||||
speed = cXyz::Zero;
|
||||
off_carry();
|
||||
mSph.OffCoSPrmBit(CO_SPRM_SET);
|
||||
mSph.OffCoSPrmBit(cCcD_CoSPrm_Set_e);
|
||||
}
|
||||
|
||||
void Act_c::mode_carry() {
|
||||
@ -1060,9 +1060,9 @@ namespace daBomb2 {
|
||||
speed = cXyz::Zero;
|
||||
gravity = 0.0f;
|
||||
off_carry();
|
||||
mSph.OffTgSPrmBit(TG_SPRM_SET);
|
||||
mSph.OffCoSPrmBit(CO_SPRM_SET);
|
||||
mSph.OnAtSPrmBit(AT_SPRM_SET);
|
||||
mSph.OffTgSPrmBit(cCcD_TgSPrm_Set_e);
|
||||
mSph.OffCoSPrmBit(cCcD_CoSPrm_Set_e);
|
||||
mSph.OnAtSPrmBit(cCcD_AtSPrm_Set_e);
|
||||
fopAcM_cancelCarryNow(this);
|
||||
mBombTimer = 0;
|
||||
field_0x73C = 4;
|
||||
@ -1080,9 +1080,9 @@ namespace daBomb2 {
|
||||
mState = 3;
|
||||
speed.y *= 0.8f;
|
||||
speedF *= 0.8f;
|
||||
mSph.OffAtSPrmBit(AT_SPRM_SET);
|
||||
mSph.OffTgSPrmBit(TG_SPRM_SET);
|
||||
mSph.OffCoSPrmBit(CO_SPRM_SET);
|
||||
mSph.OffAtSPrmBit(cCcD_AtSPrm_Set_e);
|
||||
mSph.OffTgSPrmBit(cCcD_TgSPrm_Set_e);
|
||||
mSph.OffCoSPrmBit(cCcD_CoSPrm_Set_e);
|
||||
off_carry();
|
||||
fopAcM_cancelCarryNow(this);
|
||||
field_0x698 = 4;
|
||||
|
@ -666,9 +666,9 @@ void daBomb_c::makeWaterEffect() {
|
||||
if(field_0x77D == 0) {
|
||||
fopAcM_seStart(this, JA_SE_OBJ_BOMB_WATER, 0);
|
||||
fopKyM_createWpillar(¤t.pos, 1.0f, 1.0f, 1);
|
||||
mSph.OffTgSPrmBit(TG_SPRM_SET);
|
||||
mSph.OffCoSPrmBit(CO_SPRM_SET);
|
||||
mSph.OnAtSPrmBit(AT_SPRM_SET);
|
||||
mSph.OffTgSPrmBit(cCcD_TgSPrm_Set_e);
|
||||
mSph.OffCoSPrmBit(cCcD_CoSPrm_Set_e);
|
||||
mSph.OnAtSPrmBit(cCcD_AtSPrm_Set_e);
|
||||
mSph.SetR(200.0f);
|
||||
mSph.SetC(current.pos);
|
||||
if(mMassCounter != g_Counter.mCounter0) {
|
||||
@ -828,9 +828,9 @@ int daBomb_c::procExplode_init() {
|
||||
field_0x6F0 = 0;
|
||||
}
|
||||
|
||||
mSph.OffTgSPrmBit(TG_SPRM_SET);
|
||||
mSph.OffCoSPrmBit(CO_SPRM_SET);
|
||||
mSph.OnAtSPrmBit(AT_SPRM_SET);
|
||||
mSph.OffTgSPrmBit(cCcD_TgSPrm_Set_e);
|
||||
mSph.OffCoSPrmBit(cCcD_CoSPrm_Set_e);
|
||||
mSph.OnAtSPrmBit(cCcD_AtSPrm_Set_e);
|
||||
mSph.SetR(200.0f);
|
||||
mSph.SetC(current.pos);
|
||||
if(mMassCounter != g_Counter.mCounter0) {
|
||||
@ -927,7 +927,7 @@ bool daBomb_c::procCarry_init() {
|
||||
speedF = 0.0f;
|
||||
speed.set(cXyz::Zero);
|
||||
attention_info.flags &= ~fopAc_Attn_ACTION_CARRY_e;
|
||||
mSph.OffCoSPrmBit(CO_SPRM_SET);
|
||||
mSph.OffCoSPrmBit(cCcD_CoSPrm_Set_e);
|
||||
|
||||
return true;
|
||||
}
|
||||
@ -963,7 +963,7 @@ bool daBomb_c::procWait_init() {
|
||||
change_state(STATE_1);
|
||||
}
|
||||
|
||||
mSph.OnCoSPrmBit(CO_SPRM_SET);
|
||||
mSph.OnCoSPrmBit(cCcD_CoSPrm_Set_e);
|
||||
return true;
|
||||
}
|
||||
|
||||
@ -1367,10 +1367,10 @@ static dCcD_SrcSph l_sph_src = {
|
||||
/* Flags */ 0,
|
||||
/* SrcObjAt Type */ AT_TYPE_BOMB,
|
||||
/* SrcObjAt Atp */ 0x04,
|
||||
/* SrcObjAt SPrm */ AT_SPRM_GRP,
|
||||
/* SrcObjAt SPrm */ cCcD_AtSPrm_GrpAll_e,
|
||||
/* SrcObjTg Type */ ~(AT_TYPE_WATER | AT_TYPE_UNK20000 | AT_TYPE_UNK400000 | AT_TYPE_LIGHT),
|
||||
/* SrcObjTg SPrm */ TG_SPRM_SET | TG_SPRM_IS_OTHER,
|
||||
/* SrcObjCo SPrm */ CO_SPRM_SET | CO_SPRM_IS_UNK8 | CO_SPRM_VSGRP,
|
||||
/* SrcObjTg SPrm */ cCcD_TgSPrm_Set_e | cCcD_TgSPrm_IsOther_e,
|
||||
/* SrcObjCo SPrm */ cCcD_CoSPrm_Set_e | cCcD_CoSPrm_IsOther_e | cCcD_CoSPrm_VsGrpAll_e,
|
||||
/* SrcGObjAt Se */ 0,
|
||||
/* SrcGObjAt HitMark */ 0,
|
||||
/* SrcGObjAt Spl */ dCcG_At_Spl_UNK1,
|
||||
@ -1380,7 +1380,7 @@ static dCcD_SrcSph l_sph_src = {
|
||||
/* SrcGObjTg HitMark */ 0,
|
||||
/* SrcGObjTg Spl */ 0,
|
||||
/* SrcGObjTg Mtrl */ 0,
|
||||
/* SrcGObjTg SPrm */ G_TG_SPRM_NO_CON_HIT,
|
||||
/* SrcGObjTg SPrm */ dCcG_TgSPrm_NoConHit_e,
|
||||
/* SrcGObjCo SPrm */ 0,
|
||||
},
|
||||
// cM3dGSphS
|
||||
|
@ -20,8 +20,8 @@ static dCcD_SrcCyl l_cyl_src = {
|
||||
/* SrcObjAt Atp */ 0,
|
||||
/* SrcObjAt SPrm */ 0,
|
||||
/* SrcObjTg Type */ AT_TYPE_ALL,
|
||||
/* SrcObjTg SPrm */ TG_SPRM_SET | TG_SPRM_IS_OTHER,
|
||||
/* SrcObjCo SPrm */ CO_SPRM_SET | CO_SPRM_IS_UNK8 | CO_SPRM_VS_UNK2,
|
||||
/* SrcObjTg SPrm */ cCcD_TgSPrm_Set_e | cCcD_TgSPrm_IsOther_e,
|
||||
/* SrcObjCo SPrm */ cCcD_CoSPrm_Set_e | cCcD_CoSPrm_IsOther_e | cCcD_CoSPrm_VsEnemy_e,
|
||||
/* SrcGObjAt Se */ 0,
|
||||
/* SrcGObjAt HitMark */ 0,
|
||||
/* SrcGObjAt Spl */ 0,
|
||||
@ -31,7 +31,7 @@ static dCcD_SrcCyl l_cyl_src = {
|
||||
/* SrcGObjTg HitMark */ 0,
|
||||
/* SrcGObjTg Spl */ 0,
|
||||
/* SrcGObjTg Mtrl */ 0,
|
||||
/* SrcGObjTg SPrm */ G_TG_SPRM_NO_HIT_MARK,
|
||||
/* SrcGObjTg SPrm */ dCcG_TgSPrm_NoHitMark_e,
|
||||
/* SrcGObjCo SPrm */ 0,
|
||||
},
|
||||
// cCcD_SrcCylAttr
|
||||
|
@ -32,7 +32,7 @@ static dCcD_SrcCps l_cps_src = {
|
||||
/* Flags */ 0,
|
||||
/* SrcObjAt Type */ AT_TYPE_WIND,
|
||||
/* SrcObjAt Atp */ 0,
|
||||
/* SrcObjAt SPrm */ AT_SPRM_SET | AT_SPRM_GRP,
|
||||
/* SrcObjAt SPrm */ cCcD_AtSPrm_Set_e | cCcD_AtSPrm_GrpAll_e,
|
||||
/* SrcObjTg Type */ 0,
|
||||
/* SrcObjTg SPrm */ 0,
|
||||
/* SrcObjCo SPrm */ 0,
|
||||
@ -40,12 +40,12 @@ static dCcD_SrcCps l_cps_src = {
|
||||
/* SrcGObjAt HitMark */ 0,
|
||||
/* SrcGObjAt Spl */ 0,
|
||||
/* SrcGObjAt Mtrl */ 0,
|
||||
/* SrcGObjAt SPrm */ G_AT_SPRM_NO_HIT_MARK,
|
||||
/* SrcGObjAt SPrm */ dCcG_AtSPrm_NoHitMark_e,
|
||||
/* SrcGObjTg Se */ 0,
|
||||
/* SrcGObjTg HitMark */ 0,
|
||||
/* SrcGObjTg Spl */ 0,
|
||||
/* SrcGObjTg Mtrl */ 0,
|
||||
/* SrcGObjTg SPrm */ G_TG_SPRM_NO_HIT_MARK,
|
||||
/* SrcGObjTg SPrm */ dCcG_TgSPrm_NoHitMark_e,
|
||||
/* SrcGObjCo SPrm */ 0,
|
||||
},
|
||||
// cM3dGCpsS
|
||||
|
@ -56,9 +56,9 @@ static s32 daHitobj_Create(fopAc_ac_c* pActor) {
|
||||
/* Flags */ 0,
|
||||
/* SrcObjAt Type */ AT_TYPE_WATER,
|
||||
/* SrcObjAt Atp */ 0,
|
||||
/* SrcObjAt SPrm */ AT_SPRM_SET | AT_SPRM_VS_ENEMY | AT_SPRM_VS_OTHER,
|
||||
/* SrcObjAt SPrm */ cCcD_AtSPrm_Set_e | cCcD_AtSPrm_VsEnemy_e | cCcD_AtSPrm_VsOther_e,
|
||||
/* SrcObjTg Type */ 0,
|
||||
/* SrcObjTg SPrm */ TG_SPRM_SET | TG_SPRM_IS_ENEMY,
|
||||
/* SrcObjTg SPrm */ cCcD_TgSPrm_Set_e | cCcD_TgSPrm_IsEnemy_e,
|
||||
/* SrcObjCo SPrm */ 0,
|
||||
/* SrcGObjAt Se */ 0,
|
||||
/* SrcGObjAt HitMark */ 0,
|
||||
|
@ -337,11 +337,11 @@ static dCcD_SrcCps l_at_cps_src = {
|
||||
/* Flags */ 0,
|
||||
/* SrcObjAt Type */ AT_TYPE_HOOKSHOT,
|
||||
/* SrcObjAt Atp */ 0x01,
|
||||
/* SrcObjAt SPrm */ AT_SPRM_SET | AT_SPRM_VS_ENEMY | AT_SPRM_VS_OTHER,
|
||||
/* SrcObjAt SPrm */ cCcD_AtSPrm_Set_e | cCcD_AtSPrm_VsEnemy_e | cCcD_AtSPrm_VsOther_e,
|
||||
/* SrcObjTg Type */ 0,
|
||||
/* SrcObjTg SPrm */ 0,
|
||||
/* SrcObjCo SPrm */ 0,
|
||||
/* SrcGObjAt Se */ dCcD_SE_HOOKSHOT,
|
||||
/* SrcGObjAt Se */ dCcG_SE_HOOKSHOT,
|
||||
/* SrcGObjAt HitMark */ 0,
|
||||
/* SrcGObjAt Spl */ 0,
|
||||
/* SrcGObjAt Mtrl */ 0,
|
||||
|
@ -489,18 +489,18 @@ dCcD_SrcCyl daIball_c::m_cyl_src = {
|
||||
/* SrcObjAt Atp */ 0,
|
||||
/* SrcObjAt SPrm */ 0,
|
||||
/* SrcObjTg Type */ ~(AT_TYPE_LIGHT),
|
||||
/* SrcObjTg SPrm */ TG_SPRM_SET | TG_SPRM_IS_OTHER,
|
||||
/* SrcObjCo SPrm */ CO_SPRM_SET | CO_SPRM_IS_UNK8 | CO_SPRM_VSGRP,
|
||||
/* SrcObjTg SPrm */ cCcD_TgSPrm_Set_e | cCcD_TgSPrm_IsOther_e,
|
||||
/* SrcObjCo SPrm */ cCcD_CoSPrm_Set_e | cCcD_CoSPrm_IsOther_e | cCcD_CoSPrm_VsGrpAll_e,
|
||||
/* SrcGObjAt Se */ 0,
|
||||
/* SrcGObjAt HitMark */ 0,
|
||||
/* SrcGObjAt Spl */ 0,
|
||||
/* SrcGObjAt Mtrl */ 0,
|
||||
/* SrcGObjAt SPrm */ G_AT_SPRM_STOP_NO_CON_HIT,
|
||||
/* SrcGObjAt SPrm */ dCcG_AtSPrm_StopNoConHit_e,
|
||||
/* SrcGObjTg Se */ 0,
|
||||
/* SrcGObjTg HitMark */ 0,
|
||||
/* SrcGObjTg Spl */ 0,
|
||||
/* SrcGObjTg Mtrl */ 0,
|
||||
/* SrcGObjTg SPrm */ G_TG_SPRM_NO_HIT_MARK,
|
||||
/* SrcGObjTg SPrm */ dCcG_TgSPrm_NoHitMark_e,
|
||||
/* SrcGObjCo SPrm */ 0,
|
||||
},
|
||||
// cM3dGCylS
|
||||
|
@ -1472,8 +1472,8 @@ dCcD_SrcCyl daItem_c::m_cyl_src = {
|
||||
/* SrcObjAt Atp */ 0,
|
||||
/* SrcObjAt SPrm */ 0,
|
||||
/* SrcObjTg Type */ AT_TYPE_ALL,
|
||||
/* SrcObjTg SPrm */ TG_SPRM_SET | TG_SPRM_IS_OTHER,
|
||||
/* SrcObjCo SPrm */ CO_SPRM_SET | CO_SPRM_IS_UNK8 | CO_SPRM_VS_UNK2 | CO_SPRM_VS_UNK8,
|
||||
/* SrcObjTg SPrm */ cCcD_TgSPrm_Set_e | cCcD_TgSPrm_IsOther_e,
|
||||
/* SrcObjCo SPrm */ cCcD_CoSPrm_Set_e | cCcD_CoSPrm_IsOther_e | cCcD_CoSPrm_VsEnemy_e | cCcD_CoSPrm_VsOther_e,
|
||||
/* SrcGObjAt Se */ 0,
|
||||
/* SrcGObjAt HitMark */ 0,
|
||||
/* SrcGObjAt Spl */ 0,
|
||||
@ -1483,7 +1483,7 @@ dCcD_SrcCyl daItem_c::m_cyl_src = {
|
||||
/* SrcGObjTg HitMark */ 0,
|
||||
/* SrcGObjTg Spl */ 0,
|
||||
/* SrcGObjTg Mtrl */ 0,
|
||||
/* SrcGObjTg SPrm */ G_TG_SPRM_NO_HIT_MARK,
|
||||
/* SrcGObjTg SPrm */ dCcG_TgSPrm_NoHitMark_e,
|
||||
/* SrcGObjCo SPrm */ 0,
|
||||
},
|
||||
// cM3dGCylS
|
||||
|
@ -18,7 +18,7 @@ static dCcD_SrcSph sph_src = {
|
||||
/* SrcObjAt Atp */ 0,
|
||||
/* SrcObjAt SPrm */ 0,
|
||||
/* SrcObjTg Type */ AT_TYPE_FIRE | AT_TYPE_UNK20000 | AT_TYPE_FIRE_ARROW | AT_TYPE_WIND | AT_TYPE_UNK400000,
|
||||
/* SrcObjTg SPrm */ TG_SPRM_SET | TG_SPRM_IS_OTHER,
|
||||
/* SrcObjTg SPrm */ cCcD_TgSPrm_Set_e | cCcD_TgSPrm_IsOther_e,
|
||||
/* SrcObjCo SPrm */ 0,
|
||||
/* SrcGObjAt Se */ 0,
|
||||
/* SrcGObjAt HitMark */ 0,
|
||||
|
@ -257,8 +257,8 @@ static s32 daMsw_Create(fopAc_ac_c* i_this) {
|
||||
/* SrcObjAt Atp */ 0,
|
||||
/* SrcObjAt SPrm */ 0,
|
||||
/* SrcObjTg Type */ ~(AT_TYPE_WATER | AT_TYPE_UNK20000 | AT_TYPE_WIND | AT_TYPE_UNK400000 | AT_TYPE_LIGHT),
|
||||
/* SrcObjTg SPrm */ TG_SPRM_SET | TG_SPRM_IS_ENEMY,
|
||||
/* SrcObjCo SPrm */ CO_SPRM_SET | CO_SPRM_IS_UNK4 | CO_SPRM_VSGRP,
|
||||
/* SrcObjTg SPrm */ cCcD_TgSPrm_Set_e | cCcD_TgSPrm_IsEnemy_e,
|
||||
/* SrcObjCo SPrm */ cCcD_CoSPrm_Set_e | cCcD_CoSPrm_IsPlayer_e | cCcD_CoSPrm_VsGrpAll_e,
|
||||
/* SrcGObjAt Se */ 0,
|
||||
/* SrcGObjAt HitMark */ 0,
|
||||
/* SrcGObjAt Spl */ 0,
|
||||
@ -268,7 +268,7 @@ static s32 daMsw_Create(fopAc_ac_c* i_this) {
|
||||
/* SrcGObjTg HitMark */ 0,
|
||||
/* SrcGObjTg Spl */ 0,
|
||||
/* SrcGObjTg Mtrl */ 0,
|
||||
/* SrcGObjTg SPrm */ G_TG_SPRM_SHIELD,
|
||||
/* SrcGObjTg SPrm */ dCcG_TgSPrm_Shield_e,
|
||||
/* SrcGObjCo SPrm */ 0,
|
||||
},
|
||||
// cM3dGCylS
|
||||
|
@ -26,8 +26,8 @@ static dCcD_SrcCyl l_cyl_src = {
|
||||
/* SrcObjAt Atp */ 0,
|
||||
/* SrcObjAt SPrm */ 0,
|
||||
/* SrcObjTg Type */ AT_TYPE_ALL,
|
||||
/* SrcObjTg SPrm */ TG_SPRM_SET | TG_SPRM_IS_ENEMY,
|
||||
/* SrcObjCo SPrm */ CO_SPRM_SET | CO_SPRM_IS_UNK8 | CO_SPRM_VS_UNK2,
|
||||
/* SrcObjTg SPrm */ cCcD_TgSPrm_Set_e | cCcD_TgSPrm_IsEnemy_e,
|
||||
/* SrcObjCo SPrm */ cCcD_CoSPrm_Set_e | cCcD_CoSPrm_IsOther_e | cCcD_CoSPrm_VsEnemy_e,
|
||||
/* SrcGObjAt Se */ 0,
|
||||
/* SrcGObjAt HitMark */ 0,
|
||||
/* SrcGObjAt Spl */ 0,
|
||||
@ -37,7 +37,7 @@ static dCcD_SrcCyl l_cyl_src = {
|
||||
/* SrcGObjTg HitMark */ 0,
|
||||
/* SrcGObjTg Spl */ 0,
|
||||
/* SrcGObjTg Mtrl */ 0,
|
||||
/* SrcGObjTg SPrm */ G_TG_SPRM_NO_HIT_MARK,
|
||||
/* SrcGObjTg SPrm */ dCcG_TgSPrm_NoHitMark_e,
|
||||
/* SrcGObjCo SPrm */ 0,
|
||||
},
|
||||
// cM3dGCylS
|
||||
|
@ -35,8 +35,8 @@ static dCcD_SrcCyl l_cyl_src = {
|
||||
/* SrcObjAt Atp */ 0,
|
||||
/* SrcObjAt SPrm */ 0,
|
||||
/* SrcObjTg Type */ AT_TYPE_ALL,
|
||||
/* SrcObjTg SPrm */ TG_SPRM_SET | TG_SPRM_IS_ENEMY,
|
||||
/* SrcObjCo SPrm */ CO_SPRM_VS_UNK8 | CO_SPRM_VS_UNK4 | CO_SPRM_VS_UNK2 | CO_SPRM_IS_UNK4 | CO_SPRM_SET,
|
||||
/* SrcObjTg SPrm */ cCcD_TgSPrm_Set_e | cCcD_TgSPrm_IsEnemy_e,
|
||||
/* SrcObjCo SPrm */ cCcD_CoSPrm_VsOther_e | cCcD_CoSPrm_VsPlayer_e | cCcD_CoSPrm_VsEnemy_e | cCcD_CoSPrm_IsPlayer_e | cCcD_CoSPrm_Set_e,
|
||||
/* SrcGObjAt Se */ 0,
|
||||
/* SrcGObjAt HitMark */ 0,
|
||||
/* SrcGObjAt Spl */ 0,
|
||||
@ -46,7 +46,7 @@ static dCcD_SrcCyl l_cyl_src = {
|
||||
/* SrcGObjTg HitMark */ 0,
|
||||
/* SrcGObjTg Spl */ 0,
|
||||
/* SrcGObjTg Mtrl */ 0,
|
||||
/* SrcGObjTg SPrm */ G_TG_SPRM_NO_HIT_MARK,
|
||||
/* SrcGObjTg SPrm */ dCcG_TgSPrm_NoHitMark_e,
|
||||
/* SrcGObjCo SPrm */ 0,
|
||||
},
|
||||
// cM3dGCylS
|
||||
|
@ -26,8 +26,8 @@ static dCcD_SrcCyl l_cyl_src = {
|
||||
/* SrcObjAt Atp */ 0,
|
||||
/* SrcObjAt SPrm */ 0,
|
||||
/* SrcObjTg Type */ ~(AT_TYPE_BOOMERANG),
|
||||
/* SrcObjTg SPrm */ TG_SPRM_SET | TG_SPRM_IS_ENEMY,
|
||||
/* SrcObjCo SPrm */ CO_SPRM_SET | CO_SPRM_IS_UNK4 | CO_SPRM_VSGRP,
|
||||
/* SrcObjTg SPrm */ cCcD_TgSPrm_Set_e | cCcD_TgSPrm_IsEnemy_e,
|
||||
/* SrcObjCo SPrm */ cCcD_CoSPrm_Set_e | cCcD_CoSPrm_IsPlayer_e | cCcD_CoSPrm_VsGrpAll_e,
|
||||
/* SrcGObjAt Se */ 0,
|
||||
/* SrcGObjAt HitMark */ 0,
|
||||
/* SrcGObjAt Spl */ 0,
|
||||
@ -37,7 +37,7 @@ static dCcD_SrcCyl l_cyl_src = {
|
||||
/* SrcGObjTg HitMark */ 0,
|
||||
/* SrcGObjTg Spl */ 0,
|
||||
/* SrcGObjTg Mtrl */ 0,
|
||||
/* SrcGObjTg SPrm */ G_TG_SPRM_NO_HIT_MARK,
|
||||
/* SrcGObjTg SPrm */ dCcG_TgSPrm_NoHitMark_e,
|
||||
/* SrcGObjCo SPrm */ 0,
|
||||
},
|
||||
// cM3dGCylS
|
||||
|
@ -31,8 +31,8 @@ static dCcD_SrcCyl l_cyl_src = {
|
||||
/* SrcObjAt Atp */ 0,
|
||||
/* SrcObjAt SPrm */ 0,
|
||||
/* SrcObjTg Type */ AT_TYPE_ALL,
|
||||
/* SrcObjTg SPrm */ TG_SPRM_SET | TG_SPRM_IS_ENEMY,
|
||||
/* SrcObjCo SPrm */ CO_SPRM_SET | CO_SPRM_IS_UNK4 | CO_SPRM_VS_UNK2 | CO_SPRM_VS_UNK4 | CO_SPRM_VS_UNK8,
|
||||
/* SrcObjTg SPrm */ cCcD_TgSPrm_Set_e | cCcD_TgSPrm_IsEnemy_e,
|
||||
/* SrcObjCo SPrm */ cCcD_CoSPrm_Set_e | cCcD_CoSPrm_IsPlayer_e | cCcD_CoSPrm_VsEnemy_e | cCcD_CoSPrm_VsPlayer_e | cCcD_CoSPrm_VsOther_e,
|
||||
/* SrcGObjAt Se */ 0,
|
||||
/* SrcGObjAt HitMark */ 0,
|
||||
/* SrcGObjAt Spl */ 0,
|
||||
@ -42,7 +42,7 @@ static dCcD_SrcCyl l_cyl_src = {
|
||||
/* SrcGObjTg HitMark */ 0,
|
||||
/* SrcGObjTg Spl */ 0,
|
||||
/* SrcGObjTg Mtrl */ 0,
|
||||
/* SrcGObjTg SPrm */ G_TG_SPRM_NO_HIT_MARK,
|
||||
/* SrcGObjTg SPrm */ dCcG_TgSPrm_NoHitMark_e,
|
||||
/* SrcGObjCo SPrm */ 0,
|
||||
},
|
||||
// cM3dGCylS
|
||||
@ -61,7 +61,7 @@ static dCcD_SrcCyl l_cyl2_src = {
|
||||
/* SrcObjAt Atp */ 0,
|
||||
/* SrcObjAt SPrm */ 0,
|
||||
/* SrcObjTg Type */ AT_TYPE_ALL,
|
||||
/* SrcObjTg SPrm */ TG_SPRM_SET | TG_SPRM_IS_ENEMY,
|
||||
/* SrcObjTg SPrm */ cCcD_TgSPrm_Set_e | cCcD_TgSPrm_IsEnemy_e,
|
||||
/* SrcObjCo SPrm */ 0,
|
||||
/* SrcGObjAt Se */ 0,
|
||||
/* SrcGObjAt HitMark */ 0,
|
||||
@ -72,7 +72,7 @@ static dCcD_SrcCyl l_cyl2_src = {
|
||||
/* SrcGObjTg HitMark */ 0,
|
||||
/* SrcGObjTg Spl */ 0,
|
||||
/* SrcGObjTg Mtrl */ 0,
|
||||
/* SrcGObjTg SPrm */ G_TG_SPRM_NO_HIT_MARK,
|
||||
/* SrcGObjTg SPrm */ dCcG_TgSPrm_NoHitMark_e,
|
||||
/* SrcGObjCo SPrm */ 0,
|
||||
},
|
||||
// cM3dGCylS
|
||||
@ -89,7 +89,7 @@ static dCcD_SrcCyl l_cylAt_src = {
|
||||
/* Flags */ 0,
|
||||
/* SrcObjAt Type */ AT_TYPE_BOMB,
|
||||
/* SrcObjAt Atp */ 0,
|
||||
/* SrcObjAt SPrm */ AT_SPRM_SET | AT_SPRM_VS_ENEMY | AT_SPRM_VS_OTHER,
|
||||
/* SrcObjAt SPrm */ cCcD_AtSPrm_Set_e | cCcD_AtSPrm_VsEnemy_e | cCcD_AtSPrm_VsOther_e,
|
||||
/* SrcObjTg Type */ 0,
|
||||
/* SrcObjTg SPrm */ 0,
|
||||
/* SrcObjCo SPrm */ 0,
|
||||
@ -102,7 +102,7 @@ static dCcD_SrcCyl l_cylAt_src = {
|
||||
/* SrcGObjTg HitMark */ 0,
|
||||
/* SrcGObjTg Spl */ 0,
|
||||
/* SrcGObjTg Mtrl */ 0,
|
||||
/* SrcGObjTg SPrm */ G_TG_SPRM_NO_HIT_MARK,
|
||||
/* SrcGObjTg SPrm */ dCcG_TgSPrm_NoHitMark_e,
|
||||
/* SrcGObjCo SPrm */ 0,
|
||||
},
|
||||
// cM3dGCylS
|
||||
@ -119,7 +119,7 @@ static dCcD_SrcCps l_cpsAt_src = {
|
||||
/* Flags */ 0,
|
||||
/* SrcObjAt Type */ AT_TYPE_UNK800,
|
||||
/* SrcObjAt Atp */ 0,
|
||||
/* SrcObjAt SPrm */ AT_SPRM_SET | AT_SPRM_VS_PLAYER | AT_SPRM_VS_OTHER,
|
||||
/* SrcObjAt SPrm */ cCcD_AtSPrm_Set_e | cCcD_AtSPrm_VsPlayer_e | cCcD_AtSPrm_VsOther_e,
|
||||
/* SrcObjTg Type */ AT_TYPE_ALL,
|
||||
/* SrcObjTg SPrm */ 0,
|
||||
/* SrcObjCo SPrm */ 0,
|
||||
@ -132,7 +132,7 @@ static dCcD_SrcCps l_cpsAt_src = {
|
||||
/* SrcGObjTg HitMark */ 0,
|
||||
/* SrcGObjTg Spl */ 0,
|
||||
/* SrcGObjTg Mtrl */ 0,
|
||||
/* SrcGObjTg SPrm */ G_TG_SPRM_NO_HIT_MARK,
|
||||
/* SrcGObjTg SPrm */ dCcG_TgSPrm_NoHitMark_e,
|
||||
/* SrcGObjCo SPrm */ 0,
|
||||
},
|
||||
// cM3dGCpsS
|
||||
|
@ -286,10 +286,10 @@ static dCcD_SrcSph l_sph_src = {
|
||||
/* Flags */ 0,
|
||||
/* SrcObjAt Type */ AT_TYPE_SWORD,
|
||||
/* SrcObjAt Atp */ 0,
|
||||
/* SrcObjAt SPrm */ AT_SPRM_SET | AT_SPRM_VS_OTHER,
|
||||
/* SrcObjAt SPrm */ cCcD_AtSPrm_Set_e | cCcD_AtSPrm_VsOther_e,
|
||||
/* SrcObjTg Type */ AT_TYPE_ALL,
|
||||
/* SrcObjTg SPrm */ 0,
|
||||
/* SrcObjCo SPrm */ CO_SPRM_SET | CO_SPRM_IS_UNK8 | CO_SPRM_VSGRP,
|
||||
/* SrcObjCo SPrm */ cCcD_CoSPrm_Set_e | cCcD_CoSPrm_IsOther_e | cCcD_CoSPrm_VsGrpAll_e,
|
||||
/* SrcGObjAt Se */ 0,
|
||||
/* SrcGObjAt HitMark */ 0,
|
||||
/* SrcGObjAt Spl */ 0,
|
||||
@ -317,7 +317,7 @@ static dCcD_SrcSph l_tg_sph_src = {
|
||||
/* SrcObjAt Atp */ 0,
|
||||
/* SrcObjAt SPrm */ 0,
|
||||
/* SrcObjTg Type */ AT_TYPE_ALL,
|
||||
/* SrcObjTg SPrm */ TG_SPRM_SET | TG_SPRM_IS_PLAYER,
|
||||
/* SrcObjTg SPrm */ cCcD_TgSPrm_Set_e | cCcD_TgSPrm_IsPlayer_e,
|
||||
/* SrcObjCo SPrm */ 0,
|
||||
/* SrcGObjAt Se */ 0,
|
||||
/* SrcGObjAt HitMark */ 0,
|
||||
@ -344,7 +344,7 @@ static dCcD_SrcCps l_kam_at_cps_src = {
|
||||
/* Flags */ 0,
|
||||
/* SrcObjAt Type */ AT_TYPE_SWORD,
|
||||
/* SrcObjAt Atp */ 0,
|
||||
/* SrcObjAt SPrm */ AT_SPRM_SET | AT_SPRM_VS_OTHER,
|
||||
/* SrcObjAt SPrm */ cCcD_AtSPrm_Set_e | cCcD_AtSPrm_VsOther_e,
|
||||
/* SrcObjTg Type */ 0,
|
||||
/* SrcObjTg SPrm */ 0,
|
||||
/* SrcObjCo SPrm */ 0,
|
||||
@ -352,7 +352,7 @@ static dCcD_SrcCps l_kam_at_cps_src = {
|
||||
/* SrcGObjAt HitMark */ 0,
|
||||
/* SrcGObjAt Spl */ 0,
|
||||
/* SrcGObjAt Mtrl */ 0,
|
||||
/* SrcGObjAt SPrm */ G_AT_SPRM_NO_HIT_MARK,
|
||||
/* SrcGObjAt SPrm */ dCcG_AtSPrm_NoHitMark_e,
|
||||
/* SrcGObjTg Se */ 0,
|
||||
/* SrcGObjTg HitMark */ 0,
|
||||
/* SrcGObjTg Spl */ 0,
|
||||
|
@ -49,8 +49,8 @@ static dCcD_SrcCyl l_cyl_src = {
|
||||
/* SrcObjAt Atp */ 0,
|
||||
/* SrcObjAt SPrm */ 0,
|
||||
/* SrcObjTg Type */ ~(AT_TYPE_BOOMERANG | AT_TYPE_WIND | AT_TYPE_LIGHT),
|
||||
/* SrcObjTg SPrm */ TG_SPRM_SET | TG_SPRM_IS_PLAYER,
|
||||
/* SrcObjCo SPrm */ CO_SPRM_SET | CO_SPRM_IS_UNK4 | CO_SPRM_VSGRP,
|
||||
/* SrcObjTg SPrm */ cCcD_TgSPrm_Set_e | cCcD_TgSPrm_IsPlayer_e,
|
||||
/* SrcObjCo SPrm */ cCcD_CoSPrm_Set_e | cCcD_CoSPrm_IsPlayer_e | cCcD_CoSPrm_VsGrpAll_e,
|
||||
/* SrcGObjAt Se */ 0,
|
||||
/* SrcGObjAt HitMark */ 0,
|
||||
/* SrcGObjAt Spl */ 0,
|
||||
@ -60,7 +60,7 @@ static dCcD_SrcCyl l_cyl_src = {
|
||||
/* SrcGObjTg HitMark */ 0,
|
||||
/* SrcGObjTg Spl */ 0,
|
||||
/* SrcGObjTg Mtrl */ 0,
|
||||
/* SrcGObjTg SPrm */ G_TG_SPRM_NO_HIT_MARK,
|
||||
/* SrcGObjTg SPrm */ dCcG_TgSPrm_NoHitMark_e,
|
||||
/* SrcGObjCo SPrm */ 0,
|
||||
},
|
||||
// cM3dGCylS
|
||||
@ -79,7 +79,7 @@ static dCcD_SrcCyl l_light_cyl_src = {
|
||||
/* SrcObjAt Atp */ 0,
|
||||
/* SrcObjAt SPrm */ 0,
|
||||
/* SrcObjTg Type */ AT_TYPE_LIGHT,
|
||||
/* SrcObjTg SPrm */ TG_SPRM_SET | TG_SPRM_IS_ENEMY,
|
||||
/* SrcObjTg SPrm */ cCcD_TgSPrm_Set_e | cCcD_TgSPrm_IsEnemy_e,
|
||||
/* SrcObjCo SPrm */ 0,
|
||||
/* SrcGObjAt Se */ 0,
|
||||
/* SrcGObjAt HitMark */ 0,
|
||||
@ -90,7 +90,7 @@ static dCcD_SrcCyl l_light_cyl_src = {
|
||||
/* SrcGObjTg HitMark */ 0,
|
||||
/* SrcGObjTg Spl */ 0,
|
||||
/* SrcGObjTg Mtrl */ 0,
|
||||
/* SrcGObjTg SPrm */ G_TG_SPRM_NO_HIT_MARK,
|
||||
/* SrcGObjTg SPrm */ dCcG_TgSPrm_NoHitMark_e,
|
||||
/* SrcGObjCo SPrm */ 0,
|
||||
},
|
||||
// cM3dGCylS
|
||||
@ -107,7 +107,7 @@ static dCcD_SrcCps l_fan_light_cps_src = {
|
||||
/* Flags */ 0,
|
||||
/* SrcObjAt Type */ AT_TYPE_LIGHT,
|
||||
/* SrcObjAt Atp */ 0,
|
||||
/* SrcObjTg SPrm */ TG_SPRM_SET | TG_SPRM_GRP,
|
||||
/* SrcObjTg SPrm */ cCcD_TgSPrm_Set_e | cCcD_TgSPrm_GrpAll_e,
|
||||
/* SrcObjTg Type */ 0,
|
||||
/* SrcObjTg SPrm */ 0,
|
||||
/* SrcObjCo SPrm */ 0,
|
||||
@ -115,7 +115,7 @@ static dCcD_SrcCps l_fan_light_cps_src = {
|
||||
/* SrcGObjAt HitMark */ 0,
|
||||
/* SrcGObjAt Spl */ 0,
|
||||
/* SrcGObjAt Mtrl */ 0,
|
||||
/* SrcGObjAt SPrm */ G_AT_SPRM_NO_HIT_MARK,
|
||||
/* SrcGObjAt SPrm */ dCcG_AtSPrm_NoHitMark_e,
|
||||
/* SrcGObjTg Se */ 0,
|
||||
/* SrcGObjTg HitMark */ 0,
|
||||
/* SrcGObjTg Spl */ 0,
|
||||
@ -139,7 +139,7 @@ static dCcD_SrcCyl l_wind_cyl_src = {
|
||||
/* SrcObjAt Atp */ 0,
|
||||
/* SrcObjAt SPrm */ 0,
|
||||
/* SrcObjTg Type */ AT_TYPE_WIND,
|
||||
/* SrcObjTg SPrm */ TG_SPRM_SET | TG_SPRM_IS_ENEMY,
|
||||
/* SrcObjTg SPrm */ cCcD_TgSPrm_Set_e | cCcD_TgSPrm_IsEnemy_e,
|
||||
/* SrcObjCo SPrm */ 0,
|
||||
/* SrcGObjAt Se */ 0,
|
||||
/* SrcGObjAt HitMark */ 0,
|
||||
@ -150,7 +150,7 @@ static dCcD_SrcCyl l_wind_cyl_src = {
|
||||
/* SrcGObjTg HitMark */ 0,
|
||||
/* SrcGObjTg Spl */ 0,
|
||||
/* SrcGObjTg Mtrl */ 0,
|
||||
/* SrcGObjTg SPrm */ G_TG_SPRM_NO_HIT_MARK,
|
||||
/* SrcGObjTg SPrm */ dCcG_TgSPrm_NoHitMark_e,
|
||||
/* SrcGObjCo SPrm */ 0,
|
||||
},
|
||||
// cM3dGCylS
|
||||
|
@ -27,8 +27,8 @@ static dCcD_SrcCyl l_cyl_src = {
|
||||
/* SrcObjAt Atp */ 0,
|
||||
/* SrcObjAt SPrm */ 0,
|
||||
/* SrcObjTg Type */ ~AT_TYPE_BOOMERANG,
|
||||
/* SrcObjTg SPrm */ TG_SPRM_SET | TG_SPRM_IS_ENEMY,
|
||||
/* SrcObjCo SPrm */ CO_SPRM_VSGRP | CO_SPRM_IS_UNK4 | CO_SPRM_SET,
|
||||
/* SrcObjTg SPrm */ cCcD_TgSPrm_Set_e | cCcD_TgSPrm_IsEnemy_e,
|
||||
/* SrcObjCo SPrm */ cCcD_CoSPrm_VsGrpAll_e | cCcD_CoSPrm_IsPlayer_e | cCcD_CoSPrm_Set_e,
|
||||
/* SrcGObjAt Se */ 0,
|
||||
/* SrcGObjAt HitMark */ 0,
|
||||
/* SrcGObjAt Spl */ 0,
|
||||
@ -38,7 +38,7 @@ static dCcD_SrcCyl l_cyl_src = {
|
||||
/* SrcGObjTg HitMark */ 0,
|
||||
/* SrcGObjTg Spl */ 0,
|
||||
/* SrcGObjTg Mtrl */ 0,
|
||||
/* SrcGObjTg SPrm */ G_TG_SPRM_NO_HIT_MARK,
|
||||
/* SrcGObjTg SPrm */ dCcG_TgSPrm_NoHitMark_e,
|
||||
/* SrcGObjCo SPrm */ 0,
|
||||
},
|
||||
// cM3dGCylS
|
||||
|
@ -1356,7 +1356,7 @@ static dCcD_SrcSph l_sph_src = {
|
||||
/* SrcObjAt Atp */ 0,
|
||||
/* SrcObjAt SPrm */ 0,
|
||||
/* SrcObjTg Type */ AT_TYPE_WIND,
|
||||
/* SrcObjTg SPrm */ TG_SPRM_SET | TG_SPRM_IS_ENEMY,
|
||||
/* SrcObjTg SPrm */ cCcD_TgSPrm_Set_e | cCcD_TgSPrm_IsEnemy_e,
|
||||
/* SrcObjCo SPrm */ 0,
|
||||
/* SrcGObjAt Se */ 0,
|
||||
/* SrcGObjAt HitMark */ 0,
|
||||
@ -1367,7 +1367,7 @@ static dCcD_SrcSph l_sph_src = {
|
||||
/* SrcGObjTg HitMark */ 0,
|
||||
/* SrcGObjTg Spl */ 0,
|
||||
/* SrcGObjTg Mtrl */ 0,
|
||||
/* SrcGObjTg SPrm */ G_TG_SPRM_NO_HIT_MARK,
|
||||
/* SrcGObjTg SPrm */ dCcG_TgSPrm_NoHitMark_e,
|
||||
/* SrcGObjCo SPrm */ 0,
|
||||
},
|
||||
// cM3dGSphS
|
||||
|
@ -23,7 +23,7 @@ static const dCcD_SrcCyl l_cyl_at_src = {
|
||||
/* Flags */ 0,
|
||||
/* SrcObjAt Type */ AT_TYPE_UNK800,
|
||||
/* SrcObjAt Atp */ 1,
|
||||
/* SrcObjAt SPrm */ AT_SPRM_SET | AT_SPRM_VS_PLAYER,
|
||||
/* SrcObjAt SPrm */ cCcD_AtSPrm_Set_e | cCcD_AtSPrm_VsPlayer_e,
|
||||
/* SrcObjTg Type */ 0,
|
||||
/* SrcObjTg SPrm */ 0,
|
||||
/* SrcObjCo SPrm */ 0,
|
||||
@ -31,7 +31,7 @@ static const dCcD_SrcCyl l_cyl_at_src = {
|
||||
/* SrcGObjAt HitMark */ 0,
|
||||
/* SrcGObjAt Spl */ dCcG_At_Spl_UNK9,
|
||||
/* SrcGObjAt Mtrl */ 0,
|
||||
/* SrcGObjAt SPrm */ G_AT_SPRM_NO_CON_HIT | G_AT_SPRM_NO_HIT_MARK,
|
||||
/* SrcGObjAt SPrm */ dCcG_AtSPrm_NoConHit_e | dCcG_AtSPrm_NoHitMark_e,
|
||||
/* SrcGObjTg Se */ 0,
|
||||
/* SrcGObjTg HitMark */ 0,
|
||||
/* SrcGObjTg Spl */ 0,
|
||||
@ -55,7 +55,7 @@ static const dCcD_SrcCyl l_cyl_tg_src = {
|
||||
/* SrcObjAt Atp */ 0,
|
||||
/* SrcObjAt SPrm */ 0,
|
||||
/* SrcObjTg Type */ ~(AT_TYPE_WATER | AT_TYPE_UNK20000 | AT_TYPE_UNK400000 | AT_TYPE_LIGHT),
|
||||
/* SrcObjTg SPrm */ TG_SPRM_SET | TG_SPRM_IS_OTHER,
|
||||
/* SrcObjTg SPrm */ cCcD_TgSPrm_Set_e | cCcD_TgSPrm_IsOther_e,
|
||||
/* SrcObjCo SPrm */ 0,
|
||||
/* SrcGObjAt Se */ 0,
|
||||
/* SrcGObjAt HitMark */ 0,
|
||||
@ -66,7 +66,7 @@ static const dCcD_SrcCyl l_cyl_tg_src = {
|
||||
/* SrcGObjTg HitMark */ 0,
|
||||
/* SrcGObjTg Spl */ 0,
|
||||
/* SrcGObjTg Mtrl */ 0,
|
||||
/* SrcGObjTg SPrm */ G_TG_SPRM_NO_CON_HIT | G_TG_SPRM_NO_HIT_MARK,
|
||||
/* SrcGObjTg SPrm */ dCcG_TgSPrm_NoConHit_e | dCcG_TgSPrm_NoHitMark_e,
|
||||
/* SrcGObjCo SPrm */ 0,
|
||||
},
|
||||
// cM3dGCylS
|
||||
|
@ -22,7 +22,7 @@ static dCcD_SrcSph sph_check_src = {
|
||||
/* SrcObjAt Atp */ 0,
|
||||
/* SrcObjAt SPrm */ 0,
|
||||
/* SrcObjTg Type */ AT_TYPE_FIRE_ARROW,
|
||||
/* SrcObjTg SPrm */ TG_SPRM_SET | TG_SPRM_IS_OTHER,
|
||||
/* SrcObjTg SPrm */ cCcD_TgSPrm_Set_e | cCcD_TgSPrm_IsOther_e,
|
||||
/* SrcObjCo SPrm */ 0,
|
||||
/* SrcGObjAt Se */ 0,
|
||||
/* SrcGObjAt HitMark */ 0,
|
||||
|
@ -26,7 +26,7 @@ dCcD_SrcSph sph_check_src = {
|
||||
/* SrcObjAt Atp */ 0,
|
||||
/* SrcObjAt SPrm */ 0,
|
||||
/* SrcObjTg Type */ AT_TYPE_BOMB,
|
||||
/* SrcObjTg SPrm */ TG_SPRM_SET | TG_SPRM_IS_OTHER,
|
||||
/* SrcObjTg SPrm */ cCcD_TgSPrm_Set_e | cCcD_TgSPrm_IsOther_e,
|
||||
/* SrcObjCo SPrm */ 0,
|
||||
/* SrcGObjAt Se */ 0,
|
||||
/* SrcGObjAt HitMark */ 0,
|
||||
|
@ -27,7 +27,7 @@ static dCcD_SrcCyl cyl_check_src = {
|
||||
/* SrcObjAt Atp */ 0,
|
||||
/* SrcObjAt SPrm */ 0,
|
||||
/* SrcObjTg Type */ AT_TYPE_BOMB,
|
||||
/* SrcObjTg SPrm */ TG_SPRM_SET | TG_SPRM_IS_OTHER,
|
||||
/* SrcObjTg SPrm */ cCcD_TgSPrm_Set_e | cCcD_TgSPrm_IsOther_e,
|
||||
/* SrcObjCo SPrm */ 0,
|
||||
/* SrcGObjAt Se */ 0,
|
||||
/* SrcGObjAt HitMark */ 0,
|
||||
@ -57,7 +57,7 @@ static dCcD_SrcCyl cyl_camera_src = {
|
||||
/* SrcObjAt SPrm */ 0,
|
||||
/* SrcObjTg Type */ 0,
|
||||
/* SrcObjTg SPrm */ 0,
|
||||
/* SrcObjCo SPrm */ CO_SPRM_SET | CO_SPRM_IS_UNK8 | CO_SPRM_VS_UNK8 | CO_SPRM_NO_CRR,
|
||||
/* SrcObjCo SPrm */ cCcD_CoSPrm_Set_e | cCcD_CoSPrm_IsOther_e | cCcD_CoSPrm_VsOther_e | cCcD_CoSPrm_NoCrr_e,
|
||||
/* SrcGObjAt Se */ 0,
|
||||
/* SrcGObjAt HitMark */ 0,
|
||||
/* SrcGObjAt Spl */ 0,
|
||||
@ -85,9 +85,9 @@ static dCcD_SrcSph sph_check_src = {
|
||||
/* SrcObjAt Atp */ 0,
|
||||
/* SrcObjAt SPrm */ 0,
|
||||
/* SrcObjTg Type */ AT_TYPE_BOMB,
|
||||
/* SrcObjTg SPrm */ TG_SPRM_SET | TG_SPRM_IS_OTHER,
|
||||
/* SrcObjCo SPrm */ CO_SPRM_SET | CO_SPRM_IS_UNK8 | CO_SPRM_VS_UNK4 | CO_SPRM_VS_UNK2 |
|
||||
CO_SPRM_NO_CRR,
|
||||
/* SrcObjTg SPrm */ cCcD_TgSPrm_Set_e | cCcD_TgSPrm_IsOther_e,
|
||||
/* SrcObjCo SPrm */ cCcD_CoSPrm_Set_e | cCcD_CoSPrm_IsOther_e | cCcD_CoSPrm_VsPlayer_e | cCcD_CoSPrm_VsEnemy_e |
|
||||
cCcD_CoSPrm_NoCrr_e,
|
||||
/* SrcGObjAt Se */ 0,
|
||||
/* SrcGObjAt HitMark */ 0,
|
||||
/* SrcGObjAt Spl */ 0,
|
||||
|
@ -28,8 +28,8 @@ namespace daObjFerris {
|
||||
/* SrcObjAt Atp */ 0,
|
||||
/* SrcObjAt SPrm */ 0,
|
||||
/* SrcObjTg Type */ ~(AT_TYPE_LIGHT | AT_TYPE_UNK400000 | AT_TYPE_WIND | AT_TYPE_UNK20000 | AT_TYPE_WATER),
|
||||
/* SrcObjTg SPrm */ TG_SPRM_SET | TG_SPRM_GRP,
|
||||
/* SrcObjCo SPrm */ CO_SPRM_SET | CO_SPRM_IS_UNK8 | CO_SPRM_VSGRP,
|
||||
/* SrcObjTg SPrm */ cCcD_TgSPrm_Set_e | cCcD_TgSPrm_GrpAll_e,
|
||||
/* SrcObjCo SPrm */ cCcD_CoSPrm_Set_e | cCcD_CoSPrm_IsOther_e | cCcD_CoSPrm_VsGrpAll_e,
|
||||
/* SrcGObjAt Se */ 0,
|
||||
/* SrcGObjAt HitMark */ 0,
|
||||
/* SrcGObjAt Spl */ 0,
|
||||
@ -59,7 +59,7 @@ namespace daObjFerris {
|
||||
/* SrcObjAt SPrm */ 0,
|
||||
/* SrcObjTg Type */ 0,
|
||||
/* SrcObjTg SPrm */ 0,
|
||||
/* SrcObjCo SPrm */ CO_SPRM_SET | CO_SPRM_IS_UNK8 | CO_SPRM_VSGRP,
|
||||
/* SrcObjCo SPrm */ cCcD_CoSPrm_Set_e | cCcD_CoSPrm_IsOther_e | cCcD_CoSPrm_VsGrpAll_e,
|
||||
/* SrcGObjAt Se */ 0,
|
||||
/* SrcGObjAt HitMark */ 0,
|
||||
/* SrcGObjAt Spl */ 0,
|
||||
|
@ -62,8 +62,8 @@ static dCcD_SrcCyl l_cyl_src = {
|
||||
/* SrcObjAt Atp */ 0,
|
||||
/* SrcObjAt SPrm */ 0,
|
||||
/* SrcObjTg Type */ AT_TYPE_ALL,
|
||||
/* SrcObjTg SPrm */ TG_SPRM_SET | TG_SPRM_IS_ENEMY,
|
||||
/* SrcObjCo SPrm */ CO_SPRM_SET | CO_SPRM_IS_UNK8 | CO_SPRM_VSGRP,
|
||||
/* SrcObjTg SPrm */ cCcD_TgSPrm_Set_e | cCcD_TgSPrm_IsEnemy_e,
|
||||
/* SrcObjCo SPrm */ cCcD_CoSPrm_Set_e | cCcD_CoSPrm_IsOther_e | cCcD_CoSPrm_VsGrpAll_e,
|
||||
/* SrcGObjAt Se */ 0,
|
||||
/* SrcGObjAt HitMark */ 0,
|
||||
/* SrcGObjAt Spl */ 0,
|
||||
@ -73,7 +73,7 @@ static dCcD_SrcCyl l_cyl_src = {
|
||||
/* SrcGObjTg HitMark */ 0,
|
||||
/* SrcGObjTg Spl */ 0,
|
||||
/* SrcGObjTg Mtrl */ 0,
|
||||
/* SrcGObjTg SPrm */ G_TG_SPRM_NO_HIT_MARK,
|
||||
/* SrcGObjTg SPrm */ dCcG_TgSPrm_NoHitMark_e,
|
||||
/* SrcGObjCo SPrm */ 0,
|
||||
},
|
||||
// cM3dGCylS
|
||||
|
@ -25,7 +25,7 @@ namespace {
|
||||
/* SrcObjAt Atp */ 0,
|
||||
/* SrcObjAt SPrm */ 0,
|
||||
/* SrcObjTg Type */ AT_TYPE_HOOKSHOT,
|
||||
/* SrcObjTg SPrm */ TG_SPRM_SET | TG_SPRM_IS_OTHER,
|
||||
/* SrcObjTg SPrm */ cCcD_TgSPrm_Set_e | cCcD_TgSPrm_IsOther_e,
|
||||
/* SrcObjCo SPrm */ 0,
|
||||
/* SrcGObjAt Se */ 0,
|
||||
/* SrcGObjAt HitMark */ 0,
|
||||
@ -36,7 +36,7 @@ namespace {
|
||||
/* SrcGObjTg HitMark */ 0,
|
||||
/* SrcGObjTg Spl */ 0,
|
||||
/* SrcGObjTg Mtrl */ 0,
|
||||
/* SrcGObjTg SPrm */ G_TG_SPRM_NO_CON_HIT | G_TG_SPRM_NO_HIT_MARK,
|
||||
/* SrcGObjTg SPrm */ dCcG_TgSPrm_NoConHit_e | dCcG_TgSPrm_NoHitMark_e,
|
||||
/* SrcGObjCo SPrm */ 0,
|
||||
},
|
||||
// cM3dGSphS
|
||||
|
@ -318,8 +318,8 @@ namespace daObjMovebox {
|
||||
/* SrcObjAt Atp */ 0,
|
||||
/* SrcObjAt SPrm */ 0,
|
||||
/* SrcObjTg Type */ AT_TYPE_BOMB,
|
||||
/* SrcObjTg SPrm */ TG_SPRM_SET | TG_SPRM_IS_OTHER,
|
||||
/* SrcObjCo SPrm */ CO_SPRM_SET | CO_SPRM_IS_UNK8 | CO_SPRM_VSGRP,
|
||||
/* SrcObjTg SPrm */ cCcD_TgSPrm_Set_e | cCcD_TgSPrm_IsOther_e,
|
||||
/* SrcObjCo SPrm */ cCcD_CoSPrm_Set_e | cCcD_CoSPrm_IsOther_e | cCcD_CoSPrm_VsGrpAll_e,
|
||||
/* SrcGObjAt Se */ 0,
|
||||
/* SrcGObjAt HitMark */ 0,
|
||||
/* SrcGObjAt Spl */ 0,
|
||||
|
@ -45,7 +45,7 @@ const dCcD_SrcCyl daObjMtest::Act_c::M_cyl_src = {
|
||||
/* SrcObjAt Atp */ 0,
|
||||
/* SrcObjAt SPrm */ 0,
|
||||
/* SrcObjTg Type */ AT_TYPE_BOMB,
|
||||
/* SrcObjTg SPrm */ TG_SPRM_SET | TG_SPRM_IS_OTHER,
|
||||
/* SrcObjTg SPrm */ cCcD_TgSPrm_Set_e | cCcD_TgSPrm_IsOther_e,
|
||||
/* SrcObjCo SPrm */ 0,
|
||||
/* SrcGObjAt Se */ 0,
|
||||
/* SrcGObjAt HitMark */ 0,
|
||||
|
@ -95,8 +95,8 @@ namespace daObjPaper {
|
||||
/* SrcObjAt Atp */ 0,
|
||||
/* SrcObjAt SPrm */ 0,
|
||||
/* SrcObjTg Type */ ~(AT_TYPE_WATER | AT_TYPE_UNK20000 | AT_TYPE_WIND | AT_TYPE_UNK400000 | AT_TYPE_LIGHT),
|
||||
/* SrcObjTg SPrm */ TG_SPRM_SET | TG_SPRM_GRP,
|
||||
/* SrcObjCo SPrm */ CO_SPRM_SET | CO_SPRM_IS_UNK8 | CO_SPRM_VSGRP,
|
||||
/* SrcObjTg SPrm */ cCcD_TgSPrm_Set_e | cCcD_TgSPrm_GrpAll_e,
|
||||
/* SrcObjCo SPrm */ cCcD_CoSPrm_Set_e | cCcD_CoSPrm_IsOther_e | cCcD_CoSPrm_VsGrpAll_e,
|
||||
/* SrcGObjAt Se */ 0,
|
||||
/* SrcGObjAt HitMark */ 0,
|
||||
/* SrcGObjAt Spl */ 0,
|
||||
@ -106,7 +106,7 @@ namespace daObjPaper {
|
||||
/* SrcGObjTg HitMark */ 0,
|
||||
/* SrcGObjTg Spl */ 0,
|
||||
/* SrcGObjTg Mtrl */ 0,
|
||||
/* SrcGObjTg SPrm */ G_TG_SPRM_SHIELD | G_TG_SPRM_NO_CON_HIT,
|
||||
/* SrcGObjTg SPrm */ dCcG_TgSPrm_Shield_e | dCcG_TgSPrm_NoConHit_e,
|
||||
/* SrcGObjCo SPrm */ 0,
|
||||
},
|
||||
// cM3dGCylS
|
||||
|
@ -48,8 +48,8 @@ const dCcD_SrcCyl daObjTpost_c::m_cyl_src = {
|
||||
/* SrcObjAt Atp */ 0,
|
||||
/* SrcObjAt SPrm */ 0,
|
||||
/* SrcObjTg Type */ ~(AT_TYPE_BOOMERANG),
|
||||
/* SrcObjTg SPrm */ TG_SPRM_SET | TG_SPRM_GRP,
|
||||
/* SrcObjCo SPrm */ CO_SPRM_SET | CO_SPRM_IS_UNK8 | CO_SPRM_VSGRP,
|
||||
/* SrcObjTg SPrm */ cCcD_TgSPrm_Set_e | cCcD_TgSPrm_GrpAll_e,
|
||||
/* SrcObjCo SPrm */ cCcD_CoSPrm_Set_e | cCcD_CoSPrm_IsOther_e | cCcD_CoSPrm_VsGrpAll_e,
|
||||
/* SrcGObjAt Se */ 0,
|
||||
/* SrcGObjAt HitMark */ 0,
|
||||
/* SrcGObjAt Spl */ 0,
|
||||
@ -59,7 +59,7 @@ const dCcD_SrcCyl daObjTpost_c::m_cyl_src = {
|
||||
/* SrcGObjTg HitMark */ 0,
|
||||
/* SrcGObjTg Spl */ 0,
|
||||
/* SrcGObjTg Mtrl */ 0,
|
||||
/* SrcGObjTg SPrm */ G_TG_SPRM_SHIELD | G_TG_SPRM_NO_CON_HIT | G_TG_SPRM_NO_HIT_MARK,
|
||||
/* SrcGObjTg SPrm */ dCcG_TgSPrm_Shield_e | dCcG_TgSPrm_NoConHit_e | dCcG_TgSPrm_NoHitMark_e,
|
||||
/* SrcGObjCo SPrm */ 0,
|
||||
},
|
||||
// cM3dGCylS
|
||||
|
@ -24,7 +24,7 @@ static dCcD_SrcCyl cyl_check_src = {
|
||||
/* SrcObjAt Atp */ 0,
|
||||
/* SrcObjAt SPrm */ 0,
|
||||
/* SrcObjTg Type */ AT_TYPE_PGANON_SWORD,
|
||||
/* SrcObjTg SPrm */ TG_SPRM_SET | TG_SPRM_IS_OTHER,
|
||||
/* SrcObjTg SPrm */ cCcD_TgSPrm_Set_e | cCcD_TgSPrm_IsOther_e,
|
||||
/* SrcObjCo SPrm */ 0,
|
||||
/* SrcGObjAt Se */ 0,
|
||||
/* SrcGObjAt HitMark */ 0,
|
||||
|
@ -24,7 +24,7 @@ static dCcD_SrcCyl cyl_src_base = {
|
||||
/* SrcObjAt SPrm */ 0,
|
||||
/* SrcObjTg Type */ 0,
|
||||
/* SrcObjTg SPrm */ 0,
|
||||
/* SrcObjCo SPrm */ CO_SPRM_SET | CO_SPRM_VS_UNK2 | CO_SPRM_IS_UNK8 | CO_SPRM_NO_CRR,
|
||||
/* SrcObjCo SPrm */ cCcD_CoSPrm_Set_e | cCcD_CoSPrm_VsEnemy_e | cCcD_CoSPrm_IsOther_e | cCcD_CoSPrm_NoCrr_e,
|
||||
/* SrcGObjAt Se */ 0,
|
||||
/* SrcGObjAt HitMark */ 0,
|
||||
/* SrcGObjAt Spl */ 0,
|
||||
|
@ -33,8 +33,8 @@ namespace daObjZouk {
|
||||
/* SrcObjAt Atp */ 0,
|
||||
/* SrcObjAt SPrm */ 0,
|
||||
/* SrcObjTg Type */ ~(AT_TYPE_LIGHT | AT_TYPE_UNK400000 | AT_TYPE_WIND | AT_TYPE_UNK20000 | AT_TYPE_WATER),
|
||||
/* SrcObjTg SPrm */ TG_SPRM_SET | TG_SPRM_GRP,
|
||||
/* SrcObjCo SPrm */ CO_SPRM_SET | CO_SPRM_IS_UNK8 | CO_SPRM_VSGRP,
|
||||
/* SrcObjTg SPrm */ cCcD_TgSPrm_Set_e | cCcD_TgSPrm_GrpAll_e,
|
||||
/* SrcObjCo SPrm */ cCcD_CoSPrm_Set_e | cCcD_CoSPrm_IsOther_e | cCcD_CoSPrm_VsGrpAll_e,
|
||||
/* SrcGObjAt Se */ 0,
|
||||
/* SrcGObjAt HitMark */ 0,
|
||||
/* SrcGObjAt Spl */ 0,
|
||||
@ -44,7 +44,7 @@ namespace daObjZouk {
|
||||
/* SrcGObjTg HitMark */ 0,
|
||||
/* SrcGObjTg Spl */ 0,
|
||||
/* SrcGObjTg Mtrl */ 0,
|
||||
/* SrcGObjTg SPrm */ G_TG_SPRM_SHIELD | G_TG_SPRM_NO_CON_HIT,
|
||||
/* SrcGObjTg SPrm */ dCcG_TgSPrm_Shield_e | dCcG_TgSPrm_NoConHit_e,
|
||||
/* SrcGObjCo SPrm */ 0,
|
||||
},
|
||||
// cM3dGCylS
|
||||
|
@ -1971,11 +1971,11 @@ BOOL daPy_lk_c::changeDamageProc() {
|
||||
setDashDamage();
|
||||
} else {
|
||||
u8 hitSe = mCyl.GetTgHitObjSe();
|
||||
if (hitSe == dCcD_SE_UNK6) {
|
||||
if (hitSe == dCcG_SE_UNK6) {
|
||||
seStartOnlyReverb(JA_SE_OBJ_COL_N_BDY_MPLT);
|
||||
} else if (hitSe == dCcD_SE_UNK2 || hitSe == dCcD_SE_UNK5) {
|
||||
} else if (hitSe == dCcG_SE_UNK2 || hitSe == dCcG_SE_UNK5) {
|
||||
seStartOnlyReverb(JA_SE_OBJ_COL_SWS_NMTLP);
|
||||
} else if (hitSe == dCcD_SE_UNK4) {
|
||||
} else if (hitSe == dCcG_SE_UNK4) {
|
||||
seStartOnlyReverb(JA_SE_OBJ_COL_NWHP_NMTL);
|
||||
} else {
|
||||
seStartOnlyReverb(JA_SE_OBJ_COL_SWM_NSWL);
|
||||
|
@ -49,15 +49,15 @@ static dCcD_SrcCyl l_cyl_src = {
|
||||
/* SrcObjAt Atp */ 0,
|
||||
/* SrcObjAt SPrm */ 0,
|
||||
/* SrcObjTg Type */ ~(AT_TYPE_WATER | AT_TYPE_UNK20000 | AT_TYPE_WIND | AT_TYPE_UNK400000 | AT_TYPE_LIGHT),
|
||||
/* SrcObjTg SPrm */ TG_SPRM_SET | TG_SPRM_IS_PLAYER,
|
||||
/* SrcObjCo SPrm */ CO_SPRM_SET | CO_SPRM_IS_UNK2 | CO_SPRM_VSGRP,
|
||||
/* SrcObjTg SPrm */ cCcD_TgSPrm_Set_e | cCcD_TgSPrm_IsPlayer_e,
|
||||
/* SrcObjCo SPrm */ cCcD_CoSPrm_Set_e | cCcD_CoSPrm_IsEnemy_e | cCcD_CoSPrm_VsGrpAll_e,
|
||||
/* SrcGObjAt Se */ 0,
|
||||
/* SrcGObjAt HitMark */ 0,
|
||||
/* SrcGObjAt Spl */ 0,
|
||||
/* SrcGObjAt Mtrl */ 0,
|
||||
/* SrcGObjAt SPrm */ 0,
|
||||
/* SrcGObjTg Se */ dCcD_SE_UNK25,
|
||||
/* SrcGObjTg HitMark */ G_TG_MARK_PURPLE_HIT,
|
||||
/* SrcGObjTg Se */ dCcG_SE_UNK25,
|
||||
/* SrcGObjTg HitMark */ dCcg_TgHitMark_Purple_e,
|
||||
/* SrcGObjTg Spl */ 0,
|
||||
/* SrcGObjTg Mtrl */ 0,
|
||||
/* SrcGObjTg SPrm */ 0,
|
||||
@ -79,13 +79,13 @@ static dCcD_SrcCyl l_wind_cyl_src = {
|
||||
/* SrcObjAt Atp */ 0,
|
||||
/* SrcObjAt SPrm */ 0,
|
||||
/* SrcObjTg Type */ AT_TYPE_WIND,
|
||||
/* SrcObjTg SPrm */ TG_SPRM_SET | TG_SPRM_IS_PLAYER,
|
||||
/* SrcObjTg SPrm */ cCcD_TgSPrm_Set_e | cCcD_TgSPrm_IsPlayer_e,
|
||||
/* SrcObjCo SPrm */ 0,
|
||||
/* SrcGObjAt Se */ 0,
|
||||
/* SrcGObjAt HitMark */ 0,
|
||||
/* SrcGObjAt Spl */ 0,
|
||||
/* SrcGObjAt Mtrl */ 0,
|
||||
/* SrcGObjAt SPrm */ G_AT_SPRM_NO_HIT_MARK,
|
||||
/* SrcGObjAt SPrm */ dCcG_AtSPrm_NoHitMark_e,
|
||||
/* SrcGObjTg Se */ 0,
|
||||
/* SrcGObjTg HitMark */ 0,
|
||||
/* SrcGObjTg Spl */ 0,
|
||||
@ -107,12 +107,12 @@ static dCcD_SrcCyl l_at_cyl_src = {
|
||||
/* Flags */ 0,
|
||||
/* SrcObjAt Type */ AT_TYPE_SWORD,
|
||||
/* SrcObjAt Atp */ 0x02,
|
||||
/* SrcObjAt SPrm */ AT_SPRM_SET | AT_SPRM_VS_ENEMY | AT_SPRM_VS_OTHER,
|
||||
/* SrcObjAt SPrm */ cCcD_AtSPrm_Set_e | cCcD_AtSPrm_VsEnemy_e | cCcD_AtSPrm_VsOther_e,
|
||||
/* SrcObjTg Type */ 0,
|
||||
/* SrcObjTg SPrm */ 0,
|
||||
/* SrcObjCo SPrm */ 0,
|
||||
/* SrcGObjAt Se */ 0,
|
||||
/* SrcGObjAt HitMark */ G_AT_MARK_BIG_HIT,
|
||||
/* SrcGObjAt HitMark */ dCcG_AtHitMark_Big_e,
|
||||
/* SrcGObjAt Spl */ dCcG_At_Spl_UNK1,
|
||||
/* SrcGObjAt Mtrl */ 0,
|
||||
/* SrcGObjAt SPrm */ 0,
|
||||
@ -137,12 +137,12 @@ static dCcD_SrcCps l_at_cps_src = {
|
||||
/* Flags */ 0,
|
||||
/* SrcObjAt Type */ AT_TYPE_SWORD,
|
||||
/* SrcObjAt Atp */ 0x01,
|
||||
/* SrcObjAt SPrm */ AT_SPRM_SET | AT_SPRM_VS_ENEMY | AT_SPRM_VS_OTHER,
|
||||
/* SrcObjAt SPrm */ cCcD_AtSPrm_Set_e | cCcD_AtSPrm_VsEnemy_e | cCcD_AtSPrm_VsOther_e,
|
||||
/* SrcObjTg Type */ 0,
|
||||
/* SrcObjTg SPrm */ 0,
|
||||
/* SrcObjCo SPrm */ 0,
|
||||
/* SrcGObjAt Se */ dCcD_SE_UNK1,
|
||||
/* SrcGObjAt HitMark */ G_AT_MARK_NORMAL_HIT,
|
||||
/* SrcGObjAt Se */ dCcG_SE_UNK1,
|
||||
/* SrcGObjAt HitMark */ dCcG_AtHitMark_Nrm_e,
|
||||
/* SrcGObjAt Spl */ 0,
|
||||
/* SrcGObjAt Mtrl */ 0,
|
||||
/* SrcGObjAt SPrm */ 0,
|
||||
@ -167,7 +167,7 @@ static dCcD_SrcCps l_fan_wind_cps_src = {
|
||||
/* Flags */ 0,
|
||||
/* SrcObjAt Type */ AT_TYPE_WIND,
|
||||
/* SrcObjAt Atp */ 0,
|
||||
/* SrcObjAt SPrm */ AT_SPRM_SET | AT_SPRM_VS_ENEMY | AT_SPRM_VS_OTHER,
|
||||
/* SrcObjAt SPrm */ cCcD_AtSPrm_Set_e | cCcD_AtSPrm_VsEnemy_e | cCcD_AtSPrm_VsOther_e,
|
||||
/* SrcObjTg Type */ 0,
|
||||
/* SrcObjTg SPrm */ 0,
|
||||
/* SrcObjCo SPrm */ 0,
|
||||
@ -175,7 +175,7 @@ static dCcD_SrcCps l_fan_wind_cps_src = {
|
||||
/* SrcGObjAt HitMark */ 0,
|
||||
/* SrcGObjAt Spl */ 0,
|
||||
/* SrcGObjAt Mtrl */ 0,
|
||||
/* SrcGObjAt SPrm */ G_AT_SPRM_NO_HIT_MARK,
|
||||
/* SrcGObjAt SPrm */ dCcG_AtSPrm_NoHitMark_e,
|
||||
/* SrcGObjTg Se */ 0,
|
||||
/* SrcGObjTg HitMark */ 0,
|
||||
/* SrcGObjTg Spl */ 0,
|
||||
@ -197,7 +197,7 @@ static dCcD_SrcSph l_fan_wind_sph_src = {
|
||||
/* Flags */ 0,
|
||||
/* SrcObjAt Type */ AT_TYPE_WIND,
|
||||
/* SrcObjAt Atp */ 0,
|
||||
/* SrcObjAt SPrm */ AT_SPRM_SET | AT_SPRM_VS_ENEMY | AT_SPRM_VS_OTHER,
|
||||
/* SrcObjAt SPrm */ cCcD_AtSPrm_Set_e | cCcD_AtSPrm_VsEnemy_e | cCcD_AtSPrm_VsOther_e,
|
||||
/* SrcObjTg Type */ 0,
|
||||
/* SrcObjTg SPrm */ 0,
|
||||
/* SrcObjCo SPrm */ 0,
|
||||
|
@ -165,7 +165,7 @@ void daPy_lk_c::setNormalCutAtParam(u8 cutType) {
|
||||
radius = daPy_HIO_cut_c0::m.field_0x44;
|
||||
m35FC = daPy_HIO_cut_c0::m.field_0x48;
|
||||
}
|
||||
setAtParam(AT_TYPE_SWORD, atp, dCcG_At_Spl_UNK0, dCcD_SE_UNK1, G_AT_MARK_NORMAL_HIT, cutType, radius);
|
||||
setAtParam(AT_TYPE_SWORD, atp, dCcG_At_Spl_UNK0, dCcG_SE_UNK1, dCcG_AtHitMark_Nrm_e, cutType, radius);
|
||||
}
|
||||
|
||||
/* 80155694-8015572C .text setFinishCutAtParam__9daPy_lk_cFUc */
|
||||
@ -181,7 +181,7 @@ void daPy_lk_c::setFinishCutAtParam(u8 cutType) {
|
||||
radius = daPy_HIO_cut_c0::m.field_0x44;
|
||||
m35FC = daPy_HIO_cut_c0::m.field_0x48;
|
||||
}
|
||||
setAtParam(AT_TYPE_SWORD, atp, dCcG_At_Spl_UNK1, dCcD_SE_UNK1, G_AT_MARK_BIG_HIT, cutType, radius);
|
||||
setAtParam(AT_TYPE_SWORD, atp, dCcG_At_Spl_UNK1, dCcG_SE_UNK1, dCcG_AtHitMark_Big_e, cutType, radius);
|
||||
}
|
||||
|
||||
/* 8015572C-801557C4 .text setExtraCutAtParam__9daPy_lk_cFUc */
|
||||
@ -197,7 +197,7 @@ void daPy_lk_c::setExtraCutAtParam(u8 cutType) {
|
||||
radius = daPy_HIO_cut_c0::m.field_0x64;
|
||||
m35FC = daPy_HIO_cut_c0::m.field_0x68;
|
||||
}
|
||||
setAtParam(AT_TYPE_SWORD, atp, dCcG_At_Spl_UNK0, dCcD_SE_UNK1, G_AT_MARK_NORMAL_HIT, cutType, radius);
|
||||
setAtParam(AT_TYPE_SWORD, atp, dCcG_At_Spl_UNK0, dCcG_SE_UNK1, dCcG_AtHitMark_Nrm_e, cutType, radius);
|
||||
}
|
||||
|
||||
/* 801557C4-8015585C .text setExtraFinishCutAtParam__9daPy_lk_cFUc */
|
||||
@ -213,7 +213,7 @@ void daPy_lk_c::setExtraFinishCutAtParam(u8 cutType) {
|
||||
radius = daPy_HIO_cut_c0::m.field_0x64;
|
||||
m35FC = daPy_HIO_cut_c0::m.field_0x68;
|
||||
}
|
||||
setAtParam(AT_TYPE_SWORD, atp, dCcG_At_Spl_UNK1, dCcD_SE_UNK1, G_AT_MARK_BIG_HIT, cutType, radius);
|
||||
setAtParam(AT_TYPE_SWORD, atp, dCcG_At_Spl_UNK1, dCcG_SE_UNK1, dCcG_AtHitMark_Big_e, cutType, radius);
|
||||
}
|
||||
|
||||
/* 8015585C-80155970 .text setJumpCutAtParam__9daPy_lk_cFv */
|
||||
@ -231,13 +231,13 @@ void daPy_lk_c::setJumpCutAtParam() {
|
||||
radius = daPy_HIO_cut_c0::m.field_0x54;
|
||||
m35FC = daPy_HIO_cut_c0::m.field_0x58;
|
||||
}
|
||||
setAtParam(AT_TYPE_SWORD, atp, dCcG_At_Spl_UNK1, dCcD_SE_UNK1, G_AT_MARK_BIG_HIT, 0xA, radius);
|
||||
setAtParam(AT_TYPE_SWORD, atp, dCcG_At_Spl_UNK1, dCcG_SE_UNK1, dCcG_AtHitMark_Big_e, 0xA, radius);
|
||||
} else if (mEquipItem == dItem_SKULL_HAMMER_e) {
|
||||
setAtParam(AT_TYPE_SKULL_HAMMER, 4, dCcG_At_Spl_UNK1, dCcD_SE_UNK5, G_AT_MARK_NORMAL_HIT, 0x13, 50.0f);
|
||||
setAtParam(AT_TYPE_SKULL_HAMMER, 4, dCcG_At_Spl_UNK1, dCcG_SE_UNK5, dCcG_AtHitMark_Nrm_e, 0x13, 50.0f);
|
||||
} else if (mActorKeepEquip.getActor()) {
|
||||
setEnemyWeaponAtParam(TRUE);
|
||||
} else {
|
||||
setAtParam(AT_TYPE_MACHETE, 2, dCcG_At_Spl_UNK1, dCcD_SE_UNK1, G_AT_MARK_BIG_HIT, 0xE, 30.0f);
|
||||
setAtParam(AT_TYPE_MACHETE, 2, dCcG_At_Spl_UNK1, dCcG_SE_UNK1, dCcG_AtHitMark_Big_e, 0xE, 30.0f);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -29,11 +29,11 @@ void daPy_lk_c::setEnemyWeaponAtParam(BOOL r4) {
|
||||
u8 hitMark;
|
||||
if (r4) {
|
||||
spl = dCcG_At_Spl_UNK1;
|
||||
hitMark = G_AT_MARK_BIG_HIT;
|
||||
hitMark = dCcG_AtHitMark_Big_e;
|
||||
cutType++;
|
||||
} else {
|
||||
spl = dCcG_At_Spl_UNK0;
|
||||
hitMark = G_AT_MARK_NORMAL_HIT;
|
||||
hitMark = dCcG_AtHitMark_Nrm_e;
|
||||
}
|
||||
setAtParam(boko->getAtType(), boko->getAtPoint(), spl, boko->getSeType(), hitMark, cutType, boko->getCpsR());
|
||||
}
|
||||
|
@ -19,8 +19,8 @@ static dCcD_SrcCyl l_cyl_src = {
|
||||
/* SrcObjAt Atp */ 0,
|
||||
/* SrcObjAt SPrm */ 0,
|
||||
/* SrcObjTg Type */ AT_TYPE_ALL,
|
||||
/* SrcObjTg SPrm */ TG_SPRM_SET | TG_SPRM_IS_ENEMY,
|
||||
/* SrcObjCo SPrm */ CO_SPRM_SET | CO_SPRM_IS_UNK8 | CO_SPRM_VS_UNK2,
|
||||
/* SrcObjTg SPrm */ cCcD_TgSPrm_Set_e | cCcD_TgSPrm_IsEnemy_e,
|
||||
/* SrcObjCo SPrm */ cCcD_CoSPrm_Set_e | cCcD_CoSPrm_IsOther_e | cCcD_CoSPrm_VsEnemy_e,
|
||||
/* SrcGObjAt Se */ 0,
|
||||
/* SrcGObjAt HitMark */ 0,
|
||||
/* SrcGObjAt Spl */ 0,
|
||||
@ -30,7 +30,7 @@ static dCcD_SrcCyl l_cyl_src = {
|
||||
/* SrcGObjTg HitMark */ 0,
|
||||
/* SrcGObjTg Spl */ 0,
|
||||
/* SrcGObjTg Mtrl */ 0,
|
||||
/* SrcGObjTg SPrm */ G_TG_SPRM_NO_HIT_MARK,
|
||||
/* SrcGObjTg SPrm */ dCcG_TgSPrm_NoHitMark_e,
|
||||
/* SrcGObjCo SPrm */ 0,
|
||||
},
|
||||
// cM3dGCylS
|
||||
|
@ -34,18 +34,18 @@ const dCcD_SrcCyl daRd_c::m_cyl_src = {
|
||||
/* SrcObjAt Atp */ 0,
|
||||
/* SrcObjAt SPrm */ 0,
|
||||
/* SrcObjTg Type */ ~(AT_TYPE_WATER | AT_TYPE_UNK20000 | AT_TYPE_WIND | AT_TYPE_UNK400000),
|
||||
/* SrcObjTg SPrm */ TG_SPRM_SET | TG_SPRM_IS_OTHER,
|
||||
/* SrcObjCo SPrm */ CO_SPRM_SET | CO_SPRM_IGRP | CO_SPRM_VSGRP,
|
||||
/* SrcObjTg SPrm */ cCcD_TgSPrm_Set_e | cCcD_TgSPrm_IsOther_e,
|
||||
/* SrcObjCo SPrm */ cCcD_CoSPrm_Set_e | cCcD_CoSPrm_IGrpAll_e | cCcD_CoSPrm_VsGrpAll_e,
|
||||
/* SrcGObjAt Se */ 0,
|
||||
/* SrcGObjAt HitMark */ 0,
|
||||
/* SrcGObjAt Spl */ 0,
|
||||
/* SrcGObjAt Mtrl */ 0,
|
||||
/* SrcGObjAt SPrm */ 0,
|
||||
/* SrcGObjTg Se */ dCcD_SE_UNK23,
|
||||
/* SrcGObjTg Se */ dCcG_SE_UNK23,
|
||||
/* SrcGObjTg HitMark */ 0,
|
||||
/* SrcGObjTg Spl */ 0,
|
||||
/* SrcGObjTg Mtrl */ 0,
|
||||
/* SrcGObjTg SPrm */ G_TG_SPRM_NO_CON_HIT | G_TG_SPRM_NO_HIT_MARK,
|
||||
/* SrcGObjTg SPrm */ dCcG_TgSPrm_NoConHit_e | dCcG_TgSPrm_NoHitMark_e,
|
||||
/* SrcGObjCo SPrm */ 0,
|
||||
},
|
||||
// cM3dGCylS
|
||||
@ -656,16 +656,16 @@ bool daRd_c::checkTgHit() {
|
||||
/* 00001650-000017D0 .text setCollision__6daRd_cFv */
|
||||
void daRd_c::setCollision() {
|
||||
if (mMode == MODE_DEATH) {
|
||||
mCyl.OffCoSPrmBit(CO_SPRM_VS_UNK2);
|
||||
mCyl.OffCoSPrmBit(CO_SPRM_IS_UNK2);
|
||||
mCyl.OffTgSPrmBit(TG_SPRM_SET);
|
||||
mCyl.OffTgSPrmBit(TG_SPRM_IS_OTHER);
|
||||
mCyl.OffCoSPrmBit(cCcD_CoSPrm_VsEnemy_e);
|
||||
mCyl.OffCoSPrmBit(cCcD_CoSPrm_IsEnemy_e);
|
||||
mCyl.OffTgSPrmBit(cCcD_TgSPrm_Set_e);
|
||||
mCyl.OffTgSPrmBit(cCcD_TgSPrm_IsOther_e);
|
||||
} else if (mMode == MODE_ATTACK || mMode == MODE_CRY || dComIfGp_evmng_startCheck("DEFAULT_RD_CRY")) {
|
||||
mCyl.OffCoSPrmBit(CO_SPRM_VS_UNK2);
|
||||
mCyl.OffCoSPrmBit(CO_SPRM_IS_UNK2);
|
||||
mCyl.OffCoSPrmBit(cCcD_CoSPrm_VsEnemy_e);
|
||||
mCyl.OffCoSPrmBit(cCcD_CoSPrm_IsEnemy_e);
|
||||
} else {
|
||||
mCyl.OnCoSPrmBit(CO_SPRM_VS_UNK2);
|
||||
mCyl.OnCoSPrmBit(CO_SPRM_IS_UNK2);
|
||||
mCyl.OnCoSPrmBit(cCcD_CoSPrm_VsEnemy_e);
|
||||
mCyl.OnCoSPrmBit(cCcD_CoSPrm_IsEnemy_e);
|
||||
}
|
||||
|
||||
if (isAnm(AnmPrm_SUWARIP)) {
|
||||
|
@ -29,8 +29,8 @@ static dCcD_SrcCyl l_cyl_src = {
|
||||
/* SrcObjAt Atp */ 0,
|
||||
/* SrcObjAt SPrm */ 0,
|
||||
/* SrcObjTg Type */ AT_TYPE_ALL,
|
||||
/* SrcObjTg SPrm */ TG_SPRM_SET | TG_SPRM_IS_ENEMY,
|
||||
/* SrcObjCo SPrm */ CO_SPRM_SET | CO_SPRM_IS_UNK8 | CO_SPRM_VS_UNK2,
|
||||
/* SrcObjTg SPrm */ cCcD_TgSPrm_Set_e | cCcD_TgSPrm_IsEnemy_e,
|
||||
/* SrcObjCo SPrm */ cCcD_CoSPrm_Set_e | cCcD_CoSPrm_IsOther_e | cCcD_CoSPrm_VsEnemy_e,
|
||||
/* SrcGObjAt Se */ 0,
|
||||
/* SrcGObjAt HitMark */ 0,
|
||||
/* SrcGObjAt Spl */ 0,
|
||||
|
@ -17,7 +17,7 @@ static dCcD_SrcCyl l_cyl_src = {
|
||||
/* SrcObjAt Atp */ 0,
|
||||
/* SrcObjAt SPrm */ 0,
|
||||
/* SrcObjTg Type */ AT_TYPE_ALL,
|
||||
/* SrcObjTg SPrm */ TG_SPRM_SET | TG_SPRM_IS_OTHER,
|
||||
/* SrcObjTg SPrm */ cCcD_TgSPrm_Set_e | cCcD_TgSPrm_IsOther_e,
|
||||
/* SrcObjCo SPrm */ 0,
|
||||
/* SrcGObjAt Se */ 0,
|
||||
/* SrcGObjAt HitMark */ 0,
|
||||
|
@ -18,7 +18,7 @@ static dCcD_SrcSph l_sph_src = {
|
||||
/* SrcObjAt Atp */ 0,
|
||||
/* SrcObjAt SPrm */ 0,
|
||||
/* SrcObjTg Type */ ~(AT_TYPE_LIGHT | AT_TYPE_UNK400000 | AT_TYPE_WIND | AT_TYPE_UNK20000 | AT_TYPE_WATER), // 0xFF1DFEFF
|
||||
/* SrcObjTg SPrm */ TG_SPRM_SET | TG_SPRM_IS_OTHER,
|
||||
/* SrcObjTg SPrm */ cCcD_TgSPrm_Set_e | cCcD_TgSPrm_IsOther_e,
|
||||
/* SrcObjCo SPrm */ 0,
|
||||
/* SrcGObjAt Se */ 0,
|
||||
/* SrcGObjAt HitMark */ 0,
|
||||
@ -48,7 +48,7 @@ static dCcD_SrcCyl l_cyl_src = {
|
||||
/* SrcObjAt SPrm */ 0,
|
||||
/* SrcObjTg Type */ 0,
|
||||
/* SrcObjTg SPrm */ 0,
|
||||
/* SrcObjCo SPrm */ CO_SPRM_SET | CO_SPRM_IS_UNK4 | CO_SPRM_VSGRP,
|
||||
/* SrcObjCo SPrm */ cCcD_CoSPrm_Set_e | cCcD_CoSPrm_IsPlayer_e | cCcD_CoSPrm_VsGrpAll_e,
|
||||
/* SrcGObjAt Se */ 0,
|
||||
/* SrcGObjAt HitMark */ 0,
|
||||
/* SrcGObjAt Spl */ 0,
|
||||
|
@ -20,7 +20,7 @@ static dCcD_SrcCyl l_cyl_src = {
|
||||
/* SrcObjAt Atp */ 0,
|
||||
/* SrcObjAt SPrm */ 0,
|
||||
/* SrcObjTg Type */ AT_TYPE_ALL,
|
||||
/* SrcObjTg SPrm */ TG_SPRM_SET | TG_SPRM_IS_OTHER,
|
||||
/* SrcObjTg SPrm */ cCcD_TgSPrm_Set_e | cCcD_TgSPrm_IsOther_e,
|
||||
/* SrcObjCo SPrm */ 0,
|
||||
/* SrcGObjAt Se */ 0,
|
||||
/* SrcGObjAt HitMark */ 0,
|
||||
@ -31,7 +31,7 @@ static dCcD_SrcCyl l_cyl_src = {
|
||||
/* SrcGObjTg HitMark */ 0,
|
||||
/* SrcGObjTg Spl */ 0,
|
||||
/* SrcGObjTg Mtrl */ 0,
|
||||
/* SrcGObjTg SPrm */ G_TG_SPRM_NO_HIT_MARK,
|
||||
/* SrcGObjTg SPrm */ dCcG_TgSPrm_NoHitMark_e,
|
||||
/* SrcGObjCo SPrm */ 0,
|
||||
},
|
||||
// cM3dGCylS
|
||||
|
@ -20,7 +20,7 @@ static dCcD_SrcCyl cyl_check_src = {
|
||||
/* SrcObjAt SPrm */ 0,
|
||||
/* SrcObjTg Type */ 0,
|
||||
/* SrcObjTg SPrm */ 0,
|
||||
/* SrcObjCo SPrm */ CO_SPRM_SET | CO_SPRM_IS_UNK8 | CO_SPRM_VS_UNK2 | CO_SPRM_NO_CRR,
|
||||
/* SrcObjCo SPrm */ cCcD_CoSPrm_Set_e | cCcD_CoSPrm_IsOther_e | cCcD_CoSPrm_VsEnemy_e | cCcD_CoSPrm_NoCrr_e,
|
||||
/* SrcGObjAt Se */ 0,
|
||||
/* SrcGObjAt HitMark */ 0,
|
||||
/* SrcGObjAt Spl */ 0,
|
||||
|
@ -16,8 +16,8 @@ static dCcD_SrcSph l_sph_src = {
|
||||
/* SrcObjAt Atp */ 0,
|
||||
/* SrcObjAt SPrm */ 0,
|
||||
/* SrcObjTg Type */ AT_TYPE_ALL,
|
||||
/* SrcObjTg SPrm */ TG_SPRM_SET | TG_SPRM_IS_ENEMY,
|
||||
/* SrcObjCo SPrm */ CO_SPRM_SET | CO_SPRM_VS_UNK2 | CO_SPRM_VS_UNK8 | CO_SPRM_IS_UNK4,
|
||||
/* SrcObjTg SPrm */ cCcD_TgSPrm_Set_e | cCcD_TgSPrm_IsEnemy_e,
|
||||
/* SrcObjCo SPrm */ cCcD_CoSPrm_Set_e | cCcD_CoSPrm_VsEnemy_e | cCcD_CoSPrm_VsOther_e | cCcD_CoSPrm_IsPlayer_e,
|
||||
/* SrcGObjAt Se */ 0,
|
||||
/* SrcGObjAt HitMark */ 0,
|
||||
/* SrcGObjAt Spl */ 0,
|
||||
@ -27,7 +27,7 @@ static dCcD_SrcSph l_sph_src = {
|
||||
/* SrcGObjTg HitMark */ 0,
|
||||
/* SrcGObjTg Spl */ 0,
|
||||
/* SrcGObjTg Mtrl */ 0,
|
||||
/* SrcGObjTg SPrm */ G_TG_SPRM_NO_HIT_MARK,
|
||||
/* SrcGObjTg SPrm */ dCcG_TgSPrm_NoHitMark_e,
|
||||
/* SrcGObjCo SPrm */ 0,
|
||||
},
|
||||
// cM3dGSphS
|
||||
|
@ -22,10 +22,10 @@ static dCcD_SrcCyl l_cyl_src = {
|
||||
/* Flags */ 0,
|
||||
/* SrcObjAt Type */ AT_TYPE_UNK800,
|
||||
/* SrcObjAt Atp */ 0x1,
|
||||
/* SrcObjAt SPrm */ AT_SPRM_SET | AT_SPRM_VS_PLAYER,
|
||||
/* SrcObjAt SPrm */ cCcD_AtSPrm_Set_e | cCcD_AtSPrm_VsPlayer_e,
|
||||
/* SrcObjTg Type */ AT_TYPE_ALL,
|
||||
/* SrcObjTg SPrm */ 0,
|
||||
/* SrcObjCo SPrm */ CO_SPRM_SET | CO_SPRM_IS_UNK8 | CO_SPRM_VS_UNK2 | CO_SPRM_VS_UNK4 | CO_SPRM_VS_UNK8,
|
||||
/* SrcObjCo SPrm */ cCcD_CoSPrm_Set_e | cCcD_CoSPrm_IsOther_e | cCcD_CoSPrm_VsEnemy_e | cCcD_CoSPrm_VsPlayer_e | cCcD_CoSPrm_VsOther_e,
|
||||
/* SrcGObjAt Se */ 0,
|
||||
/* SrcGObjAt HitMark */ 0,
|
||||
/* SrcGObjAt Spl */ dCcG_At_Spl_UNK1,
|
||||
@ -35,7 +35,7 @@ static dCcD_SrcCyl l_cyl_src = {
|
||||
/* SrcGObjTg HitMark */ 0,
|
||||
/* SrcGObjTg Spl */ 0,
|
||||
/* SrcGObjTg Mtrl */ 0,
|
||||
/* SrcGObjTg SPrm */ G_TG_SPRM_NO_HIT_MARK,
|
||||
/* SrcGObjTg SPrm */ dCcG_TgSPrm_NoHitMark_e,
|
||||
/* SrcGObjCo SPrm */ 0,
|
||||
},
|
||||
// cCcD_SrcCylAttr
|
||||
|
@ -61,7 +61,7 @@ static dCcD_SrcTri l_tri_src = {
|
||||
/* SrcObjAt Atp */ 0,
|
||||
/* SrcObjAt SPrm */ 0,
|
||||
/* SrcObjTg Type */ AT_TYPE_BOMB,
|
||||
/* SrcObjTg SPrm */ G_TG_SPRM_SHIELD | G_TG_SPRM_SHIELD_FRONT_RANGE,
|
||||
/* SrcObjTg SPrm */ dCcG_TgSPrm_Shield_e | dCcG_TgSPrm_ShieldFrontRange_e,
|
||||
/* SrcObjCo SPrm */ 0,
|
||||
/* SrcGObjAt Se */ 0,
|
||||
/* SrcGObjAt HitMark */ 0,
|
||||
@ -72,7 +72,7 @@ static dCcD_SrcTri l_tri_src = {
|
||||
/* SrcGObjTg HitMark */ 0,
|
||||
/* SrcGObjTg Spl */ 0,
|
||||
/* SrcGObjTg Mtrl */ 0,
|
||||
/* SrcGObjTg SPrm */ G_TG_SPRM_NO_HIT_MARK,
|
||||
/* SrcGObjTg SPrm */ dCcG_TgSPrm_NoHitMark_e,
|
||||
/* SrcGObjCo SPrm */ 0,
|
||||
},
|
||||
// cM3dGTriS
|
||||
|
@ -21,7 +21,7 @@ namespace daWindTag {
|
||||
/* Flags */ 0,
|
||||
/* SrcObjAt Type */ AT_TYPE_WIND,
|
||||
/* SrcObjAt Atp */ 0,
|
||||
/* SrcObjAt SPrm */ AT_SPRM_SET | AT_SPRM_VS_PLAYER | AT_SPRM_VS_OTHER,
|
||||
/* SrcObjAt SPrm */ cCcD_AtSPrm_Set_e | cCcD_AtSPrm_VsPlayer_e | cCcD_AtSPrm_VsOther_e,
|
||||
/* SrcObjTg Type */ 0,
|
||||
/* SrcObjTg SPrm */ 0,
|
||||
/* SrcObjCo SPrm */ 0,
|
||||
@ -29,12 +29,12 @@ namespace daWindTag {
|
||||
/* SrcGObjAt HitMark */ 0,
|
||||
/* SrcGObjAt Spl */ 0,
|
||||
/* SrcGObjAt Mtrl */ 0,
|
||||
/* SrcGObjAt SPrm */ G_AT_SPRM_NO_HIT_MARK,
|
||||
/* SrcGObjAt SPrm */ dCcG_AtSPrm_NoHitMark_e,
|
||||
/* SrcGObjTg Se */ 0,
|
||||
/* SrcGObjTg HitMark */ 0,
|
||||
/* SrcGObjTg Spl */ 0,
|
||||
/* SrcGObjTg Mtrl */ 0,
|
||||
/* SrcGObjTg SPrm */ G_TG_SPRM_NO_HIT_MARK,
|
||||
/* SrcGObjTg SPrm */ dCcG_TgSPrm_NoHitMark_e,
|
||||
/* SrcGObjCo SPrm */ 0,
|
||||
},
|
||||
// cM3dGCpsS
|
||||
|
@ -41,9 +41,9 @@ void daBomb_c::setBombFire_ON() {
|
||||
void daBomb_c::setBombNoHit() {
|
||||
_prm_chk_version();
|
||||
|
||||
mSph.OffTgSPrmBit(TG_SPRM_SET);
|
||||
mSph.OffCoSPrmBit(CO_SPRM_SET);
|
||||
mSph.OffAtSPrmBit(AT_SPRM_SET);
|
||||
mSph.OffTgSPrmBit(cCcD_TgSPrm_Set_e);
|
||||
mSph.OffCoSPrmBit(cCcD_CoSPrm_Set_e);
|
||||
mSph.OffAtSPrmBit(cCcD_AtSPrm_Set_e);
|
||||
mSph.ClrAtSet();
|
||||
|
||||
field_0x6F3 = true;
|
||||
@ -53,14 +53,14 @@ void daBomb_c::setBombNoHit() {
|
||||
void daBomb_c::setBombOffCoSet() {
|
||||
_prm_chk_version();
|
||||
|
||||
mSph.OffCoSPrmBit(CO_SPRM_SET);
|
||||
mSph.OffCoSPrmBit(cCcD_CoSPrm_Set_e);
|
||||
}
|
||||
|
||||
/* 80068104-8006813C .text setBombOnCoSet__8daBomb_cFv */
|
||||
void daBomb_c::setBombOnCoSet() {
|
||||
_prm_chk_version();
|
||||
|
||||
mSph.OnCoSPrmBit(CO_SPRM_SET);
|
||||
mSph.OnCoSPrmBit(cCcD_CoSPrm_Set_e);
|
||||
}
|
||||
|
||||
/* 8006813C-800681CC .text setBombNoEff__8daBomb_cFv */
|
||||
@ -178,9 +178,9 @@ void daBomb2::Act_c::set_eat() {
|
||||
|
||||
/* 800684AC-800684E0 .text set_no_hit__Q27daBomb25Act_cFv */
|
||||
void daBomb2::Act_c::set_no_hit() {
|
||||
mSph.OffTgSPrmBit(TG_SPRM_SET);
|
||||
mSph.OffCoSPrmBit(CO_SPRM_SET);
|
||||
mSph.OffAtSPrmBit(AT_SPRM_SET);
|
||||
mSph.OffTgSPrmBit(cCcD_TgSPrm_Set_e);
|
||||
mSph.OffCoSPrmBit(cCcD_CoSPrm_Set_e);
|
||||
mSph.OffAtSPrmBit(cCcD_AtSPrm_Set_e);
|
||||
mSph.ClrAtSet();
|
||||
}
|
||||
|
||||
|
@ -37,7 +37,7 @@ dCcD_GStts::dCcD_GStts() {
|
||||
mAtOldApid = fpcM_ERROR_PROCESS_ID_e;
|
||||
mTgApid = fpcM_ERROR_PROCESS_ID_e;
|
||||
mTgOldApid = fpcM_ERROR_PROCESS_ID_e;
|
||||
field_0x1C = 0;
|
||||
mFlag = 0;
|
||||
}
|
||||
|
||||
/* 800AB384-800AB3BC .text Ct__10dCcD_GSttsFv */
|
||||
@ -50,7 +50,7 @@ void dCcD_GStts::Ct() {
|
||||
mAtOldApid = fpcM_ERROR_PROCESS_ID_e;
|
||||
mTgApid = fpcM_ERROR_PROCESS_ID_e;
|
||||
mTgOldApid = fpcM_ERROR_PROCESS_ID_e;
|
||||
field_0x1C = 0;
|
||||
mFlag = 0;
|
||||
}
|
||||
|
||||
/* 800AB3BC-800AB3DC .text Move__10dCcD_GSttsFv */
|
||||
|
@ -74,25 +74,25 @@ void dCcS::CalcTgPlusDmg(cCcD_Obj* obj1, cCcD_Obj* obj2, cCcD_Stts* stts1, cCcD_
|
||||
}
|
||||
|
||||
/* 800AD86C-800AD8EC .text ChkAtTgHitAfterCross__4dCcSFbbPC12cCcD_GObjInfPC12cCcD_GObjInfP9cCcD_SttsP9cCcD_SttsP10cCcD_GSttsP10cCcD_GStts */
|
||||
bool dCcS::ChkAtTgHitAfterCross(bool r4, bool r5, const cCcD_GObjInf* inf1_, const cCcD_GObjInf* inf2_,
|
||||
cCcD_Stts* stts1_, cCcD_Stts* stts2_, cCcD_GStts* gstts1_, cCcD_GStts* gstts2_) {
|
||||
dCcD_GObjInf* inf1 = (dCcD_GObjInf*)inf1_;
|
||||
dCcD_GObjInf* inf2 = (dCcD_GObjInf*)inf2_;
|
||||
dCcD_Stts* stts1 = (dCcD_Stts*)stts1_;
|
||||
dCcD_Stts* stts2 = (dCcD_Stts*)stts2_;
|
||||
dCcD_GStts* gstts1 = (dCcD_GStts*)gstts1_;
|
||||
dCcD_GStts* gstts2 = (dCcD_GStts*)gstts2_;
|
||||
fpc_ProcID r11 = stts1->GetApid();
|
||||
fpc_ProcID r3 = stts2->GetApid();
|
||||
if (r4) {
|
||||
gstts1->SetAtApid(r3);
|
||||
if (inf1->ChkAtNoConHit() && gstts1->GetAtOldApid() == stts2->GetApid()) {
|
||||
bool dCcS::ChkAtTgHitAfterCross(bool i_setAt, bool i_setTg, const cCcD_GObjInf* i_atInf, const cCcD_GObjInf* i_tgInf,
|
||||
cCcD_Stts* i_atStts, cCcD_Stts* i_tgStts, cCcD_GStts* i_atGStts, cCcD_GStts* i_tgGStts) {
|
||||
dCcD_GObjInf* atInf = (dCcD_GObjInf*)i_atInf;
|
||||
dCcD_GObjInf* tgInf = (dCcD_GObjInf*)i_tgInf;
|
||||
dCcD_Stts* atStts = (dCcD_Stts*)i_atStts;
|
||||
dCcD_Stts* stts2 = (dCcD_Stts*)i_tgStts;
|
||||
dCcD_GStts* atGStts = (dCcD_GStts*)i_atGStts;
|
||||
dCcD_GStts* tgGStts = (dCcD_GStts*)i_tgGStts;
|
||||
fpc_ProcID atApid = atStts->GetApid();
|
||||
fpc_ProcID tgApid = stts2->GetApid();
|
||||
if (i_setAt) {
|
||||
atGStts->SetAtApid(tgApid);
|
||||
if (atInf->ChkAtNoConHit() && atGStts->GetAtOldApid() == stts2->GetApid()) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
if (r5) {
|
||||
gstts2->SetTgApid(r11);
|
||||
if (inf2->ChkTgNoConHit() && !inf1->ChkAtStopNoConHit() && gstts2->GetTgOldApid() == stts1->GetApid()) {
|
||||
if (i_setTg) {
|
||||
tgGStts->SetTgApid(atApid);
|
||||
if (tgInf->ChkTgNoConHit() && !atInf->ChkAtStopNoConHit() && tgGStts->GetTgOldApid() == atStts->GetApid()) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@ -299,27 +299,27 @@ void dCcS::CalcParticleAngle(dCcD_GObjInf* i_atObjInf, cCcD_Stts* i_atStts, cCcD
|
||||
}
|
||||
|
||||
/* 800ADFF8-800AE308 .text ProcAtTgHitmark__4dCcSFbbP8cCcD_ObjP8cCcD_ObjP12dCcD_GObjInfP12dCcD_GObjInfP9cCcD_SttsP9cCcD_SttsP10dCcD_GSttsP10dCcD_GSttsP4cXyz */
|
||||
void dCcS::ProcAtTgHitmark(bool, bool, cCcD_Obj* r6, cCcD_Obj* r7, dCcD_GObjInf* atInf, dCcD_GObjInf* tgInf,
|
||||
cCcD_Stts* r10, cCcD_Stts* r30, dCcD_GStts*, dCcD_GStts* r4, cXyz* pos)
|
||||
void dCcS::ProcAtTgHitmark(bool, bool, cCcD_Obj* atObj, cCcD_Obj* tgObj, dCcD_GObjInf* atInf, dCcD_GObjInf* tgInf,
|
||||
cCcD_Stts* atStts, cCcD_Stts* tgStts, dCcD_GStts* atGStts, dCcD_GStts* tgGStts, cXyz* pos)
|
||||
{
|
||||
if (atInf->ChkAtNoHitMark()) { return; }
|
||||
if (tgInf->ChkTgNoHitMark()) { return; }
|
||||
if (tgInf->GetTgHitMark() == 0xFF) { return; }
|
||||
if (!r4->ChkNoneActorPerfTblId()) { return; }
|
||||
if (!tgGStts->ChkNoneActorPerfTblId()) { return; }
|
||||
|
||||
if (!ChkShield(r6, r7, atInf, tgInf)) {
|
||||
if (atInf->GetAtHitMark() == 0) { return; }
|
||||
if (atInf->GetAtHitMark() == 1 && tgInf->GetTgHitMark() == 1) {
|
||||
if (!ChkShield(atObj, tgObj, atInf, tgInf)) {
|
||||
if (atInf->GetAtHitMark() == dCcG_AtHitMark_None_e) { return; }
|
||||
if (atInf->GetAtHitMark() == dCcG_AtHitMark_Unk1_e && tgInf->GetTgHitMark() == dCcG_TgHitMark_Unk1_e) {
|
||||
dComIfGp_particle_set(dPa_name::ID_COMMON_STARS_BLOW, pos);
|
||||
} else {
|
||||
csXyz angle;
|
||||
CalcParticleAngle(atInf, r10, r30, &angle);
|
||||
if (atInf->GetAtHitMark() == 0xF) {
|
||||
CalcParticleAngle(atInf, atStts, tgStts, &angle);
|
||||
if (atInf->GetAtHitMark() == dCcG_AtHitMark_Big_e) {
|
||||
dComIfGp_particle_set(0x10, pos);
|
||||
cXyz scale;
|
||||
scale.x = scale.y = scale.z = 2.0f;
|
||||
dComIfGp_particle_set(dPa_name::ID_COMMON_NORMAL_HIT, pos, &angle, &scale);
|
||||
} else if (atInf->GetAtHitMark() == 1) {
|
||||
} else if (atInf->GetAtHitMark() == dCcG_AtHitMark_Unk1_e) {
|
||||
dComIfGp_particle_set(dPa_name::ID_COMMON_NORMAL_HIT, pos, &angle);
|
||||
} else {
|
||||
dComIfGp_particle_set(atInf->GetAtHitMark(), pos, &angle);
|
||||
@ -330,38 +330,40 @@ void dCcS::ProcAtTgHitmark(bool, bool, cCcD_Obj* r6, cCcD_Obj* r7, dCcD_GObjInf*
|
||||
if (tgInf->GetTgHitMark() == 0) { return; }
|
||||
dKy_SordFlush_set(*pos, 0);
|
||||
csXyz angle;
|
||||
CalcParticleAngle(atInf, r10, r30, &angle);
|
||||
CalcParticleAngle(atInf, atStts, tgStts, &angle);
|
||||
dComIfGp_particle_set(tgInf->GetTgHitMark(), pos, &angle);
|
||||
}
|
||||
}
|
||||
|
||||
/* 800AE308-800AE5AC .text SetAtTgGObjInf__4dCcSFbbP8cCcD_ObjP8cCcD_ObjP12cCcD_GObjInfP12cCcD_GObjInfP9cCcD_SttsP9cCcD_SttsP10cCcD_GSttsP10cCcD_GSttsP4cXyz */
|
||||
void dCcS::SetAtTgGObjInf(bool i_setAt, bool i_setTg, cCcD_Obj* param_2, cCcD_Obj* param_3,
|
||||
cCcD_GObjInf* i_atObjInf, cCcD_GObjInf* i_tgObjInf, cCcD_Stts* param_6,
|
||||
cCcD_Stts* param_7, cCcD_GStts* param_8, cCcD_GStts* param_9,
|
||||
cXyz* i_hitPos) {
|
||||
void dCcS::SetAtTgGObjInf(bool i_setAt, bool i_setTg,
|
||||
cCcD_Obj* i_atObj, cCcD_Obj* i_tgObj,
|
||||
cCcD_GObjInf* i_atObjInf, cCcD_GObjInf* i_tgObjInf,
|
||||
cCcD_Stts* i_atStts, cCcD_Stts* i_tgStts,
|
||||
cCcD_GStts* i_atGStts, cCcD_GStts* i_tgGStts,
|
||||
cXyz* i_hitPos) {
|
||||
dCcD_GObjInf* atObjInf = (dCcD_GObjInf*)i_atObjInf;
|
||||
dCcD_GObjInf* tgObjInf = (dCcD_GObjInf*)i_tgObjInf;
|
||||
dCcD_GStts* stts1 = (dCcD_GStts*)param_8;
|
||||
dCcD_GStts* stts2 = (dCcD_GStts*)param_9;
|
||||
dCcD_GStts* atGStts = (dCcD_GStts*)i_atGStts;
|
||||
dCcD_GStts* tgGStts = (dCcD_GStts*)i_tgGStts;
|
||||
|
||||
bool chk_shield = ChkShield(param_2, param_3, atObjInf, tgObjInf);
|
||||
bool chk_shield = ChkShield(i_atObj, i_tgObj, atObjInf, tgObjInf);
|
||||
|
||||
if (i_setAt) {
|
||||
atObjInf->SetAtHitPos(*i_hitPos);
|
||||
atObjInf->SetAtRVec(*tgObjInf->GetTgVecP());
|
||||
|
||||
if (stts1 != NULL && stts1->GetTgSpl() == 0) {
|
||||
stts1->SetTgSpl(tgObjInf->GetTgSpl());
|
||||
if (atGStts != NULL && atGStts->GetTgSpl() == 0) {
|
||||
atGStts->SetTgSpl(tgObjInf->GetTgSpl());
|
||||
}
|
||||
|
||||
atObjInf->SetAtHitApid(param_7->GetApid());
|
||||
atObjInf->SetAtHitApid(i_tgStts->GetApid());
|
||||
|
||||
if (chk_shield) {
|
||||
atObjInf->OnAtShieldHit();
|
||||
}
|
||||
|
||||
if (stts2->ChkNoActor()) {
|
||||
if (tgGStts->ChkNoActor()) {
|
||||
atObjInf->OnAtHitNoActor();
|
||||
}
|
||||
}
|
||||
@ -370,17 +372,17 @@ void dCcS::SetAtTgGObjInf(bool i_setAt, bool i_setTg, cCcD_Obj* param_2, cCcD_Ob
|
||||
tgObjInf->SetTgHitPos(*i_hitPos);
|
||||
tgObjInf->SetTgRVec(*atObjInf->GetAtVecP());
|
||||
|
||||
if (stts2 != NULL && stts1->GetAtSpl() == 0) {
|
||||
stts2->SetAtSpl(atObjInf->GetAtSpl());
|
||||
if (tgGStts != NULL && atGStts->GetAtSpl() == 0) {
|
||||
tgGStts->SetAtSpl(atObjInf->GetAtSpl());
|
||||
}
|
||||
|
||||
tgObjInf->SetTgHitApid(param_6->GetApid());
|
||||
tgObjInf->SetTgHitApid(i_atStts->GetApid());
|
||||
|
||||
if (chk_shield) {
|
||||
tgObjInf->OnTgShieldHit();
|
||||
}
|
||||
|
||||
if (stts1->ChkNoActor()) {
|
||||
if (atGStts->ChkNoActor()) {
|
||||
tgObjInf->OnTgHitNoActor();
|
||||
}
|
||||
}
|
||||
@ -409,8 +411,8 @@ void dCcS::SetAtTgGObjInf(bool i_setAt, bool i_setTg, cCcD_Obj* param_2, cCcD_Ob
|
||||
atObjInf->SetAtEffCounterTimer();
|
||||
tgObjInf->SetTgEffCounterTimer();
|
||||
|
||||
ProcAtTgHitmark(i_setAt, i_setTg, param_2, param_3, atObjInf, tgObjInf, param_6, param_7,
|
||||
stts1, stts2, i_hitPos);
|
||||
ProcAtTgHitmark(i_setAt, i_setTg, i_atObj, i_tgObj, atObjInf, tgObjInf, i_atStts, i_tgStts,
|
||||
atGStts, tgGStts, i_hitPos);
|
||||
}
|
||||
}
|
||||
|
||||
@ -482,4 +484,3 @@ bool dCcS::ChkNoHitGCo(cCcD_Obj* obj1, cCcD_Obj* obj2) {
|
||||
bool cCcS::ChkNoHitGAtTg(const cCcD_GObjInf*, const cCcD_GObjInf*, cCcD_GStts*, cCcD_GStts*) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -43,13 +43,13 @@ u32 at_se_get(cCcD_Obj* obj) {
|
||||
dCcD_GObjInf* gObjInf = dCcD_GetGObjInf(obj);
|
||||
if (gObjInf->ChkAtType(AT_TYPE_SKULL_HAMMER | AT_TYPE_STALFOS_MACE)) {
|
||||
return JA_SE_LK_HAMMER_HIT;
|
||||
} else if (gObjInf->GetAtSe() == dCcD_SE_UNK4) {
|
||||
} else if (gObjInf->GetAtSe() == dCcG_SE_UNK4) {
|
||||
return JA_SE_LK_W_WEP_HIT;
|
||||
} else if (gObjInf->GetAtSe() == dCcD_SE_UNK5) {
|
||||
} else if (gObjInf->GetAtSe() == dCcG_SE_UNK5) {
|
||||
return JA_SE_LK_MS_WEP_HIT;
|
||||
} else if (gObjInf->GetAtSe() == dCcD_SE_ARROW) {
|
||||
} else if (gObjInf->GetAtSe() == dCcG_SE_ARROW) {
|
||||
return JA_SE_LK_ARROW_HIT;
|
||||
} else if (gObjInf->GetAtSe() == dCcD_SE_HOOKSHOT) {
|
||||
} else if (gObjInf->GetAtSe() == dCcG_SE_HOOKSHOT) {
|
||||
return JA_SE_LK_HS_SPIKE;
|
||||
} else {
|
||||
return JA_SE_LK_SW_HIT_S;
|
||||
@ -61,13 +61,13 @@ u32 at_se_getC(cCcD_Obj* obj) {
|
||||
dCcD_GObjInf* gObjInf = dCcD_GetGObjInf(obj);
|
||||
if (gObjInf->ChkAtType(AT_TYPE_SKULL_HAMMER | AT_TYPE_STALFOS_MACE)) {
|
||||
return JA_SE_LK_HAMMER_HIT;
|
||||
} else if (gObjInf->GetAtSe() == dCcD_SE_UNK4) {
|
||||
} else if (gObjInf->GetAtSe() == dCcG_SE_UNK4) {
|
||||
return JA_SE_LK_W_WEP_CRT_HIT;
|
||||
} else if (gObjInf->GetAtSe() == dCcD_SE_UNK5) {
|
||||
} else if (gObjInf->GetAtSe() == dCcG_SE_UNK5) {
|
||||
return JA_SE_LK_MS_WEP_CRT_HIT;
|
||||
} else if (gObjInf->GetAtSe() == dCcD_SE_ARROW) {
|
||||
} else if (gObjInf->GetAtSe() == dCcG_SE_ARROW) {
|
||||
return JA_SE_LK_ARROW_HIT;
|
||||
} else if (gObjInf->GetAtSe() == dCcD_SE_HOOKSHOT) {
|
||||
} else if (gObjInf->GetAtSe() == dCcG_SE_HOOKSHOT) {
|
||||
return JA_SE_LK_HS_SPIKE;
|
||||
} else {
|
||||
return JA_SE_LK_SW_CRT_HIT;
|
||||
|
@ -6,6 +6,7 @@
|
||||
#include "d/d_kankyo_rain.h"
|
||||
#include "d/d_bg_s_gnd_chk.h"
|
||||
#include "d/d_bg_s_roof_chk.h"
|
||||
#include "d/d_cc_d.h"
|
||||
#include "d/d_com_inf_game.h"
|
||||
#include "d/d_kankyo.h"
|
||||
#include "d/d_kankyo_wether.h"
|
||||
|
@ -949,8 +949,8 @@ dCcD_SrcCyl dNpc_cyl_src = {
|
||||
/* SrcObjAt Atp */ 0,
|
||||
/* SrcObjAt SPrm */ 0,
|
||||
/* SrcObjTg Type */ ~(AT_TYPE_BOOMERANG),
|
||||
/* SrcObjTg SPrm */ TG_SPRM_SET | TG_SPRM_IS_ENEMY,
|
||||
/* SrcObjCo SPrm */ CO_SPRM_SET | CO_SPRM_IS_UNK4 | CO_SPRM_VSGRP,
|
||||
/* SrcObjTg SPrm */ cCcD_TgSPrm_Set_e | cCcD_TgSPrm_IsEnemy_e,
|
||||
/* SrcObjCo SPrm */ cCcD_CoSPrm_Set_e | cCcD_CoSPrm_IsPlayer_e | cCcD_CoSPrm_VsGrpAll_e,
|
||||
/* SrcGObjAt Se */ 0,
|
||||
/* SrcGObjAt HitMark */ 0,
|
||||
/* SrcGObjAt Spl */ 0,
|
||||
@ -960,7 +960,7 @@ dCcD_SrcCyl dNpc_cyl_src = {
|
||||
/* SrcGObjTg HitMark */ 0,
|
||||
/* SrcGObjTg Spl */ 0,
|
||||
/* SrcGObjTg Mtrl */ 0,
|
||||
/* SrcGObjTg SPrm */ G_TG_SPRM_NO_HIT_MARK,
|
||||
/* SrcGObjTg SPrm */ dCcG_TgSPrm_NoHitMark_e,
|
||||
/* SrcGObjCo SPrm */ 0,
|
||||
},
|
||||
// cM3dGCylS
|
||||
|
Loading…
Reference in New Issue
Block a user