summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/libgui.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2010-09-26 02:44:06 +0200
committerAdam Borowski <kilobyte@angband.pl>2010-09-26 02:44:06 +0200
commit8083632f65832778889f5f5ec1a18f06f8caac40 (patch)
treebe653b81803cf73acfe41a56e58e58cc3628fea7 /crawl-ref/source/libgui.h
parent1c07180018c8183adbfa4618d59d55b451a2e35e (diff)
downloadcrawl-ref-8083632f65832778889f5f5ec1a18f06f8caac40.tar.gz
crawl-ref-8083632f65832778889f5f5ec1a18f06f8caac40.zip
Always use Unicode values for glyphs. Always use ncursesw on Unix console.
CSET_IBM and CSET_DEC are now merely presets and don't change the I/O encoding. Doing I/O using any encoding other than the one configured using LANG/LC_* is just wrong and no well-behaving program should do that. This does require changes on CAO/CDO, but they would fix problems with ttyrec and spectating as well. To fix: ncursesw replaces unrepresentable characters with spaces, we'll have to replace them by hand.
Diffstat (limited to 'crawl-ref/source/libgui.h')
-rw-r--r--crawl-ref/source/libgui.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/crawl-ref/source/libgui.h b/crawl-ref/source/libgui.h
index b840337b98..8b04c7a37c 100644
--- a/crawl-ref/source/libgui.h
+++ b/crawl-ref/source/libgui.h
@@ -14,8 +14,6 @@
#include "defines.h"
-typedef unsigned int screen_buffer_t;
-
void set_mouse_enabled(bool enabled);
struct coord_def;