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