Subversion Repositories Games.Carmageddon

Rev

Rev 1 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

  1. #ifndef _INIT_H_
  2. #define _INIT_H_
  3.  
  4. #include "dr_types.h"
  5.  
  6. extern int gGame_initialized;
  7. extern int gBr_initialized;
  8. extern int gBrZb_initialized;
  9. extern int gInitialisation_finished;
  10. extern int gRender_indent;
  11. extern tU32 gAustere_time;
  12. extern int gInitial_rank;
  13. extern int gCredits_per_rank[3];
  14. extern int gInitial_credits[3];
  15. extern int gNet_mode_of_last_game;
  16. extern br_material* gDefault_track_material;
  17.  
  18. void AllocateSelf(void);
  19.  
  20. void AllocateCamera(void);
  21.  
  22. void ReinitialiseForwardCamera(void);
  23.  
  24. void AllocateRearviewPixelmap(void);
  25.  
  26. void ReinitialiseRearviewCamera(void);
  27.  
  28. void ReinitialiseRenderStuff(void);
  29.  
  30. void InstallFindFailedHooks(void);
  31.  
  32. void AllocateStandardLamp(void);
  33.  
  34. void InitializeBRenderEnvironment(void);
  35.  
  36. void InitBRFonts(void);
  37.  
  38. void AustereWarning(void);
  39.  
  40. void InitLineStuff(void);
  41.  
  42. void InitSmokeStuff(void);
  43.  
  44. void Init2DStuff(void);
  45.  
  46. void InitialiseApplication(int pArgc, char** pArgv);
  47.  
  48. void InitialiseDeathRace(int pArgc, char** pArgv);
  49.  
  50. void InitGame(int pStart_race);
  51.  
  52. void DisposeGameIfNecessary(void);
  53.  
  54. void LoadInTrack(void);
  55.  
  56. void DisposeTrack(void);
  57.  
  58. void CopyMaterialColourFromIndex(br_material* pMaterial);
  59.  
  60. void InitRace(void);
  61.  
  62. void DisposeRace(void);
  63.  
  64. int GetScreenSize(void);
  65.  
  66. void SetScreenSize(int pNew_size);
  67.  
  68. #endif
  69.