summaryrefslogtreecommitdiffstats
path: root/src/control/Record.h
blob: e52a623e6d8311d3b1a41e7c2a021753268debaa (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
#pragma once

class CVehicle;

enum {
	RECORDSTATE_0,
	RECORDSTATE_1,
	RECORDSTATE_2,
};

class CRecordDataForChase
{
public:
	static uint8 &Status;

	static void SaveOrRetrieveDataForThisFrame(void);
	static void ProcessControlCars(void);
	static void SaveOrRetrieveCarPositions(void);
	static void StartChaseScene(float);
	static void CleanUpChaseScene();
	static void RemoveCarFromChase(int32);
	static CVehicle* TurnChaseCarIntoScriptCar(int32);
	static void Init(void);
};


class CRecordDataForGame
{
public:
	static uint16 &RecordingState;

	static void SaveOrRetrieveDataForThisFrame(void);
	static void Init(void);
};