summaryrefslogblamecommitdiffstats
path: root/src/control/Record.h
blob: e52a623e6d8311d3b1a41e7c2a021753268debaa (plain) (tree)
1
2
3
4
5
6
7
8
9
10

            

               





                      
                         

       

                             
                                                         

                                                     

                                           

                                                          
                               

  

                        

       
                                      

                                                         
                               
  
#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);
};