Updated interpreters
[projects/chimara/chimara.git] / interpreters / frotz / glkfrotz.h
index 0f8ff4bead4d6c1a3b03f16ed60bb2a3635bafaf..92230b04d4e1049408afc3f03f5db7d0a2f6c37e 100644 (file)
@@ -1,6 +1,28 @@
+/******************************************************************************
+ *                                                                            *
+ * Copyright (C) 2006-2009 by Tor Andersson.                                  *
+ *                                                                            *
+ * This file is part of Gargoyle.                                             *
+ *                                                                            *
+ * Gargoyle 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.                                        *
+ *                                                                            *
+ * Gargoyle 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.                               *
+ *                                                                            *
+ * You should have received a copy of the GNU General Public License          *
+ * along with Gargoyle; if not, write to the Free Software                    *
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA *
+ *                                                                            *
+ *****************************************************************************/
+
 /* glk-frotz.h
  *
- * Frotz os functions for the Glk library version 0.6.1.
+ * Frotz os functions for the Glk library version 0.7.0.
  */
 
 #include "frotz.h"
@@ -13,6 +35,7 @@
 #include <time.h>
 
 #include "glk.h"
+#include <libchimara/garglk.h>
 
 extern int curr_status_ht;
 extern int mach_status_ht;
@@ -22,14 +45,11 @@ extern winid_t gos_upper;
 extern winid_t gos_lower;
 extern winid_t gos_curwin;
 extern int gos_linepending;
-extern char *gos_linebuf;
+extern zchar *gos_linebuf;
 extern winid_t gos_linewin;
 
 extern schanid_t gos_channel;
 
-/* from ../common/setup.h */
-extern f_setup_t f_setup;
-
 /* From input.c.  */
 bool is_terminator (zchar);