mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-06-18 06:15:20 -04:00
d_s_room / d_s_name / d_a_title debug work (#3123)
* d_s_room / d_s_name debug work * camera_class rtti fix * d_a_title debug / handle shield rel changes * fix shield build * fix regressions
This commit is contained in:
@@ -220,8 +220,8 @@ static void e_po_opening(e_po_class* i_this) {
|
||||
fopEn_enemy_c* a_this = (fopEn_enemy_c*)i_this;
|
||||
|
||||
fopAc_ac_c* player_p = dComIfGp_getPlayer(0);
|
||||
camera_class* camera1 =
|
||||
static_cast<camera_class*>(dComIfGp_getCamera(dComIfGp_getPlayerCameraID(0)));
|
||||
camera_process_class* camera1 =
|
||||
static_cast<camera_process_class*>(dComIfGp_getCamera(dComIfGp_getPlayerCameraID(0)));
|
||||
camera_class* camera2 = static_cast<camera_class*>(dComIfGp_getCamera(0));
|
||||
cXyz temp_vec;
|
||||
|
||||
@@ -839,8 +839,8 @@ static void e_po_dead(e_po_class* i_this) {
|
||||
fopEn_enemy_c* a_this = (fopEn_enemy_c*)i_this;
|
||||
|
||||
daPy_py_c* player_p = (daPy_py_c*)dComIfGp_getPlayer(0);
|
||||
camera_class* camera_player =
|
||||
static_cast<camera_class*>(dComIfGp_getCamera(dComIfGp_getPlayerCameraID(0)));
|
||||
camera_process_class* camera_player =
|
||||
static_cast<camera_process_class*>(dComIfGp_getCamera(dComIfGp_getPlayerCameraID(0)));
|
||||
camera_class* camera = static_cast<camera_class*>(dComIfGp_getCamera(0));
|
||||
dBgS_LinChk lin_chk;
|
||||
cXyz scale(1.0f, 1.0f, 1.0f);
|
||||
@@ -1326,8 +1326,8 @@ static void e_po_limbering(e_po_class* i_this) {
|
||||
|
||||
fopEn_enemy_c* a_this = (fopEn_enemy_c*)i_this;
|
||||
fopAc_ac_c* player_p = dComIfGp_getPlayer(0);
|
||||
camera_class* camera_player =
|
||||
static_cast<camera_class*>(dComIfGp_getCamera(dComIfGp_getPlayerCameraID(0)));
|
||||
camera_process_class* camera_player =
|
||||
static_cast<camera_process_class*>(dComIfGp_getCamera(dComIfGp_getPlayerCameraID(0)));
|
||||
camera_class* camera = static_cast<camera_class*>(dComIfGp_getCamera(0));
|
||||
|
||||
switch (i_this->mType) {
|
||||
@@ -1703,8 +1703,8 @@ static void e_po_holl_demo(e_po_class* i_this) {
|
||||
|
||||
fopEn_enemy_c* a_this = (fopEn_enemy_c*)i_this;
|
||||
daPy_py_c* player_p = (daPy_py_c*)dComIfGp_getPlayer(0);
|
||||
camera_class* camera_player = dComIfGp_getCamera(dComIfGp_getPlayerCameraID(0));
|
||||
camera_class* camera = dComIfGp_getCamera(0);
|
||||
camera_process_class* camera_player = dComIfGp_getCamera(dComIfGp_getPlayerCameraID(0));
|
||||
camera_process_class* camera = dComIfGp_getCamera(0);
|
||||
|
||||
cXyz scale(1.0f, 1.0f, 1.0f);
|
||||
u32 param = 7;
|
||||
@@ -2741,7 +2741,7 @@ static int daE_PO_Execute(e_po_class* i_this) {
|
||||
if (i_this->field_0x800) {
|
||||
MTXTrans(mDoMtx_stack_c::now, i_this->field_0x794.x, i_this->field_0x794.y,
|
||||
i_this->field_0x794.z);
|
||||
local_4c = dComIfGp_getCamera(0)->lookat.eye - i_this->field_0x794;
|
||||
local_4c = dComIfGp_getCamera(0)->view.lookat.eye - i_this->field_0x794;
|
||||
mDoMtx_stack_c::YrotM((int)local_4c.atan2sX_Z());
|
||||
mDoMtx_stack_c::XrotM((int)local_4c.atan2sY_XZ());
|
||||
mDoMtx_stack_c::scaleM(l_HIO.mModelSize, l_HIO.mModelSize, l_HIO.mModelSize);
|
||||
|
||||
Reference in New Issue
Block a user