diff options
| author | engineer124 <47598039+engineer124@users.noreply.github.com> | 2021-11-02 02:10:03 +1100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-01 16:10:03 +0100 |
| commit | 7e09accf0ea604e6fe6bb128863b4417c0875f84 (patch) | |
| tree | 6ac29ff258d69f9ddd8e7570445d175f3439a329 /src/code | |
| parent | dcb8357f72e8a2f0b37b2b2cd6f36933194b32bd (diff) | |
Document Camera Settings (#994)
* Document Settings
* Clean Up z64Camera.h
* Add comment
Diffstat (limited to 'src/code')
| -rw-r--r-- | src/code/z_actor.c | 2 | ||||
| -rw-r--r-- | src/code/z_camera.c | 17 | ||||
| -rw-r--r-- | src/code/z_camera_data.c | 204 | ||||
| -rw-r--r-- | src/code/z_demo.c | 4 | ||||
| -rw-r--r-- | src/code/z_onepointdemo.c | 172 | ||||
| -rw-r--r-- | src/code/z_play.c | 2 | ||||
| -rw-r--r-- | src/code/z_room.c | 4 |
7 files changed, 204 insertions, 201 deletions
diff --git a/src/code/z_actor.c b/src/code/z_actor.c index 9890f0fd3..e3cf90680 100644 --- a/src/code/z_actor.c +++ b/src/code/z_actor.c @@ -1003,7 +1003,7 @@ void func_8002DE04(GlobalContext* globalCtx, Actor* actorA, Actor* actorB) { void func_8002DE74(GlobalContext* globalCtx, Player* player) { if ((globalCtx->roomCtx.curRoom.unk_03 != 4) && func_800C0CB8(globalCtx)) { - Camera_ChangeSetting(Gameplay_GetCamera(globalCtx, MAIN_CAM), CAM_SET_HORSE0); + Camera_ChangeSetting(Gameplay_GetCamera(globalCtx, MAIN_CAM), CAM_SET_HORSE); } } diff --git a/src/code/z_camera.c b/src/code/z_camera.c index fd287f673..7a11ae212 100644 --- a/src/code/z_camera.c +++ b/src/code/z_camera.c @@ -4704,7 +4704,7 @@ s32 Camera_Unique3(Camera* camera) { if (params->interfaceFlags & 2) { camera->unk_14C |= 4; camera->unk_14C &= ~8; - Camera_ChangeSettingFlags(camera, CAM_SET_CIRCLE3, 2); + Camera_ChangeSettingFlags(camera, CAM_SET_PIVOT_IN_FRONT, 2); break; } uniq3->doorParams.timer3 = 5; @@ -4867,6 +4867,9 @@ s32 Camera_Unique4(Camera* camera) { return Camera_Noop(camera); } +/** + * Was setup to be used by the camera setting "FOREST_UNUSED" + */ s32 Camera_Unique5(Camera* camera) { return Camera_Noop(camera); } @@ -6016,7 +6019,7 @@ s32 Camera_Demo5(Camera* camera) { } sDemo5PrevAction12Frame = camera->globalCtx->state.frames; - Camera_ChangeSettingFlags(camera, CAM_SET_DEMOC, (4 | 1)); + Camera_ChangeSettingFlags(camera, CAM_SET_CS_C, (4 | 1)); Camera_Unique9(camera); return true; } @@ -7062,7 +7065,7 @@ s32 Camera_CheckWater(Camera* camera) { if (camera->unk_14C & 0x200) { if (player->stateFlags2 & 0x800) { - Camera_ChangeSettingFlags(camera, CAM_SET_CIRCLE5, 6); + Camera_ChangeSettingFlags(camera, CAM_SET_PIVOT_WATER_SURFACE, 6); camera->unk_14C |= (s16)0x8000; } else if (camera->unk_14C & (s16)0x8000) { Camera_ChangeSettingFlags(camera, *waterPrevCamSetting, 6); @@ -7462,7 +7465,7 @@ Vec3s Camera_Update(Camera* camera) { // setting bgCheckId to the ret of Quake_Calc, and checking that // is required, it doesn't make too much sense though. - if ((bgId = Quake_Calc(camera, &quake), bgId != 0) && (camera->setting != CAM_SET_ITEM2)) { + if ((bgId = Quake_Calc(camera, &quake), bgId != 0) && (camera->setting != CAM_SET_TURN_AROUND)) { viewAt.x = camera->at.x + quake.atOffset.x; viewAt.y = camera->at.y + quake.atOffset.y; viewAt.z = camera->at.z + quake.atOffset.z; @@ -7733,7 +7736,7 @@ s16 Camera_ChangeSettingFlags(Camera* camera, s16 setting, s16 flags) { return -2; } } - if (((setting == CAM_SET_SPOT05A) || (setting == CAM_SET_SPOT05B)) && LINK_IS_ADULT && + if (((setting == CAM_SET_MEADOW_BIRDS_EYE) || (setting == CAM_SET_MEADOW_UNUSED)) && LINK_IS_ADULT && (camera->globalCtx->sceneNum == SCENE_SPOT05)) { camera->unk_14A |= 0x10; return -5; @@ -7893,7 +7896,7 @@ s32 Camera_SetParam(Camera* camera, s32 param, void* value) { camera->targetPosRot.pos = *(Vec3f*)value; break; case 8: - if (camera->setting == CAM_SET_DEMOC || camera->setting == CAM_SET_DEMO4) { + if (camera->setting == CAM_SET_CS_C || camera->setting == CAM_SET_CS_ATTENTION) { break; } camera->target = (Actor*)value; @@ -7971,7 +7974,7 @@ s32 Camera_ChangeDoorCam(Camera* camera, Actor* doorActor, s16 camDataIdx, f32 a s16 timer3) { DoorParams* doorParams = (DoorParams*)camera->paramData; - if ((camera->setting == CAM_SET_DEMO4) || (camera->setting == CAM_SET_DOORC)) { + if ((camera->setting == CAM_SET_CS_ATTENTION) || (camera->setting == CAM_SET_DOORC)) { return 0; } diff --git a/src/code/z_camera_data.c b/src/code/z_camera_data.c index a887d5d93..18307b033 100644 --- a/src/code/z_camera_data.c +++ b/src/code/z_camera_data.c @@ -2321,7 +2321,7 @@ CameraMode sCamSetNorm0Modes[] = { { CAM_FUNC_SUBJ3, 9, D_8011A4AC }, // CAM_MODE_FIRSTPERSON { CAM_FUNC_SUBJ3, 9, D_8011A4D0 }, // CAM_MODE_BOWARROW { CAM_FUNC_SUBJ3, 9, D_8011A4F4 }, // CAM_MODE_BOWARROWZ - { CAM_FUNC_SPEC5, 8, D_8011A518 }, // CAM_MODE_FOOKSHOT + { CAM_FUNC_SPEC5, 8, D_8011A518 }, // CAM_MODE_HOOKSHOT { CAM_FUNC_SUBJ3, 9, D_8011A538 }, // CAM_MODE_BOOMERANG { CAM_FUNC_SUBJ3, 9, D_8011A55C }, // CAM_MODE_SLINGSHOT { CAM_FUNC_JUMP2, 9, D_8011A580 }, // CAM_MODE_CLIMBZ @@ -2332,7 +2332,7 @@ CameraMode sCamSetNorm0Modes[] = { { CAM_FUNC_BATT4, 7, D_8011A61C }, // CAM_MODE_CHARGE { CAM_FUNC_NORM1, 10, D_8011A638 }, // CAM_MODE_STILL { CAM_FUNC_PARA1, 11, D_8011A660 }, // CAM_MODE_PUSHPULL - { CAM_FUNC_KEEP1, 13, D_8011A68C }, // CAM_MODE_BOOMFOLLLOW + { CAM_FUNC_KEEP1, 13, D_8011A68C }, // CAM_MODE_FOLLOWBOOMERANG }; CameraMode sCamSetNorm1Modes[] = { @@ -2345,7 +2345,7 @@ CameraMode sCamSetNorm1Modes[] = { { CAM_FUNC_SUBJ3, 9, D_8011A4AC }, // CAM_MODE_FIRSTPERSON { CAM_FUNC_SUBJ3, 9, D_8011A4D0 }, // CAM_MODE_BOWARROW { CAM_FUNC_SUBJ3, 9, D_8011A4F4 }, // CAM_MODE_BOWARROWZ - { CAM_FUNC_SPEC5, 8, D_8011A778 }, // CAM_MODE_FOOKSHOT + { CAM_FUNC_SPEC5, 8, D_8011A778 }, // CAM_MODE_HOOKSHOT { CAM_FUNC_SUBJ3, 9, D_8011A538 }, // CAM_MODE_BOOMERANG { CAM_FUNC_SUBJ3, 9, D_8011A55C }, // CAM_MODE_SLINGSHOT { CAM_FUNC_JUMP2, 9, D_8011A7FC }, // CAM_MODE_CLIMBZ @@ -2356,7 +2356,7 @@ CameraMode sCamSetNorm1Modes[] = { { CAM_FUNC_BATT4, 7, D_8011A820 }, // CAM_MODE_CHARGE { CAM_FUNC_NORM1, 10, D_8011A874 }, // CAM_MODE_STILL { CAM_FUNC_PARA1, 11, D_8011A660 }, // CAM_MODE_PUSHPULL - { CAM_FUNC_KEEP1, 13, D_8011A68C }, // CAM_MODE_BOOMFOLLLOW + { CAM_FUNC_KEEP1, 13, D_8011A68C }, // CAM_MODE_FOLLOWBOOMERANG }; CameraMode sCamSetDungeon0Modes[] = { @@ -2369,7 +2369,7 @@ CameraMode sCamSetDungeon0Modes[] = { { CAM_FUNC_SUBJ3, 9, D_8011A4AC }, // CAM_MODE_FIRSTPERSON { CAM_FUNC_SUBJ3, 9, D_8011A4D0 }, // CAM_MODE_BOWARROW { CAM_FUNC_SUBJ3, 9, D_8011A4F4 }, // CAM_MODE_BOWARROWZ - { CAM_FUNC_SPEC5, 8, D_8011A778 }, // CAM_MODE_FOOKSHOT + { CAM_FUNC_SPEC5, 8, D_8011A778 }, // CAM_MODE_HOOKSHOT { CAM_FUNC_SUBJ3, 9, D_8011A538 }, // CAM_MODE_BOOMERANG { CAM_FUNC_SUBJ3, 9, D_8011A55C }, // CAM_MODE_SLINGSHOT { CAM_FUNC_JUMP2, 9, D_8011A9B8 }, // CAM_MODE_CLIMBZ @@ -2380,7 +2380,7 @@ CameraMode sCamSetDungeon0Modes[] = { { CAM_FUNC_BATT4, 7, D_8011A9DC }, // CAM_MODE_CHARGE { CAM_FUNC_NORM1, 10, D_8011AA30 }, // CAM_MODE_STILL { CAM_FUNC_PARA1, 11, D_8011A660 }, // CAM_MODE_PUSHPULL - { CAM_FUNC_KEEP1, 13, D_8011A68C }, // CAM_MODE_BOOMFOLLLOW + { CAM_FUNC_KEEP1, 13, D_8011A68C }, // CAM_MODE_FOLLOWBOOMERANG }; CameraMode sCamSetDungeon1Modes[] = { @@ -2393,7 +2393,7 @@ CameraMode sCamSetDungeon1Modes[] = { { CAM_FUNC_SUBJ3, 9, D_8011A4AC }, // CAM_MODE_FIRSTPERSON { CAM_FUNC_SUBJ3, 9, D_8011A4D0 }, // CAM_MODE_BOWARROW { CAM_FUNC_SUBJ3, 9, D_8011A4F4 }, // CAM_MODE_BOWARROWZ - { CAM_FUNC_SPEC5, 8, D_8011A778 }, // CAM_MODE_FOOKSHOT, + { CAM_FUNC_SPEC5, 8, D_8011A778 }, // CAM_MODE_HOOKSHOT, { CAM_FUNC_SUBJ3, 9, D_8011A538 }, // CAM_MODE_BOOMERANG { CAM_FUNC_SUBJ3, 9, D_8011A55C }, // CAM_MODE_SLINGSHOT { CAM_FUNC_JUMP2, 9, D_8011AB14 }, // CAM_MODE_CLIMBZ @@ -2404,7 +2404,7 @@ CameraMode sCamSetDungeon1Modes[] = { { CAM_FUNC_BATT4, 7, D_8011AB38 }, // CAM_MODE_CHARGE { CAM_FUNC_NORM1, 10, D_8011AB8C }, // CAM_MODE_STILL { CAM_FUNC_PARA1, 11, D_8011ABB4 }, // CAM_MODE_PUSHPULL - { CAM_FUNC_KEEP1, 13, D_8011A68C }, // CAM_MODE_BOOMFOLLLOW + { CAM_FUNC_KEEP1, 13, D_8011A68C }, // CAM_MODE_FOLLOWBOOMERANG }; CameraMode sCamSetNorm3Modes[] = { @@ -2417,7 +2417,7 @@ CameraMode sCamSetNorm3Modes[] = { { CAM_FUNC_SUBJ3, 9, D_8011A4AC }, // CAM_MODE_FIRSTPERSON { CAM_FUNC_SUBJ3, 9, D_8011A4D0 }, // CAM_MODE_BOWARROW { CAM_FUNC_SUBJ3, 9, D_8011A4F4 }, // CAM_MODE_BOWARROWZ - { CAM_FUNC_SPEC5, 8, D_8011A518 }, // CAM_MODE_FOOKSHOT + { CAM_FUNC_SPEC5, 8, D_8011A518 }, // CAM_MODE_HOOKSHOT { CAM_FUNC_JUMP3, 10, sSetNorm3ModeBoomVals }, // CAM_MODE_BOOMERANG { CAM_FUNC_NONE, 0, NULL }, // CAM_MODE_SLINGSHOT { CAM_FUNC_JUMP2, 9, D_8011A580 }, // CAM_MODE_CLIMBZ @@ -2452,7 +2452,7 @@ CameraMode sCamSetBossGomaModes[] = { { CAM_FUNC_SUBJ3, 9, D_8011A4AC }, // CAM_MODE_FIRSTPERSON { CAM_FUNC_SUBJ3, 9, D_8011A4D0 }, // CAM_MODE_BOWARROW { CAM_FUNC_SUBJ3, 9, D_8011A4F4 }, // CAM_MODE_BOWARROWZ - { CAM_FUNC_SPEC5, 8, D_8011A518 }, // CAM_MODE_FOOKSHOT, + { CAM_FUNC_SPEC5, 8, D_8011A518 }, // CAM_MODE_HOOKSHOT, { CAM_FUNC_SUBJ3, 9, D_8011A538 }, // CAM_MODE_BOOMERANG { CAM_FUNC_SUBJ3, 9, D_8011A55C }, // CAM_MODE_SLINGSHOT { CAM_FUNC_JUMP2, 9, D_8011A580 }, // CAM_MODE_CLIMBZ @@ -2463,7 +2463,7 @@ CameraMode sCamSetBossGomaModes[] = { { CAM_FUNC_BATT4, 7, D_8011A9DC }, // CAM_MODE_CHARGE { CAM_FUNC_NORM1, 10, D_8011A638 }, // CAM_MODE_STILL { CAM_FUNC_PARA1, 11, D_8011A660 }, // CAM_MODE_PUSHPULL - { CAM_FUNC_KEEP1, 13, D_8011A68C }, // CAM_MODE_BOOMFOLLLOW + { CAM_FUNC_KEEP1, 13, D_8011A68C }, // CAM_MODE_FOLLOWBOOMERANG }; CameraMode sCamSetBossDodoModes[] = { @@ -2476,7 +2476,7 @@ CameraMode sCamSetBossDodoModes[] = { { CAM_FUNC_SUBJ3, 9, D_8011A4AC }, // CAM_MODE_FIRSTPERSON { CAM_FUNC_SUBJ3, 9, D_8011A4D0 }, // CAM_MODE_BOWARROW { CAM_FUNC_SUBJ3, 9, D_8011A4F4 }, // CAM_MODE_BOWARROWZ - { CAM_FUNC_SPEC5, 8, D_8011A518 }, // CAM_MODE_FOOKSHOT, + { CAM_FUNC_SPEC5, 8, D_8011A518 }, // CAM_MODE_HOOKSHOT, { CAM_FUNC_SUBJ3, 9, D_8011A538 }, // CAM_MODE_BOOMERANG { CAM_FUNC_SUBJ3, 9, D_8011A55C }, // CAM_MODE_SLINGSHOT { CAM_FUNC_JUMP2, 9, D_8011A580 }, // CAM_MODE_CLIMBZ @@ -2487,7 +2487,7 @@ CameraMode sCamSetBossDodoModes[] = { { CAM_FUNC_BATT4, 7, D_8011A61C }, // CAM_MODE_CHARGE { CAM_FUNC_NORM1, 10, D_8011A638 }, // CAM_MODE_STILL { CAM_FUNC_PARA1, 11, D_8011A660 }, // CAM_MODE_PUSHPULL - { CAM_FUNC_KEEP1, 13, D_8011A68C }, // CAM_MODE_BOOMFOLLLOW + { CAM_FUNC_KEEP1, 13, D_8011A68C }, // CAM_MODE_FOLLOWBOOMERANG }; CameraMode sCamSetBossBariModes[] = { @@ -2500,7 +2500,7 @@ CameraMode sCamSetBossBariModes[] = { { CAM_FUNC_SUBJ3, 9, D_8011A4AC }, // CAM_MODE_FIRSTPERSON { CAM_FUNC_SUBJ3, 9, D_8011A4D0 }, // CAM_MODE_BOWARROW { CAM_FUNC_SUBJ3, 9, D_8011A4F4 }, // CAM_MODE_BOWARROWZ - { CAM_FUNC_SPEC5, 8, D_8011A518 }, // CAM_MODE_FOOKSHOT, + { CAM_FUNC_SPEC5, 8, D_8011A518 }, // CAM_MODE_HOOKSHOT, { CAM_FUNC_SUBJ3, 9, D_8011A538 }, // CAM_MODE_BOOMERANG { CAM_FUNC_SUBJ3, 9, D_8011A55C }, // CAM_MODE_SLINGSHOT { CAM_FUNC_JUMP2, 9, D_8011A580 }, // CAM_MODE_CLIMBZ @@ -2511,7 +2511,7 @@ CameraMode sCamSetBossBariModes[] = { { CAM_FUNC_BATT4, 7, D_8011A61C }, // CAM_MODE_CHARGE { CAM_FUNC_NORM1, 10, D_8011A638 }, // CAM_MODE_STILL { CAM_FUNC_PARA1, 11, D_8011A660 }, // CAM_MODE_PUSHPULL - { CAM_FUNC_KEEP1, 13, D_8011A68C }, // CAM_MODE_BOOMFOLLLOW + { CAM_FUNC_KEEP1, 13, D_8011A68C }, // CAM_MODE_FOLLOWBOOMERANG }; CameraMode sCamSetBossFGanonModes[] = { @@ -2524,7 +2524,7 @@ CameraMode sCamSetBossFGanonModes[] = { { CAM_FUNC_SUBJ3, 9, D_8011A4AC }, // CAM_MODE_FIRSTPERSON { CAM_FUNC_SUBJ3, 9, D_8011A4D0 }, // CAM_MODE_BOWARROW { CAM_FUNC_SUBJ3, 9, D_8011A4F4 }, // CAM_MODE_BOWARROWZ - { CAM_FUNC_SPEC5, 8, D_8011A518 }, // CAM_MODE_FOOKSHOT + { CAM_FUNC_SPEC5, 8, D_8011A518 }, // CAM_MODE_HOOKSHOT { CAM_FUNC_SUBJ3, 9, D_8011A538 }, // CAM_MODE_BOOMERANG { CAM_FUNC_SUBJ3, 9, D_8011A55C }, // CAM_MODE_SLINGSHOT { CAM_FUNC_JUMP2, 9, D_8011A580 }, // CAM_MODE_CLIMBZ @@ -2535,7 +2535,7 @@ CameraMode sCamSetBossFGanonModes[] = { { CAM_FUNC_BATT4, 7, D_8011A61C }, // CAM_MODE_CHARGE { CAM_FUNC_NORM1, 10, D_8011A638 }, // CAM_MODE_STILL { CAM_FUNC_PARA1, 11, D_8011A660 }, // CAM_MODE_PUSHPULL - { CAM_FUNC_KEEP1, 13, D_8011A68C }, // CAM_MODE_BOOMFOLLLOW + { CAM_FUNC_KEEP1, 13, D_8011A68C }, // CAM_MODE_FOLLOWBOOMERANG }; CameraMode sCamSetBossBalModes[] = { @@ -2548,7 +2548,7 @@ CameraMode sCamSetBossBalModes[] = { { CAM_FUNC_SUBJ3, 9, D_8011A4AC }, // CAM_MODE_FIRSTPERSON { CAM_FUNC_SUBJ3, 9, D_8011A4D0 }, // CAM_MODE_BOWARROW { CAM_FUNC_SUBJ3, 9, D_8011A4F4 }, // CAM_MODE_BOWARROWZ - { CAM_FUNC_SPEC5, 8, D_8011A518 }, // CAM_MODE_FOOKSHOT + { CAM_FUNC_SPEC5, 8, D_8011A518 }, // CAM_MODE_HOOKSHOT { CAM_FUNC_SUBJ3, 9, D_8011A538 }, // CAM_MODE_BOOMERANG { CAM_FUNC_SUBJ3, 9, D_8011A55C }, // CAM_MODE_SLINGSHOT { CAM_FUNC_JUMP2, 9, D_8011A580 }, // CAM_MODE_CLIMBZ @@ -2559,7 +2559,7 @@ CameraMode sCamSetBossBalModes[] = { { CAM_FUNC_BATT4, 7, D_8011A61C }, // CAM_MODE_CHARGE { CAM_FUNC_NORM1, 10, D_8011A638 }, // CAM_MODE_STILL { CAM_FUNC_PARA1, 11, D_8011A660 }, // CAM_MODE_PUSHPULL - { CAM_FUNC_KEEP1, 13, D_8011A68C }, // CAM_MODE_BOOMFOLLLOW + { CAM_FUNC_KEEP1, 13, D_8011A68C }, // CAM_MODE_FOLLOWBOOMERANG }; CameraMode sCamSetBossShadesModes[] = { @@ -2572,7 +2572,7 @@ CameraMode sCamSetBossShadesModes[] = { { CAM_FUNC_SUBJ3, 9, D_8011A4AC }, // CAM_MODE_FIRSTPERSON { CAM_FUNC_SUBJ3, 9, D_8011A4D0 }, // CAM_MODE_BOWARROW { CAM_FUNC_SUBJ3, 9, D_8011A4F4 }, // CAM_MODE_BOWARROWZ - { CAM_FUNC_SPEC5, 8, D_8011A518 }, // CAM_MODE_FOOKSHOT, + { CAM_FUNC_SPEC5, 8, D_8011A518 }, // CAM_MODE_HOOKSHOT, { CAM_FUNC_SUBJ3, 9, D_8011A538 }, // CAM_MODE_BOOMERANG { CAM_FUNC_SUBJ3, 9, D_8011A55C }, // CAM_MODE_SLINGSHOT { CAM_FUNC_JUMP2, 9, D_8011A580 }, // CAM_MODE_CLIMBZ @@ -2583,7 +2583,7 @@ CameraMode sCamSetBossShadesModes[] = { { CAM_FUNC_BATT4, 7, D_8011A61C }, // CAM_MODE_CHARGE { CAM_FUNC_NORM1, 10, D_8011A638 }, // CAM_MODE_STILL { CAM_FUNC_PARA1, 11, D_8011A660 }, // CAM_MODE_PUSHPULL - { CAM_FUNC_KEEP1, 13, D_8011A68C }, // CAM_MODE_BOOMFOLLLOW + { CAM_FUNC_KEEP1, 13, D_8011A68C }, // CAM_MODE_FOLLOWBOOMERANG }; CameraMode sCamSetBossMofaModes[] = { @@ -2596,7 +2596,7 @@ CameraMode sCamSetBossMofaModes[] = { { CAM_FUNC_SUBJ3, 9, D_8011A4AC }, // CAM_MODE_FIRSTPERSON { CAM_FUNC_SUBJ3, 9, D_8011A4D0 }, // CAM_MODE_BOWARROW { CAM_FUNC_SUBJ3, 9, D_8011A4F4 }, // CAM_MODE_BOWARROWZ - { CAM_FUNC_SPEC5, 8, D_8011A518 }, // CAM_MODE_FOOKSHOT + { CAM_FUNC_SPEC5, 8, D_8011A518 }, // CAM_MODE_HOOKSHOT { CAM_FUNC_SUBJ3, 9, D_8011A538 }, // CAM_MODE_BOOMERANG { CAM_FUNC_SUBJ3, 9, D_8011A55C }, // CAM_MODE_SLINGSHOT { CAM_FUNC_JUMP2, 9, D_8011A580 }, // CAM_MODE_CLIMBZ @@ -2607,7 +2607,7 @@ CameraMode sCamSetBossMofaModes[] = { { CAM_FUNC_BATT4, 7, D_8011A61C }, // CAM_MODE_CHARGE { CAM_FUNC_NORM1, 10, D_8011A638 }, // CAM_MODE_STILL { CAM_FUNC_PARA1, 11, D_8011A660 }, // CAM_MODE_PUSHPULL - { CAM_FUNC_KEEP1, 13, D_8011A68C }, // CAM_MODE_BOOMFOLLLOW + { CAM_FUNC_KEEP1, 13, D_8011A68C }, // CAM_MODE_FOLLOWBOOMERANG }; CameraMode sCamSetBossTwin0Modes[] = { @@ -2620,7 +2620,7 @@ CameraMode sCamSetBossTwin0Modes[] = { { CAM_FUNC_SUBJ3, 9, D_8011A4AC }, // CAM_MODE_FIRSTPERSON { CAM_FUNC_SUBJ3, 9, D_8011A4D0 }, // CAM_MODE_BOWARROW { CAM_FUNC_SUBJ3, 9, D_8011A4F4 }, // CAM_MODE_BOWARROWZ - { CAM_FUNC_SPEC5, 8, D_8011A518 }, // CAM_MODE_FOOKSHOT, + { CAM_FUNC_SPEC5, 8, D_8011A518 }, // CAM_MODE_HOOKSHOT, { CAM_FUNC_SUBJ3, 9, D_8011A538 }, // CAM_MODE_BOOMERANG { CAM_FUNC_SUBJ3, 9, D_8011A55C }, // CAM_MODE_SLINGSHOT { CAM_FUNC_JUMP2, 9, D_8011A580 }, // CAM_MODE_CLIMBZ @@ -2631,7 +2631,7 @@ CameraMode sCamSetBossTwin0Modes[] = { { CAM_FUNC_BATT4, 7, D_8011A61C }, // CAM_MODE_CHARGE { CAM_FUNC_NORM1, 10, D_8011A638 }, // CAM_MODE_STILL { CAM_FUNC_PARA1, 11, D_8011A660 }, // CAM_MODE_PUSHPULL - { CAM_FUNC_KEEP1, 13, D_8011A68C }, // CAM_MODE_BOOMFOLLLOW + { CAM_FUNC_KEEP1, 13, D_8011A68C }, // CAM_MODE_FOLLOWBOOMERANG }; CameraMode sCamSetBossTwin1Modes[] = { @@ -2644,7 +2644,7 @@ CameraMode sCamSetBossTwin1Modes[] = { { CAM_FUNC_SUBJ3, 9, D_8011A4AC }, // CAM_MODE_FIRSTPERSON { CAM_FUNC_SUBJ3, 9, D_8011A4D0 }, // CAM_MODE_BOWARROW { CAM_FUNC_SUBJ3, 9, D_8011A4F4 }, // CAM_MODE_BOWARROWZ - { CAM_FUNC_SPEC5, 8, D_8011A518 }, // CAM_MODE_FOOKSHOT, + { CAM_FUNC_SPEC5, 8, D_8011A518 }, // CAM_MODE_HOOKSHOT, { CAM_FUNC_SUBJ3, 9, D_8011A538 }, // CAM_MODE_BOOMERANG { CAM_FUNC_SUBJ3, 9, D_8011A55C }, // CAM_MODE_SLINGSHOT { CAM_FUNC_JUMP2, 9, D_8011A580 }, // CAM_MODE_CLIMBZ @@ -2655,7 +2655,7 @@ CameraMode sCamSetBossTwin1Modes[] = { { CAM_FUNC_BATT4, 7, D_8011A61C }, // CAM_MODE_CHARGE { CAM_FUNC_NORM1, 10, D_8011A638 }, // CAM_MODE_STILL { CAM_FUNC_PARA1, 11, D_8011A660 }, // CAM_MODE_PUSHPULL - { CAM_FUNC_KEEP1, 13, D_8011A68C }, // CAM_MODE_BOOMFOLLLOW + { CAM_FUNC_KEEP1, 13, D_8011A68C }, // CAM_MODE_FOLLOWBOOMERANG }; CameraMode sCamSetBossGanon1Modes[] = { @@ -2668,7 +2668,7 @@ CameraMode sCamSetBossGanon1Modes[] = { { CAM_FUNC_SUBJ3, 9, D_8011A4AC }, // CAM_MODE_FIRSTPERSON { CAM_FUNC_SUBJ3, 9, D_8011A4D0 }, // CAM_MODE_BOWARROW { CAM_FUNC_SUBJ3, 9, D_8011A4F4 }, // CAM_MODE_BOWARROWZ - { CAM_FUNC_SPEC5, 8, D_8011A518 }, // CAM_MODE_FOOKSHOT, + { CAM_FUNC_SPEC5, 8, D_8011A518 }, // CAM_MODE_HOOKSHOT, { CAM_FUNC_SUBJ3, 9, D_8011A538 }, // CAM_MODE_BOOMERANG { CAM_FUNC_SUBJ3, 9, D_8011A55C }, // CAM_MODE_SLINGSHOT { CAM_FUNC_JUMP2, 9, D_8011A580 }, // CAM_MODE_CLIMBZ @@ -2679,7 +2679,7 @@ CameraMode sCamSetBossGanon1Modes[] = { { CAM_FUNC_BATT4, 7, D_8011B094 }, // CAM_MODE_CHARGE { CAM_FUNC_NORM1, 10, D_8011A638 }, // CAM_MODE_STILL { CAM_FUNC_PARA1, 11, D_8011A660 }, // CAM_MODE_PUSHPULL - { CAM_FUNC_KEEP1, 13, D_8011A68C }, // CAM_MODE_BOOMFOLLLOW + { CAM_FUNC_KEEP1, 13, D_8011A68C }, // CAM_MODE_FOLLOWBOOMERANG }; CameraMode sCamSetBossGanon2Modes[] = { @@ -2692,7 +2692,7 @@ CameraMode sCamSetBossGanon2Modes[] = { { CAM_FUNC_SUBJ3, 9, D_8011A4AC }, // CAM_MODE_FIRSTPERSON { CAM_FUNC_SUBJ3, 9, D_8011A4D0 }, // CAM_MODE_BOWARROW { CAM_FUNC_SUBJ3, 9, D_8011A4F4 }, // CAM_MODE_BOWARROWZ - { CAM_FUNC_SPEC5, 8, D_8011A518 }, // CAM_MODE_FOOKSHOT, + { CAM_FUNC_SPEC5, 8, D_8011A518 }, // CAM_MODE_HOOKSHOT, { CAM_FUNC_SUBJ3, 9, D_8011A538 }, // CAM_MODE_BOOMERANG { CAM_FUNC_SUBJ3, 9, D_8011A55C }, // CAM_MODE_SLINGSHOT { CAM_FUNC_JUMP2, 9, D_8011A580 }, // CAM_MODE_CLIMBZ @@ -2703,7 +2703,7 @@ CameraMode sCamSetBossGanon2Modes[] = { { CAM_FUNC_BATT4, 7, D_8011A61C }, // CAM_MODE_CHARGE { CAM_FUNC_NORM1, 10, D_8011A638 }, // CAM_MODE_STILL { CAM_FUNC_PARA1, 11, D_8011A660 }, // CAM_MODE_PUSHPULL - { CAM_FUNC_KEEP1, 13, D_8011A68C }, // CAM_MODE_BOOMFOLLLOW + { CAM_FUNC_KEEP1, 13, D_8011A68C }, // CAM_MODE_FOLLOWBOOMERANG }; CameraMode sCamSetTower0Modes[] = { @@ -2716,7 +2716,7 @@ CameraMode sCamSetTower0Modes[] = { { CAM_FUNC_SUBJ3, 9, D_8011A4AC }, // CAM_MODE_FIRSTPERSON { CAM_FUNC_SUBJ3, 9, D_8011A4D0 }, // CAM_MODE_BOWARROW { CAM_FUNC_SUBJ3, 9, D_8011A4F4 }, // CAM_MODE_BOWARROWZ - { CAM_FUNC_SPEC5, 8, D_8011A518 }, // CAM_MODE_FOOKSHOT + { CAM_FUNC_SPEC5, 8, D_8011A518 }, // CAM_MODE_HOOKSHOT { CAM_FUNC_SUBJ3, 9, D_8011A538 }, // CAM_MODE_BOOMERANG { CAM_FUNC_SUBJ3, 9, D_8011A55C }, // CAM_MODE_SLINGSHOT { CAM_FUNC_JUMP2, 9, D_8011A580 }, // CAM_MODE_CLIMBZ @@ -2727,7 +2727,7 @@ CameraMode sCamSetTower0Modes[] = { { CAM_FUNC_BATT4, 7, D_8011A61C }, // CAM_MODE_CHARGE { CAM_FUNC_NORM1, 10, D_8011A638 }, // CAM_MODE_STILL { CAM_FUNC_PARA1, 11, D_8011A660 }, // CAM_MODE_PUSHPULL - { CAM_FUNC_KEEP1, 13, D_8011A68C }, // CAM_MODE_BOOMFOLLLOW + { CAM_FUNC_KEEP1, 13, D_8011A68C }, // CAM_MODE_FOLLOWBOOMERANG }; CameraMode sCamSetTower1Modes[] = { @@ -2740,7 +2740,7 @@ CameraMode sCamSetTower1Modes[] = { { CAM_FUNC_SUBJ3, 9, D_8011A4AC }, // CAM_MODE_FIRSTPERSON { CAM_FUNC_SUBJ3, 9, D_8011A4D0 }, // CAM_MODE_BOWARROW { CAM_FUNC_SUBJ3, 9, D_8011A4F4 }, // CAM_MODE_BOWARROWZ - { CAM_FUNC_SPEC5, 8, D_8011A518 }, // CAM_MODE_FOOKSHOT + { CAM_FUNC_SPEC5, 8, D_8011A518 }, // CAM_MODE_HOOKSHOT { CAM_FUNC_SUBJ3, 9, D_8011A538 }, // CAM_MODE_BOOMERANG { CAM_FUNC_SUBJ3, 9, D_8011A55C }, // CAM_MODE_SLINGSHOT { CAM_FUNC_JUMP2, 9, D_8011A580 }, // CAM_MODE_CLIMBZ @@ -2751,7 +2751,7 @@ CameraMode sCamSetTower1Modes[] = { { CAM_FUNC_BATT4, 7, D_8011A61C }, // CAM_MODE_CHARGE { CAM_FUNC_NORM1, 10, D_8011A638 }, // CAM_MODE_STILL { CAM_FUNC_PARA1, 11, D_8011A660 }, // CAM_MODE_PUSHPULL - { CAM_FUNC_KEEP1, 13, D_8011A68C }, // CAM_MODE_BOOMFOLLLOW + { CAM_FUNC_KEEP1, 13, D_8011A68C }, // CAM_MODE_FOLLOWBOOMERANG }; CameraMode sCamSetFixed0Modes[] = { @@ -2794,7 +2794,7 @@ CameraMode sCamSetCirc3Modes[] = { { CAM_FUNC_BATT4, 7, D_8011A61C }, // CAM_MODE_CHARGE { CAM_FUNC_NORM1, 10, D_8011A638 }, // CAM_MODE_STILL { CAM_FUNC_PARA1, 11, D_8011A660 }, // CAM_MODE_PUSHPULL - { CAM_FUNC_KEEP1, 13, D_8011A68C }, // CAM_MODE_BOOMFOLLLOW + { CAM_FUNC_KEEP1, 13, D_8011A68C }, // CAM_MODE_FOLLOWBOOMERANG }; CameraMode sCamSetPreRend0Modes[] = { @@ -2894,7 +2894,7 @@ CameraMode sCamSetUFOBeanModes[] = { { CAM_FUNC_SUBJ3, 9, D_8011A4AC }, // CAM_MODE_FIRSTPERSON { CAM_FUNC_SUBJ3, 9, D_8011A4D0 }, // CAM_MODE_BOWARROW { CAM_FUNC_SUBJ3, 9, D_8011A4F4 }, // CAM_MODE_BOWARROWZ - { CAM_FUNC_SPEC5, 8, D_8011A518 }, // CAM_MODE_FOOKSHOT + { CAM_FUNC_SPEC5, 8, D_8011A518 }, // CAM_MODE_HOOKSHOT { CAM_FUNC_SUBJ3, 9, D_8011A538 }, // CAM_MODE_BOOMERANG { CAM_FUNC_SUBJ3, 9, D_8011A55C }, // CAM_MODE_SLINGSHOT { CAM_FUNC_JUMP2, 9, D_8011A580 }, // CAM_MODE_CLIMBZ @@ -2905,7 +2905,7 @@ CameraMode sCamSetUFOBeanModes[] = { { CAM_FUNC_BATT4, 7, D_8011A61C }, // CAM_MODE_CHARGE { CAM_FUNC_NORM1, 10, D_8011B3A0 }, // CAM_MODE_STILL { CAM_FUNC_PARA1, 11, D_8011A660 }, // CAM_MODE_PUSHPULL - { CAM_FUNC_KEEP1, 13, D_8011A68C }, // CAM_MODE_BOOMFOLLLOW + { CAM_FUNC_KEEP1, 13, D_8011A68C }, // CAM_MODE_FOLLOWBOOMERANG }; CameraMode sCamSetLiftBeanModes[] = { @@ -2929,7 +2929,7 @@ CameraMode sCamSetLiftBeanModes[] = { { CAM_FUNC_BATT4, 7, D_8011A61C }, // CAM_MODE_CHARGE { CAM_FUNC_NORM1, 10, D_8011B474 }, // CAM_MODE_STILL { CAM_FUNC_PARA1, 11, D_8011A660 }, // CAM_MODE_PUSHPULL - { CAM_FUNC_KEEP1, 13, D_8011A68C }, // CAM_MODE_BOOMFOLLLOW + { CAM_FUNC_KEEP1, 13, D_8011A68C }, // CAM_MODE_FOLLOWBOOMERANG }; CameraMode sCamSetScene0Modes[] = { @@ -2966,7 +2966,7 @@ CameraMode sCamSetTakoModes[] = { { CAM_FUNC_SUBJ3, 9, D_8011A4AC }, // CAM_MODE_FIRSTPERSON { CAM_FUNC_SUBJ3, 9, D_8011A4D0 }, // CAM_MODE_BOWARROW { CAM_FUNC_SUBJ3, 9, D_8011A4F4 }, // CAM_MODE_BOWARROWZ - { CAM_FUNC_SPEC5, 8, D_8011A778 }, // CAM_MODE_FOOKSHOT + { CAM_FUNC_SPEC5, 8, D_8011A778 }, // CAM_MODE_HOOKSHOT { CAM_FUNC_SUBJ3, 9, D_8011A538 }, // CAM_MODE_BOOMERANG { CAM_FUNC_SUBJ3, 9, D_8011A55C }, // CAM_MODE_SLINGSHOT { CAM_FUNC_JUMP2, 9, D_8011A9B8 }, // CAM_MODE_CLIMBZ @@ -2977,7 +2977,7 @@ CameraMode sCamSetTakoModes[] = { { CAM_FUNC_BATT4, 7, D_8011A9DC }, // CAM_MODE_CHARGE { CAM_FUNC_NORM1, 10, D_8011B510 }, // CAM_MODE_STILL { CAM_FUNC_PARA1, 11, D_8011A660 }, // CAM_MODE_PUSHPULL - { CAM_FUNC_KEEP1, 13, D_8011A68C }, // CAM_MODE_BOOMFOLLLOW + { CAM_FUNC_KEEP1, 13, D_8011A68C }, // CAM_MODE_FOLLOWBOOMERANG }; CameraMode sCamSetSpot05AModes[] = { @@ -3025,7 +3025,7 @@ CameraMode sCamSetNorm2Modes[] = { { CAM_FUNC_SUBJ3, 9, D_8011A4AC }, // CAM_MODE_FIRSTPERSON { CAM_FUNC_SUBJ3, 9, D_8011A4D0 }, // CAM_MODE_BOWARROW { CAM_FUNC_SUBJ3, 9, D_8011A4F4 }, // CAM_MODE_BOWARROWZ - { CAM_FUNC_SPEC5, 8, D_8011A518 }, // CAM_MODE_FOOKSHOT + { CAM_FUNC_SPEC5, 8, D_8011A518 }, // CAM_MODE_HOOKSHOT { CAM_FUNC_SUBJ3, 9, D_8011A538 }, // CAM_MODE_BOOMERANG { CAM_FUNC_SUBJ3, 9, D_8011A55C }, // CAM_MODE_SLINGSHOT { CAM_FUNC_JUMP2, 9, D_8011A580 }, // CAM_MODE_CLIMBZ @@ -3036,7 +3036,7 @@ CameraMode sCamSetNorm2Modes[] = { { CAM_FUNC_BATT4, 7, D_8011A61C }, // CAM_MODE_CHARGE { CAM_FUNC_NORM1, 10, D_8011A638 }, // CAM_MODE_STILL { CAM_FUNC_PARA1, 11, D_8011A660 }, // CAM_MODE_PUSHPULL - { CAM_FUNC_KEEP1, 13, D_8011A68C }, // CAM_MODE_BOOMFOLLLOW + { CAM_FUNC_KEEP1, 13, D_8011A68C }, // CAM_MODE_FOLLOWBOOMERANG }; CameraMode sCamSetFishingModes[] = { @@ -3049,7 +3049,7 @@ CameraMode sCamSetFishingModes[] = { { CAM_FUNC_SUBJ3, 9, D_8011B838 }, // CAM_MODE_FIRSTPERSON { CAM_FUNC_NONE, 0, NULL }, // CAM_MODE_BOWARROW { CAM_FUNC_NONE, 0, NULL }, // CAM_MODE_BOWARROWZ - { CAM_FUNC_NONE, 0, NULL }, // CAM_MODE_FOOKSHOT + { CAM_FUNC_NONE, 0, NULL }, // CAM_MODE_HOOKSHOT { CAM_FUNC_NONE, 0, NULL }, // CAM_MODE_BOOMERANG { CAM_FUNC_NONE, 0, NULL }, // CAM_MODE_SLINGSHOT { CAM_FUNC_NONE, 0, NULL }, // CAM_MODE_CLIMBZ @@ -3073,7 +3073,7 @@ CameraMode sCamSetUOFiberModes[] = { { CAM_FUNC_SUBJ3, 9, D_8011A4AC }, // CAM_MODE_FIRSTPERSON { CAM_FUNC_SUBJ3, 9, D_8011A4D0 }, // CAM_MODE_BOWARROW { CAM_FUNC_SUBJ3, 9, D_8011A4F4 }, // CAM_MODE_BOWARROWZ - { CAM_FUNC_SPEC5, 8, D_8011A518 }, // CAM_MODE_FOOKSHOT + { CAM_FUNC_SPEC5, 8, D_8011A518 }, // CAM_MODE_HOOKSHOT { CAM_FUNC_SUBJ3, 9, D_8011A538 }, // CAM_MODE_BOOMERANG { CAM_FUNC_SUBJ3, 9, D_8011A55C }, // CAM_MODE_SLINGSHOT { CAM_FUNC_JUMP2, 9, D_8011A580 }, // CAM_MODE_CLIMBZ @@ -3084,7 +3084,7 @@ CameraMode sCamSetUOFiberModes[] = { { CAM_FUNC_BATT4, 7, D_8011A61C }, // CAM_MODE_CHARGE { CAM_FUNC_NORM1, 10, D_8011A638 }, // CAM_MODE_STILL { CAM_FUNC_PARA1, 11, D_8011A660 }, // CAM_MODE_PUSHPULL - { CAM_FUNC_KEEP1, 13, D_8011A68C }, // CAM_MODE_BOOMFOLLLOW + { CAM_FUNC_KEEP1, 13, D_8011A68C }, // CAM_MODE_FOLLOWBOOMERANG }; CameraMode sCamSetDungeon2Modes[] = { @@ -3097,7 +3097,7 @@ CameraMode sCamSetDungeon2Modes[] = { { CAM_FUNC_SUBJ3, 9, D_8011A4AC }, // CAM_MODE_FIRSTPERSON { CAM_FUNC_SUBJ3, 9, D_8011A4D0 }, // CAM_MODE_BOWARROW { CAM_FUNC_SUBJ3, 9, D_8011A4F4 }, // CAM_MODE_BOWARROWZ - { CAM_FUNC_SPEC5, 8, D_8011A778 }, // CAM_MODE_FOOKSHOT + { CAM_FUNC_SPEC5, 8, D_8011A778 }, // CAM_MODE_HOOKSHOT { CAM_FUNC_SUBJ3, 9, D_8011A538 }, // CAM_MODE_BOOMERANG { CAM_FUNC_SUBJ3, 9, D_8011A55C }, // CAM_MODE_SLINGSHOT { CAM_FUNC_JUMP2, 9, D_8011BA18 }, // CAM_MODE_CLIMBZ @@ -3108,7 +3108,7 @@ CameraMode sCamSetDungeon2Modes[] = { { CAM_FUNC_BATT4, 7, D_8011A61C }, // CAM_MODE_CHARGE { CAM_FUNC_NORM1, 10, D_8011BA74 }, // CAM_MODE_STILL { CAM_FUNC_PARA1, 11, D_8011BA9C }, // CAM_MODE_PUSHPULL - { CAM_FUNC_KEEP1, 13, D_8011A68C }, // CAM_MODE_BOOMFOLLLOW + { CAM_FUNC_KEEP1, 13, D_8011A68C }, // CAM_MODE_FOLLOWBOOMERANG }; CameraMode sCamSetTeppenModes[] = { @@ -3121,7 +3121,7 @@ CameraMode sCamSetTeppenModes[] = { { CAM_FUNC_SUBJ3, 9, D_8011A4AC }, // CAM_MODE_FIRSTPERSON { CAM_FUNC_SUBJ3, 9, D_8011A4D0 }, // CAM_MODE_BOWARROW { CAM_FUNC_SUBJ3, 9, D_8011A4F4 }, // CAM_MODE_BOWARROWZ - { CAM_FUNC_SPEC5, 8, D_8011A518 }, // CAM_MODE_FOOKSHOT + { CAM_FUNC_SPEC5, 8, D_8011A518 }, // CAM_MODE_HOOKSHOT { CAM_FUNC_SUBJ3, 9, D_8011A538 }, // CAM_MODE_BOOMERANG { CAM_FUNC_SUBJ3, 9, D_8011A55C }, // CAM_MODE_SLINGSHOT { CAM_FUNC_JUMP2, 9, D_8011A580 }, // CAM_MODE_CLIMBZ @@ -3132,7 +3132,7 @@ CameraMode sCamSetTeppenModes[] = { { CAM_FUNC_BATT4, 7, D_8011A61C }, // CAM_MODE_CHARGE { CAM_FUNC_NORM1, 10, D_8011A638 }, // CAM_MODE_STILL { CAM_FUNC_PARA1, 11, D_8011A660 }, // CAM_MODE_PUSHPULL - { CAM_FUNC_KEEP1, 13, D_8011A68C }, // CAM_MODE_BOOMFOLLLOW + { CAM_FUNC_KEEP1, 13, D_8011A68C }, // CAM_MODE_FOLLOWBOOMERANG }; CameraMode sCamSetCirc7Modes[] = { @@ -3160,7 +3160,7 @@ CameraMode sCamSetNorm4Modes[] = { { CAM_FUNC_SUBJ3, 9, D_8011A4AC }, // CAM_MODE_FIRSTPERSON { CAM_FUNC_SUBJ3, 9, D_8011A4D0 }, // CAM_MODE_BOWARROW { CAM_FUNC_SUBJ3, 9, D_8011A4F4 }, // CAM_MODE_BOWARROWZ - { CAM_FUNC_SPEC5, 8, D_8011A518 }, // CAM_MODE_FOOKSHOT + { CAM_FUNC_SPEC5, 8, D_8011A518 }, // CAM_MODE_HOOKSHOT { CAM_FUNC_SUBJ3, 9, D_8011A538 }, // CAM_MODE_BOOMERANG { CAM_FUNC_SUBJ3, 9, D_8011A55C }, // CAM_MODE_SLINGSHOT { CAM_FUNC_JUMP2, 9, D_8011A580 }, // CAM_MODE_CLIMBZ @@ -3171,7 +3171,7 @@ CameraMode sCamSetNorm4Modes[] = { { CAM_FUNC_BATT4, 7, D_8011A61C }, // CAM_MODE_CHARGE { CAM_FUNC_NORM1, 10, D_8011A638 }, // CAM_MODE_STILL { CAM_FUNC_PARA1, 11, D_8011A660 }, // CAM_MODE_PUSHPULL - { CAM_FUNC_KEEP1, 13, D_8011A68C }, // CAM_MODE_BOOMFOLLLOW + { CAM_FUNC_KEEP1, 13, D_8011A68C }, // CAM_MODE_FOLLOWBOOMERANG }; CameraSetting sCameraSettings[] = { @@ -3181,65 +3181,65 @@ CameraSetting sCameraSettings[] = { { { 0x051FFFFF }, sCamSetDungeon0Modes }, // CAM_SET_DUNGEON0 { { 0x051FFFFF }, sCamSetDungeon1Modes }, // CAM_SET_DUNGEON1 { { 0x050FF7FF }, sCamSetNorm3Modes }, // CAM_SET_NORMAL3 - { { 0x8500018F }, sCamSetHorse0Modes }, // CAM_SET_HORSE0 - { { 0x051FFFFF }, sCamSetBossGomaModes }, // CAM_SET_BOSS_GOMA - { { 0x051FFFFF }, sCamSetBossDodoModes }, // CAM_SET_BOSS_DODO - { { 0x051FFFFF }, sCamSetBossBariModes }, // CAM_SET_BOSS_BARI - { { 0x051FFFFF }, sCamSetBossFGanonModes }, // CAM_SET_BOSS_FGANON - { { 0x051FFFFF }, sCamSetBossBalModes }, // CAM_SET_BOSS_BAL - { { 0x051FFFFF }, sCamSetBossShadesModes }, // CAM_SET_BOSS_SHADES - { { 0x051FFFFF }, sCamSetBossMofaModes }, // CAM_SET_BOSS_MOFA - { { 0x051FFFFF }, sCamSetBossTwin0Modes }, // CAM_SET_TWIN0 - { { 0x051FFFFF }, sCamSetBossTwin1Modes }, // CAM_SET_TWIN1 - { { 0x051FFFFF }, sCamSetBossGanon1Modes }, // CAM_SET_BOSS_GANON1 - { { 0x051FFFFF }, sCamSetBossGanon2Modes }, // CAM_SET_BOSS_GANON2 - { { 0x851FFFFF }, sCamSetTower0Modes }, // CAM_SET_TOWER0 - { { 0x851FFFFF }, sCamSetTower1Modes }, // CAM_SET_TOWER1 - { { 0x8500000D }, sCamSetFixed0Modes }, // CAM_SET_FIXED0 - { { 0x85000001 }, sCamSetFixed1Modes }, // CAM_SET_FIXED1 - { { 0x85000001 }, sCamSetCirc0Modes }, // CAM_SET_CIRCLE0 - { { 0x85000001 }, sCamSetCirc2Modes }, // CAM_SET_CIRCLE2 - { { 0x851E1FFF }, sCamSetCirc3Modes }, // CAM_SET_CIRCLE3 - { { 0x8C00000D }, sCamSetPreRend0Modes }, // CAM_SET_PREREND0 - { { 0x8C00000D }, sCamSetPreRend1Modes }, // CAM_SET_PREREND1 - { { 0x8C000001 }, sCamSetPreRend3Modes }, // CAM_SET_PREREND3 + { { 0x8500018F }, sCamSetHorse0Modes }, // CAM_SET_HORSE + { { 0x051FFFFF }, sCamSetBossGomaModes }, // CAM_SET_BOSS_GOHMA + { { 0x051FFFFF }, sCamSetBossDodoModes }, // CAM_SET_BOSS_DODONGO + { { 0x051FFFFF }, sCamSetBossBariModes }, // CAM_SET_BOSS_BARINADE + { { 0x051FFFFF }, sCamSetBossFGanonModes }, // CAM_SET_BOSS_PHANTOM_GANON + { { 0x051FFFFF }, sCamSetBossBalModes }, // CAM_SET_BOSS_VOLVAGIA + { { 0x051FFFFF }, sCamSetBossShadesModes }, // CAM_SET_BOSS_BONGO + { { 0x051FFFFF }, sCamSetBossMofaModes }, // CAM_SET_BOSS_MORPHA + { { 0x051FFFFF }, sCamSetBossTwin0Modes }, // CAM_SET_BOSS_TWINROVA_PLATFORM + { { 0x051FFFFF }, sCamSetBossTwin1Modes }, // CAM_SET_BOSS_TWINROVA_FLOOR + { { 0x051FFFFF }, sCamSetBossGanon1Modes }, // CAM_SET_BOSS_GANONDORF + { { 0x051FFFFF }, sCamSetBossGanon2Modes }, // CAM_SET_BOSS_GANON + { { 0x851FFFFF }, sCamSetTower0Modes }, // CAM_SET_TOWER_CLIMB + { { 0x851FFFFF }, sCamSetTower1Modes }, // CAM_SET_TOWER_UNUSED + { { 0x8500000D }, sCamSetFixed0Modes }, // CAM_SET_MARKET_BALCONY + { { 0x85000001 }, sCamSetFixed1Modes }, // CAM_SET_CHU_BOWLING + { { 0x85000001 }, sCamSetCirc0Modes }, // CAM_SET_PIVOT_CRAWLSPACE + { { 0x85000001 }, sCamSetCirc2Modes }, // CAM_SET_PIVOT_SHOP_BROWSING + { { 0x851E1FFF }, sCamSetCirc3Modes }, // CAM_SET_PIVOT_IN_FRONT + { { 0x8C00000D }, sCamSetPreRend0Modes }, // CAM_SET_PREREND_FIXED + { { 0x8C00000D }, sCamSetPreRend1Modes }, // CAM_SET_PREREND_PIVET + { { 0x8C000001 }, sCamSetPreRend3Modes }, // CAM_SET_PREREND_SIDE_SCROLL { { 0xC5000001 }, sCamSetDoor0Modes }, // CAM_SET_DOOR0 { { 0xC5000003 }, sCamSetDoorCModes }, // CAM_SET_DOORC - { { 0xC5000001 }, sCamSetRail3Modes }, // CAM_SET_RAIL3 + { { 0xC5000001 }, sCamSetRail3Modes }, // CAM_SET_CRAWLSPACE { { 0xC5000001 }, sCamSetStart0Modes }, // CAM_SET_START0 { { 0xC5000001 }, sCamSetStart1Modes }, // CAM_SET_START1 { { 0x05000001 }, sCamSetFree0Modes }, // CAM_SET_FREE0 { { 0x05000001 }, sCamSetFree1Modes }, // CAM_SET_FREE2 - { { 0x85000001 }, sCamSetCirc4Modes }, // CAM_SET_CIRCLE4 - { { 0x05000003 }, sCamSetCirc5Modes }, // CAM_SET_CIRCLE5 - { { 0xCE000001 }, sCamSetDemo0Modes }, // CAM_SET_DEMO0 - { { 0x4E000001 }, sCamSetDemo1Modes }, // CAM_SET_DEMO1 - { { 0x05000009 }, sCamSetMori1Modes }, // CAM_SET_MORI1 - { { 0x45000001 }, sCamSetItem0Modes }, // CAM_SET_ITEM0 - { { 0x45000001 }, sCamSetItem1Modes }, // CAM_SET_ITEM1 - { { 0x45000001 }, sCamSetDemo3Modes }, // CAM_SET_DEMO3 - { { 0x45000001 }, sCamSetDemo4Modes }, // CAM_SET_DEMO4 - { { 0x451FFFFF }, sCamSetUFOBeanModes }, // CAM_SET_UFOBEAN - { { 0x451FFFFF }, sCamSetLiftBeanModes }, // CAM_SET_LIFTBEAN - { { 0xC5000001 }, sCamSetScene0Modes }, // CAM_SET_SCENE0 - { { 0x45000001 }, sCamSetScene1Modes }, // CAM_SET_SCENE1 - { { 0x05000001 }, sCamSetHidan1Modes }, // CAM_SET_HIDAN1 - { { 0x45000001 }, sCamSetHidan2Modes }, // CAM_SET_HIDAN2 - { { 0x45000001 }, sCamSetMori2Modes }, // CAM_SET_MORI2 - { { 0x45000001 }, sCamSetMori3Modes }, // CAM_SET_MORI3 - { { 0x451FFFFF }, sCamSetTakoModes }, // CAM_SET_TAKO - { { 0x05000033 }, sCamSetSpot05AModes }, // CAM_SET_SPOT05A - { { 0x05000033 }, sCamSetSpot05BModes }, // CAM_SET_SPOT05B - { { 0x05000033 }, sCamSetHidan3Modes }, // CAM_SET_HIDAN3 - { { 0x4A000001 }, sCamSetItem2Modes }, // CAM_SET_ITEM2 - { { 0x05000001 }, sCamSetCirc6Modes }, // CAM_SET_CIRCLE6 + { { 0x85000001 }, sCamSetCirc4Modes }, // CAM_SET_PIVOT_CORNER + { { 0x05000003 }, sCamSetCirc5Modes }, // CAM_SET_PIVOT_WATER_SURFACE + { { 0xCE000001 }, sCamSetDemo0Modes }, // CAM_SET_CS_0 + { { 0x4E000001 }, sCamSetDemo1Modes }, // CAM_SET_CS_TWISTED_HALLWAY + { { 0x05000009 }, sCamSetMori1Modes }, // CAM_SET_FOREST_BIRDS_EYE + { { 0x45000001 }, sCamSetItem0Modes }, // CAM_SET_SLOW_CHEST_CS + { { 0x45000001 }, sCamSetItem1Modes }, // CAM_SET_ITEM_UNUSED + { { 0x45000001 }, sCamSetDemo3Modes }, // CAM_SET_CS_3 + { { 0x45000001 }, sCamSetDemo4Modes }, // CAM_SET_CS_ATTENTION + { { 0x451FFFFF }, sCamSetUFOBeanModes }, // CAM_SET_BEAN_GENERIC + { { 0x451FFFFF }, sCamSetLiftBeanModes }, // CAM_SET_BEAN_LOST_WOODS + { { 0xC5000001 }, sCamSetScene0Modes }, // CAM_SET_SCENE_UNUSED + { { 0x45000001 }, sCamSetScene1Modes }, // CAM_SET_SCENE_TRANSITION + { { 0x05000001 }, sCamSetHidan1Modes }, // CAM_SET_FIRE_PLATFORM + { { 0x45000001 }, sCamSetHidan2Modes }, // CAM_SET_FIRE_STAIRCASE + { { 0x45000001 }, sCamSetMori2Modes }, // CAM_SET_FOREST_UNUSED + { { 0x45000001 }, sCamSetMori3Modes }, // CAM_SET_FOREST_DEFEAT_POE + { { 0x451FFFFF }, sCamSetTakoModes }, // CAM_SET_BIG_OCTO + { { 0x05000033 }, sCamSetSpot05AModes }, // CAM_SET_MEADOW_BIRDS_EYE + { { 0x05000033 }, sCamSetSpot05BModes }, // CAM_SET_MEADOW_UNUSED + { { 0x05000033 }, sCamSetHidan3Modes }, // CAM_SET_FIRE_BIRDS_EYE + { { 0x4A000001 }, sCamSetItem2Modes }, // CAM_SET_TURN_AROUND + { { 0x05000001 }, sCamSetCirc6Modes }, // CAM_SET_PIVOT_VERTICAL { { 0x051FFFFF }, sCamSetNorm2Modes }, // CAM_SET_NORMAL2 { { 0x0501E05F }, sCamSetFishingModes }, // CAM_SET_FISHING - { { 0x45000001 }, sCamSetDemoCModes }, // CAM_SET_DEMOC - { { 0x051FFFFF }, sCamSetUOFiberModes }, // CAM_SET_UO_FIBER + { { 0x45000001 }, sCamSetDemoCModes }, // CAM_SET_CS_C + { { 0x051FFFFF }, sCamSetUOFiberModes }, // CAM_SET_JABU_TENTACLE { { 0x051FFFFF }, sCamSetDungeon2Modes }, // CAM_SET_DUNGEON2 - { { 0x051FFFFF }, sCamSetTeppenModes }, // CAM_SET_TEPPEN - { { 0xC5000ECD }, sCamSetCirc7Modes }, // CAM_SET_CIRCLE7 + { { 0x051FFFFF }, sCamSetTeppenModes }, // CAM_SET_DIRECTED_YAW + { { 0xC5000ECD }, sCamSetCirc7Modes }, // CAM_SET_PIVOT_FROM_SIDE { { 0x051FFFFF }, sCamSetNorm4Modes }, // CAM_SET_NORMAL4 }; diff --git a/src/code/z_demo.c b/src/code/z_demo.c index f2f39d57f..3738566a1 100644 --- a/src/code/z_demo.c +++ b/src/code/z_demo.c @@ -1290,7 +1290,7 @@ s32 Cutscene_Command_CameraPositions(GlobalContext* globalCtx, CutsceneContext* if (csCtx->unk_1A != 0) { csCtx->unk_18 = cmdBase->startFrame; if (D_8015FCC8 != 0) { - Gameplay_CameraChangeSetting(globalCtx, csCtx->unk_14, CAM_SET_DEMO0); + Gameplay_CameraChangeSetting(globalCtx, csCtx->unk_14, CAM_SET_CS_0); Gameplay_ChangeCameraStatus(globalCtx, D_8015FCC6, CAM_STAT_WAIT); Gameplay_ChangeCameraStatus(globalCtx, csCtx->unk_14, CAM_STAT_ACTIVE); Camera_ResetAnim(Gameplay_GetCamera(globalCtx, csCtx->unk_14)); @@ -1327,7 +1327,7 @@ s32 Cutscene_Command_CameraFocus(GlobalContext* globalCtx, CutsceneContext* csCt if (csCtx->unk_1B != 0) { D_8015FCC0 = cmdBase->startFrame; if (D_8015FCC8 != 0) { - Gameplay_CameraChangeSetting(globalCtx, csCtx->unk_14, CAM_SET_DEMO0); + Gameplay_CameraChangeSetting(globalCtx, csCtx->unk_14, CAM_SET_CS_0); Gameplay_ChangeCameraStatus(globalCtx, D_8015FCC6, CAM_STAT_WAIT); Gameplay_ChangeCameraStatus(globalCtx, csCtx->unk_14, CAM_STAT_ACTIVE); Camera_ResetAnim(Gameplay_GetCamera(globalCtx, csCtx->unk_14)); diff --git a/src/code/z_onepointdemo.c b/src/code/z_onepointdemo.c index 53626f510..fb074315e 100644 --- a/src/code/z_onepointdemo.c +++ b/src/code/z_onepointdemo.c @@ -88,7 +88,7 @@ s32 OnePointCutscene_SetInfo(GlobalContext* globalCtx, s16 camIdx, s16 csId, Act csInfo->keyFrames = D_801208EC; csInfo->keyFrameCnt = 3; - func_800C0808(globalCtx, camIdx, player, CAM_SET_DEMOC); + func_800C0808(globalCtx, camIdx, player, CAM_SET_CS_C); break; case 1030: D_80120964[0].atTargetInit = globalCtx->view.lookAt; @@ -101,7 +101,7 @@ s32 OnePointCutscene_SetInfo(GlobalContext* globalCtx, s16 camIdx, s16 csId, Act csInfo->keyFrames = D_80120964; csInfo->keyFrameCnt = 2; - func_800C0808(globalCtx, camIdx, player, CAM_SET_DEMOC); + func_800C0808(globalCtx, camIdx, player, CAM_SET_CS_C); break; case 5000: D_801209B4[0].atTargetInit = D_801209B4[1].atTargetInit = globalCtx->view.lookAt; @@ -115,17 +115,17 @@ s32 OnePointCutscene_SetInfo(GlobalContext* globalCtx, s16 camIdx, s16 csId, Act csInfo->keyFrames = D_801209B4; csInfo->keyFrameCnt = 4; - func_800C0808(globalCtx, camIdx, player, CAM_SET_DEMOC); + func_800C0808(globalCtx, camIdx, player, CAM_SET_CS_C); break; case 5010: - func_800C0808(globalCtx, camIdx, player, CAM_SET_DEMO4); + func_800C0808(globalCtx, camIdx, player, CAM_SET_CS_ATTENTION); Gameplay_CameraSetAtEye(globalCtx, camIdx, &mainCam->at, &mainCam->eye); csCam->roll = 0; break; case 9500: csInfo->keyFrames = D_80120A54; csInfo->keyFrameCnt = 3; - func_800C0808(globalCtx, camIdx, player, CAM_SET_DEMOC); + func_800C0808(globalCtx, camIdx, player, CAM_SET_CS_C); break; case 2260: D_80120ACC[0].atTargetInit.x = D_80120ACC[2].atTargetInit.x = @@ -137,7 +137,7 @@ s32 OnePointCutscene_SetInfo(GlobalContext* globalCtx, s16 camIdx, s16 csId, Act csInfo->keyFrames = D_80120ACC; csInfo->keyFrameCnt = 5; - func_800C0808(globalCtx, camIdx, player, CAM_SET_DEMOC); + func_800C0808(globalCtx, camIdx, player, CAM_SET_CS_C); break; case 2270: csInfo->keyFrames = D_80120B94; @@ -154,7 +154,7 @@ s32 OnePointCutscene_SetInfo(GlobalContext* globalCtx, s16 camIdx, s16 csId, Act D_80120B94[camIdx - 1].eyeTargetInit.y = ((mainCam->globalCtx->state.frames & 1) ? 3.0f : -3.0f) + Rand_ZeroOne(); - func_800C0808(globalCtx, camIdx, player, CAM_SET_DEMOC); + func_800C0808(globalCtx, camIdx, player, CAM_SET_CS_C); i = Quake_Add(csCam, 5); Quake_SetSpeed(i, 400); @@ -175,7 +175,7 @@ s32 OnePointCutscene_SetInfo(GlobalContext* globalCtx, s16 camIdx, s16 csId, Act } D_80120D4C[camIdx - 1].eyeTargetInit.y = ((mainCam->globalCtx->state.frames & 1) ? 3.0f : -3.0f) + Rand_ZeroOne(); - func_800C0808(globalCtx, camIdx, player, CAM_SET_DEMOC); + func_800C0808(globalCtx, camIdx, player, CAM_SET_CS_C); i = Quake_Add(csCam, 5); Quake_SetSpeed(i, 400); @@ -186,7 +186,7 @@ s32 OnePointCutscene_SetInfo(GlobalContext* globalCtx, s16 camIdx, s16 csId, Act csInfo->keyFrames = D_80120E64; csInfo->keyFrameCnt = 8; - func_800C0808(globalCtx, camIdx, player, CAM_SET_DEMOC); + func_800C0808(globalCtx, camIdx, player, CAM_SET_CS_C); i = Quake_Add(csCam, 5); Quake_SetSpeed(i, 400); @@ -202,13 +202,13 @@ s32 OnePointCutscene_SetInfo(GlobalContext* globalCtx, s16 camIdx, s16 csId, Act csInfo->keyFrames = D_80120FA4; csInfo->keyFrameCnt = 6; - func_800C0808(globalCtx, camIdx, player, CAM_SET_DEMOC); + func_800C0808(globalCtx, camIdx, player, CAM_SET_CS_C); break; case 2340: csInfo->keyFrames = D_80121094; csInfo->keyFrameCnt = 3; - func_800C0808(globalCtx, camIdx, player, CAM_SET_DEMOC); + func_800C0808(globalCtx, camIdx, player, CAM_SET_CS_C); i = Quake_Add(csCam, 5); Quake_SetSpeed(i, 400); @@ -219,7 +219,7 @@ s32 OnePointCutscene_SetInfo(GlobalContext* globalCtx, s16 camIdx, s16 csId, Act csInfo->keyFrames = D_8012110C; csInfo->keyFrameCnt = 3; - func_800C0808(globalCtx, camIdx, player, CAM_SET_DEMOC); + func_800C0808(globalCtx, camIdx, player, CAM_SET_CS_C); break; case 2200: { s16 sp82; @@ -256,7 +256,7 @@ s32 OnePointCutscene_SetInfo(GlobalContext* globalCtx, s16 camIdx, s16 csId, Act csInfo->keyFrameCnt = 2; } Gameplay_ChangeCameraStatus(globalCtx, MAIN_CAM, CAM_STAT_UNK3); - func_800C0808(globalCtx, camIdx, player, CAM_SET_DEMOC); + func_800C0808(globalCtx, camIdx, player, CAM_SET_CS_C); } break; case 2290: { Actor* rideActor = player->rideActor; @@ -269,7 +269,7 @@ s32 OnePointCutscene_SetInfo(GlobalContext* globalCtx, s16 camIdx, s16 csId, Act csInfo->keyFrames = D_80121224; csInfo->keyFrameCnt = 6; - func_800C0808(globalCtx, camIdx, player, CAM_SET_DEMOC); + func_800C0808(globalCtx, camIdx, player, CAM_SET_CS_C); } break; case 5120: func_8002DF54(globalCtx, NULL, 8); @@ -277,7 +277,7 @@ s32 OnePointCutscene_SetInfo(GlobalContext* globalCtx, s16 camIdx, s16 csId, Act csInfo->keyFrames = D_80121314; csInfo->keyFrameCnt = 1; - func_800C0808(globalCtx, camIdx, player, CAM_SET_DEMOC); + func_800C0808(globalCtx, camIdx, player, CAM_SET_CS_C); break; case 4510: D_8012133C[0].eyeTargetInit = actor->world.pos; @@ -287,7 +287,7 @@ s32 OnePointCutscene_SetInfo(GlobalContext* globalCtx, s16 camIdx, s16 csId, Act csInfo->keyFrames = D_8012133C; csInfo->keyFrameCnt = 3; - func_800C0808(globalCtx, camIdx, player, CAM_SET_DEMOC); + func_800C0808(globalCtx, camIdx, player, CAM_SET_CS_C); break; case 4500: Actor_GetFocus(&spA0, actor); @@ -319,7 +319,7 @@ s32 OnePointCutscene_SetInfo(GlobalContext* globalCtx, s16 camIdx, s16 csId, Act csInfo->keyFrames = D_801213B4; csInfo->keyFrameCnt = 5; - func_800C0808(globalCtx, camIdx, player, CAM_SET_DEMOC); + func_800C0808(globalCtx, camIdx, player, CAM_SET_CS_C); break; case 1010: Gameplay_CameraChangeSetting(globalCtx, camIdx, CAM_SET_FREE2); @@ -328,12 +328,12 @@ s32 OnePointCutscene_SetInfo(GlobalContext* globalCtx, s16 camIdx, s16 csId, Act Gameplay_SetCameraRoll(globalCtx, camIdx, childCam->roll); break; case 9601: - Gameplay_CameraChangeSetting(globalCtx, camIdx, CAM_SET_DEMO3); + Gameplay_CameraChangeSetting(globalCtx, camIdx, CAM_SET_CS_3); Gameplay_CameraChangeSetting(globalCtx, MAIN_CAM, mainCam->prevSetting); OnePointCutscene_SetCsCamPoints(csCam, D_80120430 | 0x1000, D_8012042C, D_80120308, D_80120398); break; case 9602: - Gameplay_CameraChangeSetting(globalCtx, camIdx, CAM_SET_DEMO3); + Gameplay_CameraChangeSetting(globalCtx, camIdx, CAM_SET_CS_3); Gameplay_CameraChangeSetting(globalCtx, MAIN_CAM, mainCam->prevSetting); OnePointCutscene_SetCsCamPoints(csCam, D_80120430 | 0x1000, D_8012042C, D_80120308, D_80120434); break; @@ -341,7 +341,7 @@ s32 OnePointCutscene_SetInfo(GlobalContext* globalCtx, s16 camIdx, s16 csId, Act csInfo->keyFrames = D_8012147C; csInfo->keyFrameCnt = 4; - func_800C0808(globalCtx, camIdx, player, CAM_SET_DEMOC); + func_800C0808(globalCtx, camIdx, player, CAM_SET_CS_C); break; case 4180: spC0.x = -1881.0f; @@ -363,7 +363,7 @@ s32 OnePointCutscene_SetInfo(GlobalContext* globalCtx, s16 camIdx, s16 csId, Act csInfo->keyFrames = D_8012151C; csInfo->keyFrameCnt = 2; - func_800C0808(globalCtx, camIdx, player, CAM_SET_DEMOC); + func_800C0808(globalCtx, camIdx, player, CAM_SET_CS_C); break; case 3020: D_8012156C[1].timerInit = timer - 1; @@ -380,7 +380,7 @@ s32 OnePointCutscene_SetInfo(GlobalContext* globalCtx, s16 camIdx, s16 csId, Act csInfo->keyFrames = D_8012156C; csInfo->keyFrameCnt = 2; - func_800C0808(globalCtx, camIdx, player, CAM_SET_DEMOC); + func_800C0808(globalCtx, camIdx, player, CAM_SET_CS_C); func_8002DF54(globalCtx, NULL, 8); break; case 3010: @@ -389,13 +389,13 @@ s32 OnePointCutscene_SetInfo(GlobalContext* globalCtx, s16 camIdx, s16 csId, Act csInfo->keyFrames = D_801215BC; csInfo->keyFrameCnt = 1; - func_800C0808(globalCtx, camIdx, player, CAM_SET_DEMOC); + func_800C0808(globalCtx, camIdx, player, CAM_SET_CS_C); break; case 3070: csInfo->keyFrames = D_801215E4; csInfo->keyFrameCnt = 10; - func_800C0808(globalCtx, camIdx, player, CAM_SET_DEMOC); + func_800C0808(globalCtx, camIdx, player, CAM_SET_CS_C); i = Quake_Add(csCam, 3); Quake_SetSpeed(i, 22000); @@ -406,7 +406,7 @@ s32 OnePointCutscene_SetInfo(GlobalContext* globalCtx, s16 camIdx, s16 csId, Act csInfo->keyFrames = D_80121774; csInfo->keyFrameCnt = 4; - func_800C0808(globalCtx, camIdx, player, CAM_SET_DEMOC); + func_800C0808(globalCtx, camIdx, player, CAM_SET_CS_C); break; case 3090: func_8002DF54(globalCtx, NULL, 8); @@ -414,14 +414,14 @@ s32 OnePointCutscene_SetInfo(GlobalContext* globalCtx, s16 camIdx, s16 csId, Act csInfo->keyFrames = D_80121814; csInfo->keyFrameCnt = 4; - func_800C0808(globalCtx, camIdx, player, CAM_SET_DEMOC); + func_800C0808(globalCtx, camIdx, player, CAM_SET_CS_C); break; case 3100: VEC_SET(spB4, 0.0f, -280.0f, -1400.0f); Actor_GetFocus(&spA0, actor); spC0 = spA0.pos; - func_800C0808(globalCtx, camIdx, player, CAM_SET_CIRCLE6); + func_800C0808(globalCtx, camIdx, player, CAM_SET_PIVOT_VERTICAL); Gameplay_CameraSetAtEye(globalCtx, camIdx, &spC0, &spB4); csCam->roll = 0; csCam->fov = 70.0f; @@ -433,7 +433,7 @@ s32 OnePointCutscene_SetInfo(GlobalContext* globalCtx, s16 camIdx, s16 csId, Act csInfo->keyFrameCnt = 2; func_8002DF54(globalCtx, NULL, 8); - func_800C0808(globalCtx, camIdx, player, CAM_SET_DEMOC); + func_800C0808(globalCtx, camIdx, player, CAM_SET_CS_C); i = Quake_Add(csCam, 1); Quake_SetSpeed(i, 24000); @@ -445,10 +445,10 @@ s32 OnePointCutscene_SetInfo(GlobalContext* globalCtx, s16 camIdx, s16 csId, Act csInfo->keyFrameCnt = 2; func_8002DF54(globalCtx, NULL, 8); - func_800C0808(globalCtx, camIdx, player, CAM_SET_DEMOC); + func_800C0808(globalCtx, camIdx, player, CAM_SET_CS_C); break; case 3050: - Gameplay_CameraChangeSetting(globalCtx, camIdx, CAM_SET_DEMO3); + Gameplay_CameraChangeSetting(globalCtx, camIdx, CAM_SET_CS_3); func_8002DF54(globalCtx, &player->actor, 5); OnePointCutscene_SetCsCamPoints(csCam, D_80120304 | 0x2000, D_80120300, D_8012013C, D_8012021C); func_80078884(NA_SE_SY_CORRECT_CHIME); @@ -479,14 +479,14 @@ s32 OnePointCutscene_SetInfo(GlobalContext* globalCtx, s16 camIdx, s16 csId, Act csInfo->keyFrameCnt = 2; func_8002DF54(globalCtx, NULL, 8); - func_800C0808(globalCtx, camIdx, player, CAM_SET_DEMOC); + func_800C0808(globalCtx, camIdx, player, CAM_SET_CS_C); break; case 3130: csInfo->keyFrames = D_80121A44; csInfo->keyFrameCnt = 12; func_8002DF54(globalCtx, NULL, 8); - func_800C0808(globalCtx, camIdx, player, CAM_SET_DEMOC); + func_800C0808(globalCtx, camIdx, player, CAM_SET_CS_C); csCam->unk_14C |= 2; break; case 3140: @@ -497,7 +497,7 @@ s32 OnePointCutscene_SetInfo(GlobalContext* globalCtx, s16 camIdx, s16 csId, Act csInfo->keyFrames = D_80121C24; csInfo->keyFrameCnt = 7; - func_800C0808(globalCtx, camIdx, player, CAM_SET_DEMOC); + func_800C0808(globalCtx, camIdx, player, CAM_SET_CS_C); break; case 3150: spC0.x = 1890.0f; @@ -556,7 +556,7 @@ s32 OnePointCutscene_SetInfo(GlobalContext* globalCtx, s16 camIdx, s16 csId, Act func_8002DF38(globalCtx, actor, 1); break; case 3190: - Gameplay_CameraChangeSetting(globalCtx, camIdx, CAM_SET_MORI3); + Gameplay_CameraChangeSetting(globalCtx, camIdx, CAM_SET_FOREST_DEFEAT_POE); Camera_ChangeMode(mainCam, CAM_MODE_NORMAL); func_8002DF38(globalCtx, actor, 0xC); break; @@ -605,7 +605,7 @@ s32 OnePointCutscene_SetInfo(GlobalContext* globalCtx, s16 camIdx, s16 csId, Act case 3220: Actor_GetFocus(&spA0, actor); spC0 = spA0.pos; - func_800C0808(globalCtx, camIdx, player, CAM_SET_CIRCLE6); + func_800C0808(globalCtx, camIdx, player, CAM_SET_PIVOT_VERTICAL); Actor_GetWorld(&spA0, &player->actor); OLib_Vec3fDiffToVecSphGeo(&spD0, &spC0, &spA0.pos); spD0.yaw += 0x3E8; @@ -625,10 +625,10 @@ s32 OnePointCutscene_SetInfo(GlobalContext* globalCtx, s16 camIdx, s16 csId, Act csInfo->keyFrameCnt = 3; func_8002DF54(globalCtx, NULL, 8); - func_800C0808(globalCtx, camIdx, player, CAM_SET_DEMOC); + func_800C0808(globalCtx, camIdx, player, CAM_SET_CS_C); break; case 6001: - Gameplay_CameraChangeSetting(globalCtx, camIdx, CAM_SET_DEMO3); + Gameplay_CameraChangeSetting(globalCtx, camIdx, CAM_SET_CS_3); func_8002DF54(globalCtx, NULL, 8); Actor_GetWorld(&spA0, actor); if (spA0.pos.z > -750.0f) { @@ -643,7 +643,7 @@ s32 OnePointCutscene_SetInfo(GlobalContext* globalCtx, s16 camIdx, s16 csId, Act Quake_SetCountdown(i, D_801208E4 - 10); break; case 3400: - Gameplay_CameraChangeSetting(globalCtx, camIdx, CAM_SET_DEMO3); + Gameplay_CameraChangeSetting(globalCtx, camIdx, CAM_SET_CS_3); func_8002DF38(globalCtx, &player->actor, 8); OnePointCutscene_SetCsCamPoints(csCam, D_8012069C | 0x2000, D_80120698, D_801204D4, D_801205B4); OnePointCutscene_Vec3sToVec3f(&mainCam->eye, &D_801205B4[D_80120694 - 2].pos); @@ -661,10 +661,10 @@ s32 OnePointCutscene_SetInfo(GlobalContext* globalCtx, s16 camIdx, s16 csId, Act csInfo->keyFrameCnt = 9; func_8002DF54(globalCtx, NULL, 8); - func_800C0808(globalCtx, camIdx, player, CAM_SET_DEMOC); + func_800C0808(globalCtx, camIdx, player, CAM_SET_CS_C); break; case 3310: - Gameplay_CameraChangeSetting(globalCtx, camIdx, CAM_SET_HIDAN2); + Gameplay_CameraChangeSetting(globalCtx, camIdx, CAM_SET_FIRE_STAIRCASE); func_8002DF54(globalCtx, NULL, 8); Gameplay_CopyCamera(globalCtx, camIdx, MAIN_CAM); @@ -683,7 +683,7 @@ s32 OnePointCutscene_SetInfo(GlobalContext* globalCtx, s16 camIdx, s16 csId, Act csInfo->keyFrames = D_80121F1C; csInfo->keyFrameCnt = 4; - func_800C0808(globalCtx, camIdx, player, CAM_SET_DEMOC); + func_800C0808(globalCtx, camIdx, player, CAM_SET_CS_C); i = Quake_Add(csCam, 3); Quake_SetSpeed(i, 12000); @@ -699,7 +699,7 @@ s32 OnePointCutscene_SetInfo(GlobalContext* globalCtx, s16 camIdx, s16 csId, Act csInfo->keyFrameCnt = 4; func_8002DF54(globalCtx, NULL, 8); - func_800C0808(globalCtx, camIdx, player, CAM_SET_DEMOC); + func_800C0808(globalCtx, camIdx, player, CAM_SET_CS_C); i = Quake_Add(csCam, 3); Quake_SetSpeed(i, 12000); @@ -711,7 +711,7 @@ s32 OnePointCutscene_SetInfo(GlobalContext* globalCtx, s16 camIdx, s16 csId, Act csInfo->keyFrameCnt = 3; func_8002DF38(globalCtx, &player->actor, 8); - func_800C0808(globalCtx, camIdx, player, CAM_SET_DEMOC); + func_800C0808(globalCtx, camIdx, player, CAM_SET_CS_C); break; case 3350: D_801220D4[0].atTargetInit = globalCtx->view.lookAt; @@ -730,21 +730,21 @@ s32 OnePointCutscene_SetInfo(GlobalContext* globalCtx, s16 camIdx, s16 csId, Act csInfo->keyFrames = D_801220D4; csInfo->keyFrameCnt = 5; - func_800C0808(globalCtx, camIdx, player, CAM_SET_DEMOC); + func_800C0808(globalCtx, camIdx, player, CAM_SET_CS_C); break; case 3330: csInfo->keyFrames = D_8012219C; csInfo->keyFrameCnt = 7; func_8002DF38(globalCtx, &player->actor, 8); - func_800C0808(globalCtx, camIdx, player, CAM_SET_DEMOC); + func_800C0808(globalCtx, camIdx, player, CAM_SET_CS_C); break; case 3410: csInfo->keyFrames = D_801222B4; csInfo->keyFrameCnt = 5; func_8002DF54(globalCtx, NULL, 8); - func_800C0808(globalCtx, camIdx, player, CAM_SET_DEMOC); + func_800C0808(globalCtx, camIdx, player, CAM_SET_CS_C); i = Quake_Add(csCam, 1); Quake_SetSpeed(i, 32000); @@ -756,7 +756,7 @@ s32 OnePointCutscene_SetInfo(GlobalContext* globalCtx, s16 camIdx, s16 csId, Act csInfo->keyFrameCnt = 2; func_8002DF38(globalCtx, &player->actor, 8); - func_800C0808(globalCtx, camIdx, player, CAM_SET_DEMOC); + func_800C0808(globalCtx, camIdx, player, CAM_SET_CS_C); i = Quake_Add(csCam, 1); Quake_SetSpeed(i, 32000); @@ -768,7 +768,7 @@ s32 OnePointCutscene_SetInfo(GlobalContext* globalCtx, s16 camIdx, s16 csId, Act csInfo->keyFrameCnt = 6; func_8002DF54(globalCtx, NULL, 8); - func_800C0808(globalCtx, camIdx, player, CAM_SET_DEMOC); + func_800C0808(globalCtx, camIdx, player, CAM_SET_CS_C); player->stateFlags1 |= 0x20000000; player->actor.freezeTimer = 90; @@ -782,7 +782,7 @@ s32 OnePointCutscene_SetInfo(GlobalContext* globalCtx, s16 camIdx, s16 csId, Act csInfo->keyFrameCnt = 7; func_8002DF54(globalCtx, NULL, 8); - func_800C0808(globalCtx, camIdx, player, CAM_SET_DEMOC); + func_800C0808(globalCtx, camIdx, player, CAM_SET_CS_C); i = Quake_Add(csCam, 1); Quake_SetSpeed(i, 32000); @@ -794,7 +794,7 @@ s32 OnePointCutscene_SetInfo(GlobalContext* globalCtx, s16 camIdx, s16 csId, Act csInfo->keyFrameCnt = 5; player->actor.shape.rot.y = player->actor.world.rot.y = player->currentYaw = 0x3FFC; - func_800C0808(globalCtx, camIdx, player, CAM_SET_DEMOC); + func_800C0808(globalCtx, camIdx, player, CAM_SET_CS_C); func_8002DF54(globalCtx, NULL, 8); break; case 4110: @@ -802,7 +802,7 @@ s32 OnePointCutscene_SetInfo(GlobalContext* globalCtx, s16 camIdx, s16 csId, Act csInfo->keyFrameCnt = 3; func_8002DF38(globalCtx, &player->actor, 8); - func_800C0808(globalCtx, camIdx, player, CAM_SET_DEMOC); + func_800C0808(globalCtx, camIdx, player, CAM_SET_CS_C); break; case 4120: func_8002DF54(globalCtx, NULL, 8); @@ -810,13 +810,13 @@ s32 OnePointCutscene_SetInfo(GlobalContext* globalCtx, s16 camIdx, s16 csId, Act csInfo->keyFrames = D_80122714; csInfo->keyFrameCnt = 4; - func_800C0808(globalCtx, camIdx, player, CAM_SET_DEMOC); + func_800C0808(globalCtx, camIdx, player, CAM_SET_CS_C); break; case 4140: csInfo->keyFrames = D_801227B4; csInfo->keyFrameCnt = 6; - func_800C0808(globalCtx, camIdx, player, CAM_SET_DEMOC); + func_800C0808(globalCtx, camIdx, player, CAM_SET_CS_C); Camera_ChangeMode(mainCam, CAM_MODE_NORMAL); break; case 4150: @@ -825,7 +825,7 @@ s32 OnePointCutscene_SetInfo(GlobalContext* globalCtx, s16 camIdx, s16 csId, Act func_8002DF54(globalCtx, NULL, 8); Camera_ChangeMode(mainCam, CAM_MODE_NORMAL); - func_800C0808(globalCtx, camIdx, player, CAM_SET_DEMOC); + func_800C0808(globalCtx, camIdx, player, CAM_SET_CS_C); break; case 4160: csInfo->keyFrames = D_8012296C; @@ -833,7 +833,7 @@ s32 OnePointCutscene_SetInfo(GlobalContext* globalCtx, s16 camIdx, s16 csId, Act func_8002DF54(globalCtx, NULL, 8); Camera_ChangeMode(mainCam, CAM_MODE_NORMAL); - func_800C0808(globalCtx, camIdx, player, CAM_SET_DEMOC); + func_800C0808(globalCtx, camIdx, player, CAM_SET_CS_C); break; case 4170: csInfo->keyFrames = D_80122A0C; @@ -841,7 +841,7 @@ s32 OnePointCutscene_SetInfo(GlobalContext* globalCtx, s16 camIdx, s16 csId, Act func_8002DF54(globalCtx, NULL, 8); Camera_ChangeMode(mainCam, CAM_MODE_NORMAL); - func_800C0808(globalCtx, camIdx, player, CAM_SET_DEMOC); + func_800C0808(globalCtx, camIdx, player, CAM_SET_CS_C); break; case 4190: csInfo->keyFrames = D_80122A5C; @@ -849,7 +849,7 @@ s32 OnePointCutscene_SetInfo(GlobalContext* globalCtx, s16 camIdx, s16 csId, Act func_8002DF38(globalCtx, &player->actor, 8); Camera_ChangeMode(mainCam, CAM_MODE_NORMAL); - func_800C0808(globalCtx, camIdx, player, CAM_SET_DEMOC); + func_800C0808(globalCtx, camIdx, player, CAM_SET_CS_C); break; case 4200: csInfo->keyFrames = D_80122B9C; @@ -857,7 +857,7 @@ s32 OnePointCutscene_SetInfo(GlobalContext* globalCtx, s16 camIdx, s16 csId, Act func_8002DF38(globalCtx, &player->actor, 8); Camera_ChangeMode(mainCam, CAM_MODE_NORMAL); - func_800C0808(globalCtx, camIdx, player, CAM_SET_DEMOC); + func_800C0808(globalCtx, camIdx, player, CAM_SET_CS_C); break; case 4210: player->actor.freezeTimer = timer; @@ -865,7 +865,7 @@ s32 OnePointCutscene_SetInfo(GlobalContext* globalCtx, s16 camIdx, s16 csId, Act csInfo->keyFrames = D_80122C14; csInfo->keyFrameCnt = 1; - func_800C0808(globalCtx, camIdx, player, CAM_SET_DEMOC); + func_800C0808(globalCtx, camIdx, player, CAM_SET_CS_C); i = Quake_Add(csCam, 3); Quake_SetSpeed(i, 12000); @@ -876,7 +876,7 @@ s32 OnePointCutscene_SetInfo(GlobalContext* globalCtx, s16 camIdx, s16 csId, Act csInfo->keyFrames = (player->actor.world.pos.z < -15.0f) ? D_80122C3C : D_80122C64; csInfo->keyFrameCnt = 1; - func_800C0808(globalCtx, camIdx, player, CAM_SET_DEMOC); + func_800C0808(globalCtx, camIdx, player, CAM_SET_CS_C); func_8002DF38(globalCtx, &player->actor, 1); i = Quake_Add(csCam, 3); @@ -889,7 +889,7 @@ s32 OnePointCutscene_SetInfo(GlobalContext* globalCtx, s16 camIdx, s16 csId, Act csInfo->keyFrameCnt = 1; func_8002DF54(globalCtx, NULL, 8); - func_800C0808(globalCtx, camIdx, player, CAM_SET_DEMOC); + func_800C0808(globalCtx, camIdx, player, CAM_SET_CS_C); break; case 3260: func_8002DF54(globalCtx, NULL, 8); @@ -898,7 +898,7 @@ s32 OnePointCutscene_SetInfo(GlobalContext* globalCtx, s16 camIdx, s16 csId, Act csInfo->keyFrames = D_80122CB4; csInfo->keyFrameCnt = 2; - func_800C0808(globalCtx, camIdx, player, CAM_SET_DEMOC); + func_800C0808(globalCtx, camIdx, player, CAM_SET_CS_C); break; case 3261: func_8002DF54(globalCtx, NULL, 8); @@ -907,19 +907,19 @@ s32 OnePointCutscene_SetInfo(GlobalContext* globalCtx, s16 camIdx, s16 csId, Act csInfo->keyFrames = D_80122D04; csInfo->keyFrameCnt = 2; - func_800C0808(globalCtx, camIdx, player, CAM_SET_DEMOC); + func_800C0808(globalCtx, camIdx, player, CAM_SET_CS_C); break; case 8010: csInfo->keyFrames = D_80122D54; csInfo->keyFrameCnt = 3; - func_800C0808(globalCtx, camIdx, player, CAM_SET_DEMOC); + func_800C0808(globalCtx, camIdx, player, CAM_SET_CS_C); break; case 8002: csInfo->keyFrames = D_80122DCC; csInfo->keyFrameCnt = 3; - func_800C0808(globalCtx, camIdx, player, CAM_SET_DEMOC); + func_800C0808(globalCtx, camIdx, player, CAM_SET_CS_C); break; case 8700: Actor_GetFocus(&spA0, actor); @@ -930,7 +930,7 @@ s32 OnePointCutscene_SetInfo(GlobalContext* globalCtx, s16 camIdx, s16 csId, Act csInfo->keyFrames = D_80122E44[timer & 1]; csInfo->keyFrameCnt = 7; - func_800C0808(globalCtx, camIdx, player, CAM_SET_DEMOC); + func_800C0808(globalCtx, camIdx, player, CAM_SET_CS_C); break; case 1100: { s32 tempDiff = globalCtx->state.frames - sPrevFrameCs1100; @@ -948,14 +948,14 @@ s32 OnePointCutscene_SetInfo(GlobalContext* globalCtx, s16 camIdx, s16 csId, Act csInfo->keyFrames = D_8012313C; csInfo->keyFrameCnt = 3; } - func_800C0808(globalCtx, camIdx, player, CAM_SET_DEMOC); + func_800C0808(globalCtx, camIdx, player, CAM_SET_CS_C); sPrevFrameCs1100 = globalCtx->state.frames; } break; case 9806: csCam->timer = -99; if (func_800C0CB8(globalCtx)) { - func_800C0808(globalCtx, camIdx, player, CAM_SET_ITEM2); + func_800C0808(globalCtx, camIdx, player, CAM_SET_TURN_AROUND); csCam->data2 = 0xC; } else { Gameplay_CopyCamera(globalCtx, camIdx, MAIN_CAM); @@ -982,7 +982,7 @@ s32 OnePointCutscene_SetInfo(GlobalContext* globalCtx, s16 camIdx, s16 csId, Act csInfo->keyFrames = D_801231B4; csInfo->keyFrameCnt = 4; - func_800C0808(globalCtx, camIdx, player, CAM_SET_DEMOC); + func_800C0808(globalCtx, camIdx, player, CAM_SET_CS_C); } else { D_80123254[1].timerInit = timer - 1; D_80123254[0].fovTargetInit = mainCam->fov; @@ -992,7 +992,7 @@ s32 OnePointCutscene_SetInfo(GlobalContext* globalCtx, s16 camIdx, s16 csId, Act csInfo->keyFrames = D_80123254; csInfo->keyFrameCnt = 2; - func_800C0808(globalCtx, camIdx, player, CAM_SET_DEMOC); + func_800C0808(globalCtx, camIdx, player, CAM_SET_CS_C); } break; case 1000: @@ -1003,49 +1003,49 @@ s32 OnePointCutscene_SetInfo(GlobalContext* globalCtx, s16 camIdx, s16 csId, Act csInfo->keyFrames = D_801232A4; csInfo->keyFrameCnt = 1; - func_800C0808(globalCtx, camIdx, player, CAM_SET_DEMOC); + func_800C0808(globalCtx, camIdx, player, CAM_SET_CS_C); break; case 8603: csInfo->keyFrames = D_801232CC; csInfo->keyFrameCnt = 5; - func_800C0808(globalCtx, camIdx, player, CAM_SET_DEMOC); + func_800C0808(globalCtx, camIdx, player, CAM_SET_CS_C); break; case 8604: csInfo->keyFrames = D_80123394; csInfo->keyFrameCnt = 5; - func_800C0808(globalCtx, camIdx, player, CAM_SET_DEMOC); + func_800C0808(globalCtx, camIdx, player, CAM_SET_CS_C); break; case 4000: csInfo->keyFrames = D_8012345C; csInfo->keyFrameCnt = 4; - func_800C0808(globalCtx, camIdx, player, CAM_SET_DEMOC); + func_800C0808(globalCtx, camIdx, player, CAM_SET_CS_C); break; case 4010: csInfo->keyFrames = D_801234FC; csInfo->keyFrameCnt = 5; - func_800C0808(globalCtx, camIdx, player, CAM_SET_DEMOC); + func_800C0808(globalCtx, camIdx, player, CAM_SET_CS_C); break; case 4011: csInfo->keyFrames = D_801235C4; csInfo->keyFrameCnt = 5; - func_800C0808(globalCtx, camIdx, player, CAM_SET_DEMOC); + func_800C0808(globalCtx, camIdx, player, CAM_SET_CS_C); break; case 4020: csInfo->keyFrames = D_8012368C; csInfo->keyFrameCnt = 4; - func_800C0808(globalCtx, camIdx, player, CAM_SET_DEMOC); + func_800C0808(globalCtx, camIdx, player, CAM_SET_CS_C); break; case 4021: csInfo->keyFrames = D_8012372C; csInfo->keyFrameCnt = 4; - func_800C0808(globalCtx, camIdx, player, CAM_SET_DEMOC); + func_800C0808(globalCtx, camIdx, player, CAM_SET_CS_C); break; case 4022: csCam->timer = D_801237CC[0].timerInit + D_801237CC[3].timerInit + D_801237CC[1].timerInit + @@ -1054,7 +1054,7 @@ s32 OnePointCutscene_SetInfo(GlobalContext* globalCtx, s16 camIdx, s16 csId, Act csInfo->keyFrames = D_801237CC; csInfo->keyFrameCnt = 5; - func_800C0808(globalCtx, camIdx, player, CAM_SET_DEMOC); + func_800C0808(globalCtx, camIdx, player, CAM_SET_CS_C); break; case 9703: D_80123894[0].atTargetInit = globalCtx->view.lookAt; @@ -1068,7 +1068,7 @@ s32 OnePointCutscene_SetInfo(GlobalContext* globalCtx, s16 camIdx, s16 csId, Act csInfo->keyFrames = D_80123894; csInfo->keyFrameCnt = 3; - func_800C0808(globalCtx, camIdx, player, CAM_SET_DEMOC); + func_800C0808(globalCtx, camIdx, player, CAM_SET_CS_C); break; case 9704: D_8012390C[0].atTargetInit = globalCtx->view.lookAt; @@ -1078,7 +1078,7 @@ s32 OnePointCutscene_SetInfo(GlobalContext* globalCtx, s16 camIdx, s16 csId, Act csInfo->keyFrames = D_8012390C; csInfo->keyFrameCnt = 2; - func_800C0808(globalCtx, camIdx, player, CAM_SET_DEMOC); + func_800C0808(globalCtx, camIdx, player, CAM_SET_CS_C); break; case 9705: D_8012395C[0].atTargetInit = globalCtx->view.lookAt; @@ -1088,7 +1088,7 @@ s32 OnePointCutscene_SetInfo(GlobalContext* globalCtx, s16 camIdx, s16 csId, Act csInfo->keyFrames = D_8012395C; csInfo->keyFrameCnt = 3; - func_800C0808(globalCtx, camIdx, player, CAM_SET_DEMOC); + func_800C0808(globalCtx, camIdx, player, CAM_SET_CS_C); break; case 5110: D_801239D4[1].timerInit = 10; @@ -1096,7 +1096,7 @@ s32 OnePointCutscene_SetInfo(GlobalContext* globalCtx, s16 camIdx, s16 csId, Act csInfo->keyFrames = D_801239D4; csInfo->keyFrameCnt = 3; - func_800C0808(globalCtx, camIdx, (Player*)actor, CAM_SET_DEMOC); + func_800C0808(globalCtx, camIdx, (Player*)actor, CAM_SET_CS_C); break; default: osSyncPrintf(VT_COL(RED, WHITE) "onepointdemo camera: demo number not found !! (%d)\n" VT_RST, csId); @@ -1259,7 +1259,7 @@ s32 OnePointCutscene_Attention(GlobalContext* globalCtx, Actor* actor) { sUnused = -1; parentCam = globalCtx->cameraPtrs[MAIN_CAM]; - if (parentCam->mode == CAM_MODE_BOOMFOLLLOW) { + if (parentCam->mode == CAM_MODE_FOLLOWBOOMERANG) { osSyncPrintf(VT_COL(YELLOW, BLACK) "actor attention demo camera: change mode BOOKEEPON -> NORMAL\n" VT_RST); Camera_ChangeMode(parentCam, CAM_MODE_NORMAL); } @@ -1272,7 +1272,7 @@ s32 OnePointCutscene_Attention(GlobalContext* globalCtx, Actor* actor) { parentCam = globalCtx->cameraPtrs[parentCam->childCamIdx]; if (parentCam == NULL) { break; - } else if (parentCam->setting != CAM_SET_DEMO4) { + } else if (parentCam->setting != CAM_SET_CS_ATTENTION) { if (vLastHigherCat == -1) { continue; } else { @@ -1363,7 +1363,7 @@ s32 OnePointCutscene_CheckForCategory(GlobalContext* globalCtx, s32 category) { while (parentCam->childCamIdx != SUBCAM_FREE) { parentCam = globalCtx->cameraPtrs[parentCam->childCamIdx]; - if ((parentCam == NULL) || (parentCam->setting != CAM_SET_DEMO4)) { + if ((parentCam == NULL) || (parentCam->setting != CAM_SET_CS_ATTENTION)) { break; } else if (category == parentCam->target->category) { return true; diff --git a/src/code/z_play.c b/src/code/z_play.c index 7933d67f7..11e1cea0e 100644 --- a/src/code/z_play.c +++ b/src/code/z_play.c @@ -1212,7 +1212,7 @@ void Gameplay_Draw(GlobalContext* globalCtx) { if ((HREG(80) != 10) || (HREG(83) != 0)) { if ((globalCtx->skyboxCtx.unk_140 != 0) && - (GET_ACTIVE_CAM(globalCtx)->setting != CAM_SET_PREREND0)) { + (GET_ACTIVE_CAM(globalCtx)->setting != CAM_SET_PREREND_FIXED)) { Vec3f sp74; Camera_GetSkyboxOffset(&sp74, GET_ACTIVE_CAM(globalCtx)); diff --git a/src/code/z_room.c b/src/code/z_room.c index 29969e291..061e37a17 100644 --- a/src/code/z_room.c +++ b/src/code/z_room.c @@ -320,7 +320,7 @@ void func_80096680(GlobalContext* globalCtx, Room* room, u32 flags) { OPEN_DISPS(globalCtx->state.gfxCtx, "../z_room.c", 628); camera = GET_ACTIVE_CAM(globalCtx); - sp9C = (camera->setting == CAM_SET_PREREND0); + sp9C = (camera->setting == CAM_SET_PREREND_FIXED); polygon1 = &room->mesh->polygon1; polygonDlist = SEGMENTED_TO_VIRTUAL(polygon1->dlist); sp98 = (flags & 1) && sp9C && polygon1->single.source && !(SREG(25) & 1); @@ -415,7 +415,7 @@ void func_80096B6C(GlobalContext* globalCtx, Room* room, u32 flags) { OPEN_DISPS(globalCtx->state.gfxCtx, "../z_room.c", 752); camera = GET_ACTIVE_CAM(globalCtx); - sp98 = (camera->setting == CAM_SET_PREREND0); + sp98 = (camera->setting == CAM_SET_PREREND_FIXED); polygon1 = &room->mesh->polygon1; polygonDlist = SEGMENTED_TO_VIRTUAL(polygon1->dlist); bgImage = func_80096A74(polygon1, globalCtx); |
