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 _STRUCTUR_H_
  2. #define _STRUCTUR_H_
  3.  
  4. #include "dr_types.h"
  5.  
  6. extern int gLast_wrong_checkpoint;
  7. extern int gMirror_on__structur; // suffix added to avoid duplicate symbol
  8. extern int gPratcam_on;
  9. extern int gCockpit_on;
  10. extern int gOpponent_mix[10][5];
  11. extern tU32 gLast_checkpoint_time;
  12. extern tRace_over_reason gRace_over_reason;
  13.  
  14. int NumberOfOpponentsLeft(void);
  15.  
  16. void RaceCompleted(tRace_over_reason pReason);
  17.  
  18. void Checkpoint(int pCheckpoint_index, int pDo_sound);
  19.  
  20. void IncrementCheckpoint(void);
  21.  
  22. void IncrementLap(void);
  23.  
  24. int RayHitFace(br_vector3* pV0, br_vector3* pV1, br_vector3* pV2, br_vector3* pNormal, br_vector3* pStart, br_vector3* pDir);
  25.  
  26. void WrongCheckpoint(int pCheckpoint_index);
  27.  
  28. void CheckCheckpoints(void);
  29.  
  30. void TotalRepair(void);
  31.  
  32. void DoLogos(void);
  33.  
  34. void DoProgOpeningAnimation(void);
  35.  
  36. void DoProgramDemo(void);
  37.  
  38. int ChooseOpponent(int pNastiness, int* pHad_scum);
  39.  
  40. void SelectOpponents(tRace_info* pRace_info);
  41.  
  42. int PickNetRace(int pCurrent_race, tNet_sequence_type pNet_race_sequence);
  43.  
  44. void SwapNetCarsLoad(void);
  45.  
  46. void SwapNetCarsDispose(void);
  47.  
  48. void DoGame(void);
  49.  
  50. void InitialiseProgramState(void);
  51.  
  52. void DoProgram(void);
  53.  
  54. void JumpTheStart(void);
  55.  
  56. void GoingToInterfaceFromRace(void);
  57.  
  58. void GoingBackToRaceFromInterface(void);
  59.  
  60. #endif
  61.