mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-05-26 07:18:47 -04:00
d_a_e_dn work (#2899)
* d_a_e_dn work * PR cleanup and more documentation
This commit is contained in:
+1609
-1522
File diff suppressed because it is too large
Load Diff
@@ -5507,8 +5507,8 @@ static void* s_wb_sub2(void* i_actor, void* i_data) {
|
||||
}
|
||||
|
||||
static void* s_lv9dn_sub(void* i_actor, void* i_data) {
|
||||
if (fopAcM_IsActor(i_actor) && fopAcM_GetName(i_actor) == PROC_E_DN && ((e_dn_class*)i_actor)->field_0x10d8 != 0) {
|
||||
((e_dn_class*)i_actor)->field_0x10d8 = 0;
|
||||
if (fopAcM_IsActor(i_actor) && fopAcM_GetName(i_actor) == PROC_E_DN && ((e_dn_class*)i_actor)->status != 0) {
|
||||
((e_dn_class*)i_actor)->status = 0;
|
||||
return i_actor;
|
||||
}
|
||||
|
||||
@@ -5516,9 +5516,9 @@ static void* s_lv9dn_sub(void* i_actor, void* i_data) {
|
||||
}
|
||||
|
||||
static void* s_lv9dn_sub2(void* i_actor, void* i_data) {
|
||||
if (fopAcM_IsActor(i_actor) && fopAcM_GetName(i_actor) == PROC_E_DN && ((e_dn_class*)i_actor)->field_0x10d8 == 0) {
|
||||
((e_dn_class*)i_actor)->field_0x10d8 = 1;
|
||||
((e_dn_class*)i_actor)->mMode = 0;
|
||||
if (fopAcM_IsActor(i_actor) && fopAcM_GetName(i_actor) == PROC_E_DN && ((e_dn_class*)i_actor)->status == 0) {
|
||||
((e_dn_class*)i_actor)->status = 1;
|
||||
((e_dn_class*)i_actor)->mode = 0;
|
||||
}
|
||||
|
||||
return NULL;
|
||||
@@ -5526,7 +5526,7 @@ static void* s_lv9dn_sub2(void* i_actor, void* i_data) {
|
||||
|
||||
static void* s_lv9dn_sub3(void* i_actor, void* i_data) {
|
||||
if (fopAcM_IsActor(i_actor) && fopAcM_GetName(i_actor) == PROC_E_DN) {
|
||||
((e_dn_class*)i_actor)->mMode = 2;
|
||||
((e_dn_class*)i_actor)->mode = 2;
|
||||
}
|
||||
|
||||
return NULL;
|
||||
|
||||
@@ -279,7 +279,7 @@ static void chain_control_01(obj_key_class* i_this) {
|
||||
J3DModel* parent_model;
|
||||
if (fopAcM_GetName(pparent) == PROC_E_DN) {
|
||||
e_dn_class* dn = (e_dn_class*)pparent;
|
||||
parent_model = dn->mpModelMorf->getModel();
|
||||
parent_model = dn->anm_p->getModel();
|
||||
|
||||
MTXCopy(parent_model->getAnmMtx(1), *calc_mtx);
|
||||
spC4.set(5.0f + KREG_F(0), 30.0f + KREG_F(1), 20.0f + KREG_F(2));
|
||||
|
||||
Reference in New Issue
Block a user