mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-23 23:41:24 +00:00
z_play
: Camera Docs and Cleanup (#1460)
* begin docs * More suggestions * more docs * timer to duration * partial PR review * init data with player * consistent comments * withPlayer to usingPlayer
This commit is contained in:
parent
aa48c66e10
commit
934d488420
30 changed files with 362 additions and 260 deletions
|
@ -414,7 +414,7 @@ void BossDodongo_IntroCutscene(BossDodongo* this, PlayState* play) {
|
|||
mainCam->eye = this->subCamEye;
|
||||
mainCam->eyeNext = this->subCamEye;
|
||||
mainCam->at = this->subCamAt;
|
||||
func_800C08AC(play, this->subCamId, 0);
|
||||
Play_ReturnToMainCam(play, this->subCamId, 0);
|
||||
this->subCamId = SUB_CAM_ID_DONE;
|
||||
func_80064534(play, &play->csCtx);
|
||||
func_8002DF54(play, &this->actor, PLAYER_CSMODE_7);
|
||||
|
@ -446,7 +446,7 @@ void BossDodongo_IntroCutscene(BossDodongo* this, PlayState* play) {
|
|||
subCamUp.y = 1.0f;
|
||||
subCamUp.z = this->unk_20C;
|
||||
|
||||
Play_CameraSetAtEyeUp(play, this->subCamId, &subCamAt, &subCamEye, &subCamUp);
|
||||
Play_SetCameraAtEyeUp(play, this->subCamId, &subCamAt, &subCamEye, &subCamUp);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1609,7 +1609,7 @@ void BossDodongo_DeathCutscene(BossDodongo* this, PlayState* play) {
|
|||
mainCam->eye = this->subCamEye;
|
||||
mainCam->eyeNext = this->subCamEye;
|
||||
mainCam->at = this->subCamAt;
|
||||
func_800C08AC(play, this->subCamId, 0);
|
||||
Play_ReturnToMainCam(play, this->subCamId, 0);
|
||||
this->unk_1BC = 0;
|
||||
this->subCamId = SUB_CAM_ID_DONE;
|
||||
this->csState = 100;
|
||||
|
@ -1636,7 +1636,7 @@ void BossDodongo_DeathCutscene(BossDodongo* this, PlayState* play) {
|
|||
break;
|
||||
}
|
||||
if (this->subCamId != SUB_CAM_ID_DONE) {
|
||||
Play_CameraSetAtEye(play, this->subCamId, &this->subCamAt, &this->subCamEye);
|
||||
Play_SetCameraAtEye(play, this->subCamId, &this->subCamAt, &this->subCamEye);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue