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