Rev 1 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1 | pmbaty | 1 | #ifndef _RACESUMM_H_ |
2 | #define _RACESUMM_H_ |
||
3 | |||
4 | #include "dr_types.h" |
||
5 | |||
6 | extern int gPlayer_lookup[6]; |
||
7 | extern tMouse_area gOld_back_button; |
||
8 | extern tWreck_info gWreck_array[30]; |
||
9 | extern br_actor* gWreck_root; |
||
10 | extern br_actor* gWreck_camera; |
||
11 | extern tU32 gWreck_start_zoom; |
||
12 | extern tU32 gWreck_gallery_start; |
||
13 | extern float gTemp_rank_increase; |
||
14 | extern float gRank_per_ms; |
||
15 | extern tU32 gLast_wreck_draw; |
||
16 | extern tS3_sound_tag gSumm_sound; |
||
17 | extern float gCredits_per_ms; |
||
18 | extern tMouse_area* gBack_button_ptr; |
||
19 | extern tU32 gSummary_start; |
||
20 | extern br_pixelmap* gWreck_z_buffer; |
||
21 | extern br_pixelmap* gWreck_render_area; |
||
22 | extern int gWreck_selected; |
||
23 | extern int gWreck_zoom_out; |
||
24 | extern br_pixelmap* gChrome_font; |
||
25 | extern int gWreck_zoom_in; |
||
26 | extern int gTemp_credits; |
||
27 | extern int gUser_interacted; |
||
28 | extern int gWreck_count; |
||
29 | extern int gRank_etc_munged; |
||
30 | extern int gRank_increase; |
||
31 | extern int gTemp_earned; |
||
32 | extern int gTemp_rank; |
||
33 | extern int gWreck_zoomed_in; |
||
34 | extern int gDone_initial; |
||
35 | extern int gTemp_lost; |
||
36 | |||
37 | void MungeRankEtc(tProgram_state* pThe_state); |
||
38 | |||
39 | void CalcRankIncrease(void); |
||
40 | |||
41 | int RaceSummaryDone(int pCurrent_choice, int pCurrent_mode, int pGo_ahead, int pEscaped, int pTimed_out); |
||
42 | |||
43 | void DrawInBox(int pBox_left, int pText_left, int pTop, int pRight, int pBottom, int pColour, int pAmount); |
||
44 | |||
45 | void DrawChromeNumber(int pLeft_1, int pLeft_2, int pPitch, int pTop, int pAmount); |
||
46 | |||
47 | void DrawSummaryItems(void); |
||
48 | |||
49 | void RampUpRate(float* pRate, tU32 pTime); |
||
50 | |||
51 | void DrawSummary(int pCurrent_choice, int pCurrent_mode); |
||
52 | |||
53 | void StartSummary(void); |
||
54 | |||
55 | void SetUpTemps(void); |
||
56 | |||
57 | int Summ1GoAhead(int* pCurrent_choice, int* pCurrent_mode); |
||
58 | |||
59 | int SummCheckGameOver(int* pCurrent_choice, int* pCurrent_mode); |
||
60 | |||
61 | tSO_result DoEndRaceSummary1(void); |
||
62 | |||
63 | // Suffix added to avoid duplicate symbol |
||
64 | void PrepareBoundingRadius__racesumm(br_model* model); |
||
65 | |||
66 | void BuildWrecks(void); |
||
67 | |||
68 | void DisposeWrecks(void); |
||
69 | |||
70 | int MatrixIsIdentity(br_matrix34* pMat); |
||
71 | |||
72 | void SpinWrecks(tU32 pFrame_period); |
||
73 | |||
74 | void ZoomInTo(int pIndex, int* pCurrent_choice, int* pCurrent_mode); |
||
75 | |||
76 | void ZoomOutTo(int pIndex, int* pCurrent_choice, int* pCurrent_mode); |
||
77 | |||
78 | int WreckPick(br_actor* pActor, br_model* pModel, br_material* pMaterial, br_vector3* pRay_pos, br_vector3* pRay_dir, br_scalar pNear, br_scalar pFar, void* pArg); |
||
79 | |||
80 | int CastSelectionRay(int* pCurrent_choice, int* pCurrent_mode); |
||
81 | |||
82 | int DamageScrnExit(int* pCurrent_choice, int* pCurrent_mode); |
||
83 | |||
84 | void DamageScrnDraw(int pCurrent_choice, int pCurrent_mode); |
||
85 | |||
86 | int DamageScrnLeft(int* pCurrent_choice, int* pCurrent_mode); |
||
87 | |||
88 | int DamageScrnRight(int* pCurrent_choice, int* pCurrent_mode); |
||
89 | |||
90 | int DamageScrnUp(int* pCurrent_choice, int* pCurrent_mode); |
||
91 | |||
92 | int DamageScrnDown(int* pCurrent_choice, int* pCurrent_mode); |
||
93 | |||
94 | int DamageScrnGoHead(int* pCurrent_choice, int* pCurrent_mode); |
||
95 | |||
96 | int ClickDamage(int* pCurrent_choice, int* pCurrent_mode, int pX_offset, int pY_offset); |
||
97 | |||
98 | int DamageScrnDone(int pCurrent_choice, int pCurrent_mode, int pGo_ahead, int pEscaped, int pTimed_out); |
||
99 | |||
100 | tSO_result DoEndRaceSummary2(void); |
||
101 | |||
102 | // Suffix added to avoid duplicate symbol |
||
103 | void DrawAnItem__racesumm(int pX, int pY_index, int pFont_index, char* pText); |
||
104 | |||
105 | // Suffix added to avoid duplicate symbol |
||
106 | void DrawColumnHeading__racesumm(int pStr_index, int pX); |
||
107 | |||
18 | pmbaty | 108 | int SortScores(const void* pFirst_one, const void* pSecond_one); |
1 | pmbaty | 109 | |
110 | void SortGameScores(void); |
||
111 | |||
112 | void NetSumDraw(int pCurrent_choice, int pCurrent_mode); |
||
113 | |||
114 | void DoNetRaceSummary(void); |
||
115 | |||
116 | tSO_result DoEndRaceSummary(int* pFirst_summary_done, tRace_result pRace_result); |
||
117 | |||
118 | #endif |