Commented out Unicode cleanliness. Interferes with command history in curses.
authorDavid Griffith <dave@661.org>
Tue, 21 Aug 2012 08:06:31 +0000 (01:06 -0700)
committerDavid Griffith <dave@661.org>
Tue, 21 Aug 2012 08:06:31 +0000 (01:06 -0700)
src/common/frotz.h

index 403ebe3ee5a16647776fc6a3bbc3889c16504a3a..87e208d98fab5bfb75c3a9d1f5b0b4db19e95b2b 100644 (file)
@@ -35,11 +35,24 @@ typedef int bool;
 typedef unsigned char zbyte;
 typedef unsigned short zword;
 
+
+/* This business turns out to interfere with the command history
+ * functions in the curses interface code.  Unicode support for DOS
+ * Frotz probably won't happen.  I'd like to get it working for Unix
+ * Frotz eventually.  The patch I was using was rather old and bugs
+ * might have crept in.  If you know how to implement Unicode for the
+ * Unix side, please let me know and please test it to make sure it
+ * doesn't mess with command history.
+ */
+/*
 #ifdef MSDOS_16BIT
 typedef unsigned char zchar;
 #else
 typedef unsigned short zchar;
 #endif
+*/
+
+typedef unsigned char zchar;
 
 enum story {
     BEYOND_ZORK,