From ee653d2656b747a8b8426fafc55c7c1cff008871 Mon Sep 17 00:00:00 2001 From: dshaligram Date: Thu, 7 Jun 2007 17:32:26 +0000 Subject: Added support for Unicode characters in the map display with ncursesw (enabled by setting UNICODE_GLYPHS=y in makefile.unix). Removed the (1,1) offset between map and grid. Both map and grid are now in sync. Store object indexes instead of raw characters in env.map so that players can change charsets and have the display update immediately. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1552 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/libw32c.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'crawl-ref/source/libw32c.h') diff --git a/crawl-ref/source/libw32c.h b/crawl-ref/source/libw32c.h index 9e01a44fd7..70c038c49e 100644 --- a/crawl-ref/source/libw32c.h +++ b/crawl-ref/source/libw32c.h @@ -37,6 +37,7 @@ void window(int x, int y, int lx, int ly); int wherex(void); int wherey(void); void putch(char c); +void putwch(unsigned c); int getch(void); int getch_ck(void); int key_to_command(int); @@ -44,6 +45,7 @@ int getche(void); int kbhit(void); void delay(int ms); void textbackground(int c); +void update_screen(); void enable_smart_cursor(bool cursor); bool is_smart_cursor_enabled(); -- cgit v1.2.3-54-g00ecf