mirror of
https://github.com/halpz/re3.git
synced 2025-07-04 01:20:51 +00:00
record init
This commit is contained in:
@ -21,6 +21,7 @@
|
||||
#include "Hud.h"
|
||||
#include "Text.h"
|
||||
#include "Timer.h"
|
||||
#include "Record.h"
|
||||
#include "World.h"
|
||||
#include "Vehicle.h"
|
||||
#include "Ped.h"
|
||||
@ -657,9 +658,14 @@ void CPad::Update(int16 unk)
|
||||
{
|
||||
OldState = NewState;
|
||||
|
||||
NewState = ReconcileTwoControllersInput(PCTempKeyState, PCTempJoyState);
|
||||
NewState = ReconcileTwoControllersInput(PCTempMouseState, NewState);
|
||||
|
||||
#if (defined GTA_PS2 || defined FIX_BUGS)
|
||||
if (!CRecordDataForGame::IsPlayingBack() /* && !CRecordDataForChase::ShouldThisPadBeLeftAlone(unk) */)
|
||||
#endif
|
||||
{
|
||||
NewState = ReconcileTwoControllersInput(PCTempKeyState, PCTempJoyState);
|
||||
NewState = ReconcileTwoControllersInput(PCTempMouseState, NewState);
|
||||
}
|
||||
|
||||
PCTempJoyState.Clear();
|
||||
PCTempKeyState.Clear();
|
||||
PCTempMouseState.Clear();
|
||||
|
@ -1247,8 +1247,8 @@ CStreaming::StreamVehiclesAndPeds(void)
|
||||
static int timeBeforeNextLoad = 0;
|
||||
static int modelQualityClass = 0;
|
||||
|
||||
if(CRecordDataForGame::RecordingState == RECORDSTATE_1 ||
|
||||
CRecordDataForGame::RecordingState == RECORDSTATE_2)
|
||||
if(CRecordDataForGame::IsRecording() ||
|
||||
CRecordDataForGame::IsPlayingBack())
|
||||
return;
|
||||
|
||||
if(FindPlayerPed()->m_pWanted->AreSwatRequired()){
|
||||
|
@ -130,7 +130,7 @@ void CTimer::Update(void)
|
||||
|
||||
ms_fTimeStepNonClipped = ms_fTimeStep;
|
||||
|
||||
if ( CRecordDataForGame::RecordingState != RECORDSTATE_2 )
|
||||
if ( !CRecordDataForGame::IsPlayingBack() )
|
||||
{
|
||||
ms_fTimeStep = min(3.0f, ms_fTimeStep);
|
||||
|
||||
|
Reference in New Issue
Block a user