2021-05-17 10:52:44 +02:00
|
|
|
#ifndef CUTRECORDER_H
|
|
|
|
#define CUTRECORDER_H
|
|
|
|
|
2021-05-22 09:54:01 +02:00
|
|
|
extern int gCutsceneChaseAutoTest;
|
2021-05-17 10:52:44 +02:00
|
|
|
extern int gCutsceneAsReplay;
|
|
|
|
extern int gCutsceneAsReplay_PlayerId;
|
|
|
|
extern int gCutsceneAsReplay_PlayerChanged;
|
|
|
|
extern int gCutsceneAsReplay_ReserveSlots;
|
|
|
|
extern char gCutsceneRecorderPauseText[64];
|
|
|
|
extern char gCurrentChasePauseText[64];
|
|
|
|
|
2021-05-18 17:05:53 +02:00
|
|
|
extern void InitChaseAutoTest(char* configFilename);
|
2021-05-17 10:52:44 +02:00
|
|
|
extern void InitCutsceneRecorder(char* configFilename);
|
|
|
|
|
|
|
|
extern void CutRec_Reset();
|
2021-05-18 17:05:53 +02:00
|
|
|
extern void CutRec_Step();
|
|
|
|
extern void CutRec_Draw();
|
2021-05-17 10:52:44 +02:00
|
|
|
extern int CutRec_StorePingInfo(int cookieCount, int carId);
|
|
|
|
extern void CutRec_CheckInvalidatePing(int carId, int howHard);
|
|
|
|
extern void CutRec_NextChase(int dir);
|
|
|
|
extern void CutRec_ReserveSlots();
|
|
|
|
extern void CutRec_HandleCarRequest();
|
|
|
|
extern int CutRec_InitPlayers();
|
|
|
|
extern int CutRec_InitMission(char* filename);
|
|
|
|
extern int CutRec_RecordPad(CAR_DATA* cp, uint* t0, char* t1, char* t2);
|
2021-06-22 10:27:49 +02:00
|
|
|
extern int CutRec_SaveChase();
|
2021-05-17 10:52:44 +02:00
|
|
|
|
|
|
|
#ifdef CUTSCENE_RECORDER
|
|
|
|
|
2021-05-22 09:54:01 +02:00
|
|
|
#define _CutRec_IsAutoTestOn() (gCutsceneChaseAutoTest != 0)
|
2021-05-17 10:52:44 +02:00
|
|
|
#define _CutRec_IsOn() (gCutsceneAsReplay != 0)
|
2021-05-18 17:05:53 +02:00
|
|
|
#define _CutRec_Step() CutRec_Step()
|
|
|
|
#define _CutRec_Draw() CutRec_Draw()
|
2021-05-17 10:52:44 +02:00
|
|
|
#define _CutRec_Reset() CutRec_Reset()
|
|
|
|
#define _CutRec_StorePingInfo(a,b) CutRec_StorePingInfo(a,b)
|
|
|
|
#define _CutRec_CheckInvalidatePing(a,b) CutRec_CheckInvalidatePing(a, b)
|
|
|
|
#define _CutRec_NextChase(a) CutRec_NextChase(a)
|
|
|
|
#define _CutRec_ReserveSlots() CutRec_ReserveSlots
|
|
|
|
#define _CutRec_HandleCarRequest() CutRec_HandleCarRequest()
|
|
|
|
#define _CutRec_InitPlayers() CutRec_InitPlayers()
|
|
|
|
#define _CutRec_InitMission(a) CutRec_InitMission(a)
|
|
|
|
#define _CutRec_RecordPad(a, b, c, d) CutRec_RecordPad(a, b, c, d)
|
|
|
|
|
|
|
|
#else
|
|
|
|
|
2021-05-22 12:03:36 +02:00
|
|
|
#define _CutRec_IsAutoTestOn() (0)
|
2021-05-17 10:52:44 +02:00
|
|
|
#define _CutRec_IsOn() (0)
|
2021-05-18 17:05:53 +02:00
|
|
|
#define _CutRec_Step() (0)
|
|
|
|
#define _CutRec_Draw() (0)
|
2021-05-17 10:52:44 +02:00
|
|
|
#define _CutRec_Reset() (0)
|
|
|
|
#define _CutRec_StorePingInfo(a,b) (0)
|
|
|
|
#define _CutRec_CheckInvalidatePing(a,b) (0)
|
|
|
|
#define _CutRec_NextChase(a) (0)
|
|
|
|
#define _CutRec_ReserveSlots() (0)
|
|
|
|
#define _CutRec_HandleCarRequest() (0)
|
|
|
|
#define _CutRec_InitPlayers() (0)
|
|
|
|
#define _CutRec_InitMission(a) (0)
|
|
|
|
#define _CutRec_RecordPad(a, b, c, d) (0)
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
#endif // CUTRECORDER_H
|