2019-05-29 20:02:58 +02:00
|
|
|
#pragma once
|
|
|
|
|
2020-02-16 21:08:54 +01:00
|
|
|
class CVehicle;
|
|
|
|
|
2019-06-28 12:34:02 +02:00
|
|
|
enum {
|
|
|
|
RECORDSTATE_0,
|
|
|
|
RECORDSTATE_1,
|
|
|
|
RECORDSTATE_2,
|
|
|
|
};
|
|
|
|
|
2019-09-12 02:43:18 +02:00
|
|
|
class CRecordDataForChase
|
2019-05-29 20:02:58 +02:00
|
|
|
{
|
|
|
|
public:
|
2019-09-12 02:43:18 +02:00
|
|
|
static uint8 &Status;
|
|
|
|
|
2019-10-19 00:23:40 +02:00
|
|
|
static void SaveOrRetrieveDataForThisFrame(void);
|
2019-09-12 02:43:18 +02:00
|
|
|
static void ProcessControlCars(void);
|
|
|
|
static void SaveOrRetrieveCarPositions(void);
|
2020-01-03 17:48:13 +01:00
|
|
|
static void StartChaseScene(float);
|
|
|
|
static void CleanUpChaseScene();
|
2020-02-16 21:08:54 +01:00
|
|
|
static void RemoveCarFromChase(int32);
|
|
|
|
static CVehicle* TurnChaseCarIntoScriptCar(int32);
|
2019-05-30 00:47:33 +02:00
|
|
|
};
|
|
|
|
|
2019-09-12 02:43:18 +02:00
|
|
|
|
|
|
|
class CRecordDataForGame
|
2019-05-30 00:47:33 +02:00
|
|
|
{
|
|
|
|
public:
|
2019-09-12 02:43:18 +02:00
|
|
|
static uint16 &RecordingState;
|
2019-10-19 00:23:40 +02:00
|
|
|
|
|
|
|
static void SaveOrRetrieveDataForThisFrame(void);
|
2019-05-30 00:47:33 +02:00
|
|
|
};
|