Rev 18 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1 | pmbaty | 1 | #ifndef _CONTROLS_H_ |
2 | #define _CONTROLS_H_ |
||
3 | |||
20 | pmbaty | 4 | #include "brender/br_types.h" |
1 | pmbaty | 5 | #include "dr_types.h" |
6 | |||
7 | extern tToggle_element gToggle_array[43]; |
||
8 | extern int gRepair_last_time; |
||
9 | extern int gHad_auto_recover; |
||
10 | extern tU32 gLast_repair_time; |
||
11 | extern tEdit_mode gWhich_edit_mode; |
||
12 | extern char* gEdit_mode_names[10]; |
||
13 | extern tEdit_func* gEdit_funcs[10][18][8]; |
||
14 | extern tCheat gKev_keys[44]; |
||
15 | extern int gAllow_car_flying; |
||
16 | extern int gEntering_message; |
||
17 | extern tU32 gPalette_fade_time; |
||
18 | extern char* gAbuse_text[10]; |
||
19 | extern char gString[84]; |
||
20 | extern int gToo_late; |
||
21 | extern int gRecover_timer; |
||
22 | extern int gRecovery_voucher_count; |
||
23 | extern int gInstant_handbrake; |
||
24 | extern int gAuto_repair; |
||
25 | |||
26 | void AbortRace(void); |
||
27 | |||
28 | void F4Key(void); |
||
29 | |||
30 | void SetFlag(int i); |
||
31 | |||
32 | void FinishLap(int i); |
||
33 | |||
34 | void EnsureSpecialVolumesHidden(void); |
||
35 | |||
36 | void ShowSpecialVolumesIfRequ(void); |
||
37 | |||
38 | void DoEditModeKey(int pIndex); |
||
39 | |||
40 | void F5Key(void); |
||
41 | |||
42 | void F6Key(void); |
||
43 | |||
44 | void F7Key(void); |
||
45 | |||
46 | void F8Key(void); |
||
47 | |||
48 | void F10Key(void); |
||
49 | |||
50 | void F11Key(void); |
||
51 | |||
52 | void F12Key(void); |
||
53 | |||
54 | void NumberKey0(void); |
||
55 | |||
56 | void NumberKey1(void); |
||
57 | |||
58 | void NumberKey2(void); |
||
59 | |||
60 | void NumberKey3(void); |
||
61 | |||
62 | void NumberKey4(void); |
||
63 | |||
64 | void NumberKey5(void); |
||
65 | |||
66 | void NumberKey6(void); |
||
67 | |||
68 | void NumberKey7(void); |
||
69 | |||
70 | void NumberKey8(void); |
||
71 | |||
72 | void NumberKey9(void); |
||
73 | |||
74 | void LookLeft(void); |
||
75 | |||
76 | void LookForward(void); |
||
77 | |||
78 | void LookRight(void); |
||
79 | |||
80 | void DamageTest(void); |
||
81 | |||
82 | void TDamageEngine(void); |
||
83 | |||
84 | void TDamageDriver(void); |
||
85 | |||
86 | void TDamageTrans(void); |
||
87 | |||
88 | void TDamageSteering(void); |
||
89 | |||
90 | void TDamageLFWheel(void); |
||
91 | |||
92 | void TDamageLFBrake(void); |
||
93 | |||
94 | void TDamageLRBrake(void); |
||
95 | |||
96 | void TDamageLRWheel(void); |
||
97 | |||
98 | void TDamageRFWheel(void); |
||
99 | |||
100 | void TDamageRFBrake(void); |
||
101 | |||
102 | void TDamageRRBrake(void); |
||
103 | |||
104 | void TDamageRRWheel(void); |
||
105 | |||
106 | void MoveBonnetForward(void); |
||
107 | |||
108 | void SaveBonnet(void); |
||
109 | |||
110 | void MoveBonnetBackward(void); |
||
111 | |||
112 | void MoveBonnetLeft(void); |
||
113 | |||
114 | void ShrinkBonnetX(void); |
||
115 | |||
116 | void SwellBonnetX(void); |
||
117 | |||
118 | void ShrinkBonnetY(void); |
||
119 | |||
120 | void SwellBonnetY(void); |
||
121 | |||
122 | void ShrinkBonnetZ(void); |
||
123 | |||
124 | void SwellBonnetZ(void); |
||
125 | |||
126 | void MoveBonnetDown(void); |
||
127 | |||
128 | void MoveBonnetRight(void); |
||
129 | |||
130 | void MoveBonnetUp(void); |
||
131 | |||
132 | void TiltBonnetDownX(void); |
||
133 | |||
134 | void TiltBonnetUpX(void); |
||
135 | |||
136 | void TiltBonnetDownY(void); |
||
137 | |||
138 | void TiltBonnetUpY(void); |
||
139 | |||
140 | void TiltBonnetDownZ(void); |
||
141 | |||
142 | void TiltBonnetUpZ(void); |
||
143 | |||
144 | void ToggleCockpit(void); |
||
145 | |||
146 | void ToggleMirror(void); |
||
147 | |||
148 | void ConcussMe(void); |
||
149 | |||
150 | void CheckHelp(void); |
||
151 | |||
152 | void CheckLoadSave(void); |
||
153 | |||
154 | void CheckToggles(int pRacing); |
||
155 | |||
156 | int CarWorldOffFallenCheckThingy(tCar_spec* pCar, int pCheck_around); |
||
157 | |||
158 | int HasCarFallenOffWorld(tCar_spec* pCar); |
||
159 | |||
160 | void CheckForBeingOutOfThisWorld(void); |
||
161 | |||
162 | void CheckHornLocal(tCar_spec* pCar); |
||
163 | |||
164 | void CheckHorn3D(tCar_spec* pCar); |
||
165 | |||
166 | void CheckHorns(void); |
||
167 | |||
168 | void SetRecovery(void); |
||
169 | |||
170 | void RecoverCar(void); |
||
171 | |||
172 | void CheckMapRenderMove(void); |
||
173 | |||
174 | void ExplodeCar(tCar_spec* pCar); |
||
175 | |||
176 | void CheckRecoveryOfCars(tU32 pEndFrameTime); |
||
177 | |||
178 | void LoseSomePSPowerups(int pNumber); |
||
179 | |||
180 | void CheckOtherRacingKeys(void); |
||
181 | |||
182 | int CheckRecoverCost(void); |
||
183 | |||
184 | void SortOutRecover(tCar_spec* pCar); |
||
185 | |||
186 | void SetFlipUpCar(tCar_spec* pCar); |
||
187 | |||
188 | void FlipUpCar(tCar_spec* car); |
||
189 | |||
190 | void GetPowerup(int pNum); |
||
191 | |||
192 | void CheckSystemKeys(int pRacing); |
||
193 | |||
194 | void CheckKevKeys(void); |
||
195 | |||
196 | void BrakeInstantly(void); |
||
197 | |||
198 | void PollCarControls(tU32 pTime_difference); |
||
199 | |||
200 | void PollCameraControls(tU32 pTime_difference); |
||
201 | |||
202 | void SetFlag2(int i); |
||
203 | |||
204 | void ToggleFlying(void); |
||
205 | |||
206 | void ToggleInvulnerability(void); |
||
207 | |||
208 | void MoreTime(void); |
||
209 | |||
210 | void MuchMoreTime(void); |
||
211 | |||
212 | void ToggleTimerFreeze(void); |
||
213 | |||
214 | void EarnDosh(void); |
||
215 | |||
216 | void LoseDosh(void); |
||
217 | |||
218 | void ToggleMap(void); |
||
219 | |||
220 | int HornBlowing(void); |
||
221 | |||
222 | void ToggleArrow(void); |
||
223 | |||
224 | int GetRecoverVoucherCount(void); |
||
225 | |||
226 | void AddVouchers(int pCount); |
||
227 | |||
228 | void ResetRecoveryVouchers(void); |
||
229 | |||
230 | void CycleCarTexturingLevel(void); |
||
231 | |||
232 | void CycleWallTexturingLevel(void); |
||
233 | |||
234 | void CycleRoadTexturingLevel(void); |
||
235 | |||
236 | void CycleYonFactor(void); |
||
237 | |||
238 | void SetSoundDetailLevel(int pLevel); |
||
239 | |||
240 | void ReallySetSoundDetailLevel(int pLevel); |
||
241 | |||
242 | int GetSoundDetailLevel(void); |
||
243 | |||
244 | void CycleSoundDetailLevel(void); |
||
245 | |||
246 | void CycleCarSimplificationLevel(void); |
||
247 | |||
248 | void ToggleAccessoryRendering(void); |
||
249 | |||
250 | void ToggleSmoke(void); |
||
251 | |||
252 | void DrawSomeText2(tDR_font* pFont); |
||
253 | |||
254 | void DrawSomeText(void); |
||
255 | |||
256 | void SaySorryYouLittleBastard(void); |
||
257 | |||
258 | void UserSendMessage(void); |
||
259 | |||
260 | void EnterUserMessage(void); |
||
261 | |||
262 | void DisplayUserMessage(void); |
||
263 | |||
264 | void InitAbuseomatic(void); |
||
265 | |||
266 | void DisposeAbuseomatic(void); |
||
267 | |||
268 | #endif |