aboutsummaryrefslogtreecommitdiffstats
path: root/FICS/gameproc.h
blob: 6feacf1961d04834d09d0d53847c96235038182a (plain)
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
/* gameproc.h
 *
 */

/*
    fics - An internet chess server.
    Copyright (C) 1993  Richard V. Nash

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.
*/

/* Revision history:
   name		email		yy/mm/dd	Change
   Richard Nash	              	93/10/22	Created
*/

#ifndef _GAMEPROC_H
#define _GAMEPROC_H

#define MAX_SIMPASS 3
#define MAX_JOURNAL 10

extern void game_ended();
extern int pIsPlaying();
extern void process_move();
extern int com_resign();
extern int com_draw();
extern int com_pause();
extern int com_unpause();
extern int com_abort();
extern int com_games();

extern int com_courtesyabort();
extern int com_courtesyadjourn();
extern int com_load(); 
extern int com_stored();
extern int com_adjourn();
extern int com_flag();
extern int com_takeback();
extern int com_switch();
extern int com_time();
extern int com_boards();

extern int com_simmatch();
extern int com_simnext();
extern int com_simprev();
extern int com_goboard();
extern int com_gonum();
extern int com_simgames();
extern int com_simpass();
extern int com_simabort();
extern int com_simallabort();
extern int com_simadjourn();
extern int com_simalladjourn();

extern int com_moretime();

#endif /* _GAMEPROC_H */