mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-06-24 23:53:12 -04:00
Debug and various d_ev_camera fixes (#2448)
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
*/
|
||||
|
||||
#include "d/actor/d_a_npc_seic.h"
|
||||
#include "SSystem/SComponent/c_counter.h"
|
||||
|
||||
UNK_REL_DATA
|
||||
|
||||
@@ -74,7 +75,7 @@ daNpc_seiC_c::~daNpc_seiC_c() {
|
||||
|
||||
#ifdef DEBUG
|
||||
if (field_0xe40 != NULL) {
|
||||
field_0xe40.removeHIO();
|
||||
field_0xe40->removeHIO();
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -150,11 +151,11 @@ int daNpc_seiC_c::create() {
|
||||
OS_REPORT("\n");
|
||||
fopAcM_SetMtx(this, mpMorf[0]->getModel()->getBaseTRMtx());
|
||||
mSound.init(¤t.pos, &eyePos, 3, 1);
|
||||
|
||||
#ifdef DEBUG
|
||||
field_0xe40->field_0x8 = &l_HIO;
|
||||
|
||||
#ifdef DEBUG
|
||||
//field_0xe40->field_0x8 = &l_HIO;
|
||||
field_0xe40->entryHIO("光の精霊c"); // Spirit of Light c
|
||||
#endif
|
||||
#endif
|
||||
|
||||
mAcch.Set(fopAcM_GetPosition_p(this), fopAcM_GetOldPosition_p(this), this, 1, &mAcchCir,
|
||||
fopAcM_GetSpeed_p(this), fopAcM_GetAngle_p(this), fopAcM_GetShapeAngle_p(this));
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
*/
|
||||
|
||||
#include "d/actor/d_a_npc_seid.h"
|
||||
#include "SSystem/SComponent/c_counter.h"
|
||||
|
||||
UNK_REL_DATA
|
||||
|
||||
@@ -74,7 +75,7 @@ daNpc_seiD_c::~daNpc_seiD_c() {
|
||||
|
||||
#ifdef DEBUG
|
||||
if (field_0xe40 != NULL) {
|
||||
field_0xe40.removeHIO();
|
||||
field_0xe40->removeHIO();
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -152,10 +153,10 @@ int daNpc_seiD_c::create() {
|
||||
fopAcM_SetMtx(this, mpMorf[0]->getModel()->getBaseTRMtx());
|
||||
mSound.init(¤t.pos, &eyePos, 3, 1);
|
||||
|
||||
#ifdef DEBUG
|
||||
field_0xe40->field_0x8 = &l_HIO;
|
||||
#ifdef DEBUG
|
||||
//field_0xe40->field_0x8 = &l_HIO;
|
||||
field_0xe40->entryHIO("光の精霊d"); // Spirit of Light d
|
||||
#endif
|
||||
#endif
|
||||
|
||||
mAcch.Set(fopAcM_GetPosition_p(this), fopAcM_GetOldPosition_p(this), this, 1, &mAcchCir,
|
||||
fopAcM_GetSpeed_p(this), fopAcM_GetAngle_p(this), fopAcM_GetShapeAngle_p(this));
|
||||
|
||||
@@ -24,6 +24,10 @@ daLv6SzGate_HIO_c::daLv6SzGate_HIO_c() {
|
||||
mShockStrength = 3;
|
||||
}
|
||||
|
||||
void daLv6SzGate_HIO_c::genMessage(JORMContext* arg) {
|
||||
// NONMATCHING
|
||||
}
|
||||
|
||||
/* 80C75900-80C75A54 000180 0154+00 2/2 0/0 0/0 .text setBaseMtx__13daLv6SzGate_cFv */
|
||||
void daLv6SzGate_c::setBaseMtx() {
|
||||
mDoMtx_stack_c::transS(current.pos.x, current.pos.y, current.pos.z);
|
||||
|
||||
@@ -805,7 +805,7 @@ static int daObjYOUSEI_Execute(daObjYOUSEI_c* i_this) {
|
||||
int daObjYOUSEI_c::create() {
|
||||
fopAcM_SetupActor(this, daObjYOUSEI_c);
|
||||
|
||||
OS_REPORT("YOUSEI PARAM %x\n", fopAcM_GetParam());
|
||||
OS_REPORT("YOUSEI PARAM %x\n", fopAcM_GetParam(this));
|
||||
if (!fopAcM_entrySolidHeap(this, useHeapInit, 0x1100)) {
|
||||
return cPhs_ERROR_e;
|
||||
}
|
||||
|
||||
+626
-682
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user