Frotz now compiled to use Gargoyle extensions
[rodin/chimara.git] / interpreters / frotz / glkfrotz.h
1 /******************************************************************************
2  *                                                                            *
3  * Copyright (C) 2006-2009 by Tor Andersson.                                  *
4  *                                                                            *
5  * This file is part of Gargoyle.                                             *
6  *                                                                            *
7  * Gargoyle is free software; you can redistribute it and/or modify           *
8  * it under the terms of the GNU General Public License as published by       *
9  * the Free Software Foundation; either version 2 of the License, or          *
10  * (at your option) any later version.                                        *
11  *                                                                            *
12  * Gargoyle is distributed in the hope that it will be useful,                *
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of             *
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the              *
15  * GNU General Public License for more details.                               *
16  *                                                                            *
17  * You should have received a copy of the GNU General Public License          *
18  * along with Gargoyle; if not, write to the Free Software                    *
19  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA *
20  *                                                                            *
21  *****************************************************************************/
22
23 /* glk-frotz.h
24  *
25  * Frotz os functions for the Glk library version 0.6.1.
26  */
27
28 #include "frotz.h"
29
30 #include <stdio.h>
31 #include <stdlib.h>
32 #include <errno.h>
33 #include <string.h>
34 #include <ctype.h>
35 #include <time.h>
36
37 #include "glk.h"
38 #include <libchimara/garglk.h>
39
40 extern int curr_status_ht;
41 extern int mach_status_ht;
42
43 extern winid_t gos_status;
44 extern winid_t gos_upper;
45 extern winid_t gos_lower;
46 extern winid_t gos_curwin;
47 extern int gos_linepending;
48 extern char *gos_linebuf;
49 extern winid_t gos_linewin;
50
51 extern schanid_t gos_channel;
52
53 /* from ../common/setup.h */
54 extern f_setup_t f_setup;
55
56 /* From input.c.  */
57 bool is_terminator (zchar);
58
59 /* from glkstuff */
60 void gos_update_width(void);
61 void gos_cancel_pending_line(void);
62 void reset_status_ht(void);
63