summaryrefslogtreecommitdiffstats
path: root/src/control/Record.cpp
blob: d3e4864716aae84d90b5ee25b29c00aed880aef5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
#include "common.h"

#include "Record.h"

#include "FileMgr.h"
#include "Pad.h"
#include "Pools.h"
#include "Streaming.h"
#include "Timer.h"
#include "VehicleModelInfo.h"
#include "World.h"

//--MIAMI: file done

uint16 CRecordDataForGame::RecordingState;

void CRecordDataForGame::Init(void)
{
	RecordingState = STATE_NONE;
}

void CRecordDataForGame::SaveOrRetrieveDataForThisFrame(void)
{
}

uint8* CRecordDataForGame::PackCurrentPadValues(uint8* buf, CControllerState* os, CControllerState* ns)
{
	return nil;
}

uint8* CRecordDataForGame::UnPackCurrentPadValues(uint8* buf, uint8 total, CControllerState* state)
{
	return nil;
}

uint16 CRecordDataForGame::CalcGameChecksum(void)
{
	return 0;
}

uint8 CRecordDataForChase::Status;

void CRecordDataForChase::Init(void)
{
	Status = STATE_NONE;
}

void CRecordDataForChase::SaveOrRetrieveDataForThisFrame(void)
{
}

void CRecordDataForChase::SaveOrRetrieveCarPositions(void)
{
}

void CRecordDataForChase::StoreInfoForCar(CAutomobile* pCar, CCarStateEachFrame* pState)
{
}

void CRecordDataForChase::RestoreInfoForMatrix(CMatrix& matrix, CCarStateEachFrame* pState)
{
}

void CRecordDataForChase::RestoreInfoForCar(CAutomobile* pCar, CCarStateEachFrame* pState, bool stop)
{
}

void CRecordDataForChase::ProcessControlCars(void)
{
}

bool CRecordDataForChase::ShouldThisPadBeLeftAlone(uint8 pad)
{
	// may be wrong
	if (Status == STATE_PLAYBACK_INIT) // this is useless but ps2 def checks if it's STATE_PLAYBACK_INIT
		return false;

	if (Status == STATE_RECORD)
		return pad != 0;

	return false;
}

void CRecordDataForChase::GiveUsACar(int32 mi, CVector pos, float angle, CAutomobile** ppCar, uint8 colour1, uint8 colour2)
{
}

void RemoveUnusedCollision(void)
{
}

void CRecordDataForChase::StartChaseScene(float startTime)
{
}

void CRecordDataForChase::CleanUpChaseScene(void)
{
}

void CRecordDataForChase::SetUpCarsForChaseScene(void)
{
}

void CRecordDataForChase::CleanUpCarsForChaseScene(void)
{
}

void CRecordDataForChase::RemoveCarFromChase(int32 i)
{
}

CVehicle* CRecordDataForChase::TurnChaseCarIntoScriptCar(int32 i)
{
	return nil;
}