-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy patheuro_var.h
303 lines (263 loc) · 8.76 KB
/
euro_var.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
extern const char *EuroDATfile;
extern const char *EuroOFFSETfile;
extern const char *EuroSCRIPTfile;
extern char version;
extern char sub_version;
extern char day;
extern char month;
extern short year;
extern bool EUROsymbol;
extern int EUROerror;
extern char EUROverbose;
extern char EUROfrontend;
extern char EUROconsole;
extern const char *EuroGDVfile;
extern volatile char LogicState;
extern unsigned int EuroHandle;
extern BYTE *EuroPseudoBuffer;
extern BYTE *EuroBackgroundBuffer;
extern char TexturePagesAvailable;
extern BYTE *TexturePages;
extern BYTE *TexturePageMemHandle;
extern BYTE *TextStrings;
extern BYTE *TextStringMemHandle;
extern int Image_Xcoords[];
extern int Image_Ycoords[];
extern int Image_Widths[];
extern int Image_Heights[];
extern char Image_Pages[];
extern BYTE *Text[];
extern BYTE *Clubnames[];
extern BYTE *SPEECH_identifier[];
extern char PlayerPosns[];
extern char StarPlayers[];
extern char LinkPlayers[];
extern char DOBday[];
extern char DOBmonth[];
extern char DOByear[];
extern char NamePREFIXtbl[16*20];
extern texture_info FrontendTextureDEFN;
extern pseudo_info FrontendPseudoDEFN;
extern pseudo_info FrontendBackgroundDEFN;
extern slider_info ModemSelectDEFN;
extern char StringBuffer[];
extern char Templete[];
extern char BuildBuffer[];
extern char EUROammount[];
extern char KeyInput[];
extern char TextEditBuffer[];
extern short TextEditXposn;
extern char EuroTextEditState;
extern BYTE PaletteBuffer[];
extern BYTE FilterBuffer[];
extern BYTE SparePaletteBuffer[];
extern fixed DivisionTable[];
extern fixed CurrentPalette[];
extern fixed FadeCounter;
extern char svalue;
extern unsigned char pmin, pmax;
extern BYTE *ftable;
extern signed char box;
extern char Team;
extern char Menu;
extern signed char MarkPlayer;
extern signed char ViewPlyrStats;
extern signed short SquadBuffer1yposn;
extern float EuroReDrawCounter;
extern signed char EuroReDrawFlag;
extern int TeamTactics[(32*2)+6][10][2];
extern signed char Bounding_box;
extern signed char ClickBOX;
extern animation_info Animation_table[];
extern float SelectionCounter;
extern float SelectionSpeed;
extern signed char SelectionFlag;
extern signed int SelectionAim;
extern signed char SelectDir;
extern fixed SelectFrame;
extern fixed CursorDisplaySpeed;
extern char EuroVideoStatus;
extern int EUROvideoMode[];
extern short SelectFilterTBL[];
extern short QuestionHandle;
extern short EuroDrawHandle;
extern short RedrawHandle;
extern short GrpFixHandle;
extern short FormationHandle;
extern short TeamHandle;
extern short PlayerSetupHandle;
extern short TeamSelectHandle;
extern short TeamSetupHandle;
extern short ReturnSqdHandle;
extern short ReturnStatHandle;
extern short ViewTeamHandle;
extern short ReturnTeamHandle;
extern short NetSelectionHandle;
extern short NetStartHandle;
extern short StartMatchHandle;
extern short UserSelectTeamHandle;
extern short StartEuro96Handle;
extern short NoOfUsersHandle;
extern short DefaultHandle;
extern short NextMatchHandle;
extern short SpinningCupHandle;
extern short SelectTeamsHandle;
extern char UserHighlight;
extern char SelectHighlight;
extern char RedrawHighlight;
extern char RedrawdoneHighlight;
extern char DefaultdrawHighlight;
extern char TeamSelectHighlight;
extern char StartMatchHighlight;
extern char TeamSetupHighlight;
extern char PlyrSetupHighlight;
extern char RetnTstatHighlight;
extern char NextMatchHighlight;
extern char SelectTeamsHighlight;
extern char NetStartHighlight;
extern char OVERRIDEpal1;
extern char OVERRIDEpal2;
extern short VersusLength;
extern Coord_info LeaguePosnDEFN[];
extern Coord_info WinPosnDEFN[];
extern Coord_info DrawPosnDEFN[];
extern Coord_info LosePosnDEFN[];
extern Coord_info PointsPosnDEFN[];
extern Coord_info VersusPosnDEFN[];
extern Coord_info ReDrawPosnDEFN[];
extern Coord_info ReDrawHeadPosnDEFN[];
extern Coord_info QualifierHeadPosnDEFN[];
extern Coord_info CountryOutlinePosnDEFN[];
extern Coord_info TSTATCountryPosnDEFN[];
extern TeamSel_Info CountryImageDEFN[];
extern header_info GroupFixtureDEFN[];
extern dump_info Dump_list[];
extern char LeaguePositions[];
extern qualify_info qualifiers[];
extern fixture_info Fixtures[];
extern char MatchVenues[];
extern char CountryTBL[];
extern char AimTBL[];
extern char CtrlFlags[];
extern char PlrSetupPanelHght[];
extern char PreviousEuroYearsTBL[];
extern char PreviousEuroHistory[];
extern char EUROmaxPlayers;
extern char EUROplyrSetup;
extern char EUROteamView;
extern char EUROstatTeam;
extern char EUROuserSelection; // player to choose his team 0 - 15
extern euro_info EURO96setup[]; // one entry per country.
extern char GroupDrawCode[];
extern signed char GroupVenues[];
extern int NextXposn;
extern char RunMatch;
extern char EUROmatchUsers;
// ---> Frontend Vars to be linked with main game <---
extern unsigned char EUROcamera;
extern short EUROaudio;
extern int EUROcrowd;
extern int EUROpitch;
extern int EUROcommentary;
extern int EUROmusic;
extern int EUROmaster;
extern short EUROtimeit;
extern short EUROvidi;
extern char EUROoffside;
extern char EUROsubs;
extern char EUROfouls;
extern char EUROtime;
extern char EURObookings;
extern char EUROwind;
extern char EUROref_vision;
extern char EUROref_discipline;
extern char EUROtga;
extern short EUROscrSize;
extern short EUROvenue;
extern short EUROsky;
extern short EUROstadia;
extern short EUROlineDetail;
extern short EUROvidiType;
extern short EUROplyrDetail;
extern short EUROptchDetail;
extern short EUROresoln;
extern char EUROcontrol_methods[];
// ---> Frontend Random number variables <---
// Randomize variables...
extern long EUROseed1;
extern unsigned short EUROseed3;
// ---> Selector Variables <---
extern short ButtonState;
extern int SelectorXcoord;
extern int SelectorYcoord;
extern short DeBounce;
// ---> Network / Serial / Wireplay / Modem specific variables <---
extern char EUROcommTYPE; // 0 network 1 serial 2 modem 3 wireplay
extern char EUROcommOVERIDE;
extern char EURO_Did_I_ChooseTeams;
extern "C" char EUROnetInitialise;
extern char EURO_NetSelectionMade;
extern char UserNetList[];
extern char TeamA_AUTOplayers;
extern char TeamB_AUTOplayers;
extern char EUROoveride;
extern char ModemInitList[];
extern BYTE *Modems[];
extern BYTE *ModemInitStrs[];
extern int EuroNETseed;
extern short ModemXposn;
extern char ModemYpage;
extern signed short EUROmodemType;
extern char EUROmodemDialType;
extern char EUROmodemCommType;
extern char DialNumber[];
extern char InitStr[];
extern short DialX;
extern short InitX;
// ---> Windows '95 variables <---
extern int w95;
//******************************************************************
extern char SquadInfo[];
extern signed char FormationInfo[];
extern signed char GroupDrawInfo[];
extern signed char GroupDrawDefaultInfo[];
extern League_info LeagueTable[16];
extern short PlayersCaps[16*20];
extern short PlayersGoals[16*20];
extern char Pace[];
extern char Power[];
extern char Control[];
extern char Flair[];
extern char Vision[];
extern char Accuracy[];
extern char Stamina[];
extern char Discipline[];
extern char Fitness[];
extern char FitnessDefault[];
extern char DiscPts[];
extern user_info UserList[];
extern signed char UserSetupList[];
extern char NoOfSubs, UsableSubs;
extern char WinPts;
extern char DrawPts;
extern char MatchNumber;
extern char EUROday;
extern char EUROmonth;
extern char EUROyear;
extern char EUROgameType;
extern char EUROnoOfMatchPlyrs;
extern char EUROteamA, EUROteamB, EUROchampTeam;
extern history_info PastScores[];
extern results_info Results[];
//******************************************************************
extern char Finish;
extern signed char ChangeMenu;
extern box_info Bounding_table[];
extern char KeyToggle[];
extern signed char IsUpper[];
extern unsigned char ToLower[];
extern unsigned char ToUpper[];
extern unsigned char ASCtoImageTBL[];
extern unsigned char LegalDial[];
//******************************************************************
extern void Euro96initialise();