1
2void
3paste_on_board(play_piece *pp, int col, int row, int rot, Grid *g);
4int
5valid_position(play_piece *pp, int col, int row, int rot, Grid *g);
6int
7valid_screen_position(play_piece *pp, int blockWidth, Grid *g,
8	int rot, int screen_x, int screen_y);
9void
10handle_special(play_piece *pp, int row, int col, int rot, Grid *g,
11	sound_style *ss);
12#define		NO_PLAYER	0
13#define		HUMAN_PLAYER	1
14#define		AI_PLAYER	2
15#define		NETWORK_PLAYER	3
16int
17event_loop(SDL_Surface *screen, piece_style *ps, color_style *cs[2],
18	sound_style *ss[2], Grid g[], int level[2], int sock,
19	int *seconds_remaining, int time_is_hard_limit,
20	int adjust[], int (*handle)(const SDL_Event *),
21	int seed, int p1, int p2, AI_Player *AI[2]);
22