forked from dm3jan/xskat
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdefs.h
More file actions
397 lines (390 loc) · 7.4 KB
/
Copy pathdefs.h
File metadata and controls
397 lines (390 loc) · 7.4 KB
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
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
/*
xskat - a card game for 1 to 3 players.
Copyright (C) 2000 Gunter Gerhardt
This program is free software; you can redistribute it freely.
Use it at your own risk; there is NO WARRANTY.
Redistribution of modified versions is permitted
provided that the following conditions are met:
1. All copyright & permission notices are preserved.
2.a) Only changes required for packaging or porting are made.
or
2.b) It is clearly stated who last changed the program.
The program is renamed or
the version number is of the form x.y.z,
where x.y is the version of the original program
and z is an arbitrary suffix.
*/
#ifndef DEFS_H
#define DEFS_H
#ifdef __STDC__
#define VOID void
#else
#define VOID int
#endif
#endif /* DEFS_H */
/* Generated stuff follows:
#############################################################################*/
VOID irc_log();
VOID irc_out();
VOID irc_print();
VOID irc_printnl();
char *irc_getline();
int irc_xinput();
int irc_match();
VOID irc_sendnick();
VOID irc_pr_ss();
VOID irc_pr_bs();
VOID irc_pr_sd();
VOID irc_pr_ramsch();
VOID irc_pr_sramsch();
VOID irc_pr_rskatloser();
VOID irc_pr_kontra();
VOID irc_pr_bock();
VOID irc_pr_resumebock();
VOID irc_pr_spitze();
VOID irc_pr_revolution();
VOID irc_pr_klopfen();
VOID irc_pr_schenken();
VOID irc_pr_oldrules();
VOID irc_pr_bockevents();
VOID irc_pr_alist();
VOID irc_pr_start();
VOID irc_pr_s1();
VOID irc_sendrules();
VOID irc_incidx();
VOID irc_sync();
VOID irc_sendsync();
VOID irc_checksync();
VOID irc_alarm();
VOID irc_talk();
char *irc_copyname();
int irc_senderok();
VOID irc_histsave();
VOID irc_sendbtev();
VOID irc_sendxyev();
VOID irc_sendsort();
VOID irc_sendschenken();
VOID irc_sendloeschen();
VOID irc_addcmd();
int irc_getcmd();
VOID irc_checkhist();
VOID irc_getrules();
VOID irc_getserverconf();
VOID irc_putserverconf();
VOID irc_putclientconf();
VOID irc_setpos();
VOID irc_getclientconf();
VOID irc_changenick();
VOID irc_checknick();
VOID irc_nickchanged();
VOID irc_msg();
VOID irc_parse();
VOID irc_connect();
VOID irc_init();
VOID init_null();
VOID testnull();
int kleiner_w();
int kleiner();
int hat();
int n_anwert();
int n_anspiel();
int n_abwert();
int n_abwerfen();
int minmax();
int minmaxfb();
int drunter();
int drunterdrue();
VOID m_nsp();
VOID m_nns();
VOID null_stich();
VOID null_sort();
int null_dicht();
VOID revolutiondist();
VOID start_ramsch();
VOID init_ramsch();
int zweibuben();
int bubeanspielen();
int sicher();
VOID moeglklein();
VOID nimm_bube();
VOID moegldrunter();
int ggdurchmarsch();
VOID m_bvr();
VOID m_bmr();
VOID m_bhr();
VOID m_bramsch();
int unsich_fb();
int comp_sramsch();
VOID ramsch_stich();
VOID ramsch_result();
int testgrandhand();
int left();
int right();
int iscomp();
VOID swap();
VOID setrnd();
int rndval();
int rnd();
VOID synerr();
int get_game();
int gutesblatt();
VOID mischen();
int lower();
VOID sort();
VOID calc_rw();
VOID do_geben();
VOID do_sagen();
VOID do_passen();
VOID do_akzept();
VOID do_msagen();
VOID do_mhoeren();
VOID do_entsch();
VOID do_reizen();
VOID drueck();
VOID truempfe();
int tr_voll();
int sage_kontra();
int sage_re();
int testgrand();
VOID calc_inhand();
int testhand();
VOID calc_drueck();
VOID nextgame();
VOID save_skat();
int check_bockevents();
VOID update_list();
VOID do_grandhand();
VOID set_prot();
VOID do_handspiel();
VOID do_druecken();
VOID do_handok();
VOID do_ansagen();
VOID karobube();
int karobubespielen();
VOID do_angesagt();
VOID spielphase();
int higher();
VOID calc_result();
VOID get_next();
VOID save_list();
VOID setsum();
VOID modsum();
VOID read_opt_srpk();
VOID read_opt();
VOID save_opt();
VOID read_list();
VOID fill_st();
int maxnimm();
VOID next_stich();
VOID finishgame();
VOID do_next();
VOID calc_poss();
VOID c_high();
VOID calc_high();
int zweihoechste();
int ignorieren();
int genugdrin();
int gewinnstich();
int uebernehmen();
VOID schmieren();
int einstechen();
int niedrighoch();
int ueberdoerfer();
int bubeausspielen();
int trumpfausspielen();
int hochausspielen();
VOID schenke();
int zehnblank();
int fabwerfen();
VOID abwerfen();
int buttern();
int hatas();
int schnippeln();
VOID nichtspitze();
int spitzefangen();
int restbeimir();
VOID m_bvsp();
VOID m_bmsp();
VOID m_bhsp();
VOID m_bvns();
VOID m_bmns();
VOID m_bhns();
VOID m_bsp();
VOID m_bns();
VOID make_best();
VOID adjfb();
VOID do_spielen();
VOID computer();
VOID play();
int main();
VOID init_text();
char *idxlang();
int langidx();
VOID info_reiz();
int trumpf_idx();
VOID info_spiel();
VOID info_stich();
VOID clear_info();
VOID set_names();
int ismemb();
VOID init_di();
VOID init_dials();
VOID prverz();
int ob_disabled();
VOID cleanip();
VOID cleanirchost();
VOID cleanname();
VOID hndl_btevent();
VOID button_press();
VOID draw_wedge();
VOID draw_actbtn();
VOID draw_selpos();
VOID new_selpos();
VOID new_actbtn();
VOID set_selpos();
VOID del_selpos();
VOID manpage();
VOID polldisps();
VOID hndl_events();
VOID getob_xywhbd();
VOID create_dial();
VOID findlastex();
VOID create_di();
VOID create_diopt();
VOID remove_dial();
VOID remove_di();
VOID draw_3d();
VOID draw_dial();
VOID draw_di();
VOID refresh();
VOID prspnam();
VOID di_info();
VOID di_hand();
VOID next_grandhand();
VOID di_grandhand();
VOID di_term();
VOID di_ende();
VOID di_loesch();
VOID di_ansage();
VOID di_kontra();
VOID di_rekontra();
VOID di_konre();
VOID di_ktrnext();
VOID di_dicht();
VOID di_weiter();
VOID di_wiederweiter();
VOID di_klopfen();
VOID di_schenken();
VOID di_geschenkt();
VOID di_wiederschenken();
VOID di_nichtschenken();
VOID di_schieben();
int di_verdoppelt();
VOID di_buben();
VOID di_spiel();
VOID list_fun();
VOID di_delliste();
VOID di_liste();
int ger_toupper();
VOID pformat();
VOID prot_fun();
VOID im_skat();
VOID di_proto();
VOID di_resultdi();
VOID di_result();
VOID di_delres();
VOID di_options();
VOID di_copyr();
VOID di_grafik();
VOID di_strateg();
VOID di_varianten();
VOID di_ramschopts();
VOID di_bockevents();
VOID di_geschwindigkeit();
VOID di_mehrspieler();
VOID di_lanspiel();
VOID di_eigenertisch();
VOID di_anderertisch();
VOID di_warteauf();
VOID di_irc();
VOID di_eingabe();
VOID di_wieder();
VOID di_input();
VOID change_gc();
VOID change_gcbg();
VOID change_gcxor();
int istrue();
VOID v_gtextnc();
VOID v_gtextc();
VOID v_gtext();
VOID clr_text();
VOID b_text();
VOID do_msaho();
VOID draw_skat();
VOID home_skat();
VOID nimm_stich();
VOID drop_card();
int query_err();
int closest_col();
unsigned long get_col();
VOID calc_desk();
VOID extractnam();
VOID extractnamln();
VOID usage();
VOID invopt();
VOID nomem();
VOID finish();
int ioerr();
VOID exitus();
VOID startirc();
int getdeffn();
VOID logit();
int getcode();
VOID decompgif();
VOID drawimg();
VOID create_card();
VOID xinitwin();
VOID xinitplayers();
int closecol();
VOID find_cardcol();
VOID card_colors();
VOID xinitres();
VOID xstoreres();
VOID read_cards();
VOID set_conames();
VOID xinit();
VOID waitt();
VOID stdwait();
VOID backgr();
VOID putdesk();
VOID drawcard();
VOID putcard();
VOID putback();
VOID hint_line();
VOID show_hint();
VOID putamark();
VOID putmark();
VOID remmark();
VOID movecard();
VOID homecard();
VOID givecard();
VOID initscr();
VOID spielendscr();
VOID revolutionsort();
VOID revolutionscr();
VOID clr_desk();
VOID draw_box();
VOID put_box();
VOID rem_box();
VOID inv_box();
VOID put_fbox();
VOID rem_fbox();
VOID inv_fbox();
int card_at();
int hndl_reizen();
int hndl_druecken();
int hndl_tauschen();
int hndl_spielen();
int hndl_nimmstich();
int hndl_button();
VOID setcurs();