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