REDRIVER2/src_rebuild/Game/C/main.h

61 lines
1.4 KiB
C
Raw Normal View History

#ifndef MAIN_H
#define MAIN_H
2020-08-28 20:38:01 +02:00
extern int game_over;
extern int gDemoLevel;
2020-10-07 17:17:03 +02:00
extern XZPAIR gStartPos;
extern int xa_timeout;
extern int FrameCnt;
extern int CurrentPlayerView;
extern char CameraChanged;
extern int FrAng;
extern int gStopPadReads;
2020-04-22 17:33:38 +02:00
extern int num_active_cars;
2020-04-22 18:28:10 +02:00
extern int numInactiveCars;
2020-04-20 16:14:50 +02:00
extern int gLightsOn;
2020-04-22 15:50:56 +02:00
extern int NightAmbient;
extern int wetness;
2020-06-06 22:10:04 +02:00
extern int leadCarId;
2020-04-20 16:14:50 +02:00
extern int scr_z;
2020-04-26 12:07:37 +02:00
extern int DawnCount;
2020-08-29 14:58:09 +02:00
extern int ObjectDrawnValue;
extern int ObjectDrawnCounter;
2021-03-24 18:56:18 +01:00
extern int Havana3DLevelDraw;
extern void SsSetSerialVol(short s_num, short voll, short volr); // TEMPORARY
extern void State_GameInit(void* param); // 0x00059330
extern void State_GameLoop(void* param); // 0x0005A8DC
extern int FilterFrameTime();
extern void DrawGame(); // 0x0005C458
extern void EndGame(GAMEMODE mode); // 0x0005C574
extern void EnablePause(PAUSEMODE mode); // 0x0005C590
extern int redriver2_main(int argc, char** argv); // 0x0005B384
extern void FadeScreen(int end_value); // 0x0005C668
extern void UpdatePlayerInformation(); // 0x0005B54C
extern void RenderGame2(int view); // 0x0005B888
extern void RenderGame(); // 0x0005C6E0
extern void InitGameVariables(); // 0x0005BCE4
extern void DealWithHorn(char *hr, int i); // 0x0005BF74
typedef void(*occlFunc)(int* comp_val);
extern int Havana3DOcclusion(occlFunc func, int *param); // 0x0005C16C
#endif