mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-07-29 07:21:54 -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:
@@ -493,7 +493,7 @@ static int fopAc_Create(void* i_this) {
|
||||
dKy_tevstr_init(&actor->tevStr, actor->home.roomNo, -1);
|
||||
|
||||
dStage_FileList_dt_c* sp14 = NULL;
|
||||
camera_class* sp10 = dComIfGp_getCamera(0);
|
||||
camera_process_class* sp10 = dComIfGp_getCamera(0);
|
||||
|
||||
if (dComIfGp_roomControl_getStayNo() >= 0) {
|
||||
sp14 = dComIfGp_roomControl_getStatusRoomDt(dComIfGp_roomControl_getStayNo())->getFileListInfo();
|
||||
|
||||
@@ -2162,7 +2162,7 @@ static void get_vectle_calc(const cXyz* pXyzA, const cXyz* pXyzB, cXyz* pOut) {
|
||||
void fopAcM_setEffectMtx(const fopAc_ac_c* i_actor, const J3DModelData* modelData) {
|
||||
const cXyz* pEyePos = &i_actor->eyePos;
|
||||
camera_class* camera = dCam_getCamera();
|
||||
cXyz v1 = *pEyePos - camera->lookat.eye;
|
||||
cXyz v1 = *pEyePos - camera->view.lookat.eye;
|
||||
cXyz v2;
|
||||
get_vectle_calc(&i_actor->tevStr.field_0x32c, pEyePos, &v2);
|
||||
cXyz half;
|
||||
|
||||
Reference in New Issue
Block a user