diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-11-01 16:21:05 +0100 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-11-01 16:21:05 +0100 |
commit | 5edd9e75da54534fe48c779d4f6c6cd17535be10 (patch) | |
tree | 5505f214854be20adf4fb71354be7129713078c2 /src/control/Replay.cpp | |
parent | fixed KYFC (diff) | |
download | re3-5edd9e75da54534fe48c779d4f6c6cd17535be10.tar re3-5edd9e75da54534fe48c779d4f6c6cd17535be10.tar.gz re3-5edd9e75da54534fe48c779d4f6c6cd17535be10.tar.bz2 re3-5edd9e75da54534fe48c779d4f6c6cd17535be10.tar.lz re3-5edd9e75da54534fe48c779d4f6c6cd17535be10.tar.xz re3-5edd9e75da54534fe48c779d4f6c6cd17535be10.tar.zst re3-5edd9e75da54534fe48c779d4f6c6cd17535be10.zip |
Diffstat (limited to 'src/control/Replay.cpp')
-rw-r--r-- | src/control/Replay.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/control/Replay.cpp b/src/control/Replay.cpp index 4fdd3439..e28bbf35 100644 --- a/src/control/Replay.cpp +++ b/src/control/Replay.cpp @@ -53,7 +53,7 @@ #include "Fluff.h" #include "WaterCreatures.h" -//--MIAMI: file done except TODO +//--MIAMI: file done uint8 CReplay::Mode; CAddressInReplayBuffer CReplay::Record; @@ -158,7 +158,7 @@ static void(*CBArray[])(CAnimBlendAssociation*, void*) = &CPed::FinishedAttackCB, &CPed::FinishFightMoveCB, &PhonePutDownCB, &PhonePickUpCB, &CPed::PedAnimDoorCloseRollingCB, &CPed::FinishJumpCB, &CPed::PedLandCB, &CPed::RestoreHeadingRateCB, &CPed::PedSetQuickDraggedOutCarPositionCB, &CPed::PedSetDraggedOutCarPositionCB, - &CPed::PedSetPreviousStateCB, &CPed::FinishedReloadCB, /*&CPed::PedSetGetInCarPositionCB, TODO(MIAMI)*/ + &CPed::PedSetPreviousStateCB, &CPed::FinishedReloadCB, &CPed::PedSetGetInCarPositionCB, &CPed::PedAnimShuffleCB, &CPed::DeleteSunbatheIdleAnimCB, &StartTalkingOnMobileCB, &FinishTalkingOnMobileCB }; @@ -396,7 +396,8 @@ void CReplay::RecordThisFrame(void) misc->cam_shake_start = TheCamera.m_uiCamShakeStart; misc->cam_shake_strength = TheCamera.m_fCamShakeForce; misc->cur_area = CGame::currArea; - //misc->special_fx_flags; // TODO(MIAMI)!!! + misc->video_cam = CSpecialFX::bVideoCam; + misc->lift_cam = CSpecialFX::bLiftCam; Record.m_nOffset += sizeof(*misc); tEndOfFramePacket* eof = (tEndOfFramePacket*)&Record.m_pBase[Record.m_nOffset]; eof->type = REPLAYPACKET_ENDOFFRAME; @@ -1139,7 +1140,8 @@ bool CReplay::PlayBackThisFrameInterpolation(CAddressInReplayBuffer *buffer, flo tMiscPacket* pm = (tMiscPacket*)&ptr[offset]; TheCamera.m_uiCamShakeStart = pm->cam_shake_start; TheCamera.m_fCamShakeForce = pm->cam_shake_strength; - // TODO(MIAMI): SpecialFX + CSpecialFX::bVideoCam = pm->video_cam; + CSpecialFX::bLiftCam = pm->lift_cam; CGame::currArea = pm->cur_area; buffer->m_nOffset += sizeof(tMiscPacket); break; |