From: David Griffith Date: Tue, 21 Aug 2012 08:06:31 +0000 (-0700) Subject: Commented out Unicode cleanliness. Interferes with command history in curses. X-Git-Url: https://scope-eye.net/git/?a=commitdiff_plain;h=d531d0adfe59635760217e5dfb85ecb591c9148e;p=liskon_frotz.git Commented out Unicode cleanliness. Interferes with command history in curses. --- diff --git a/src/common/frotz.h b/src/common/frotz.h index 403ebe3..87e208d 100644 --- a/src/common/frotz.h +++ b/src/common/frotz.h @@ -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,