summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/libw32c.h
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-10-27 15:59:10 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-10-27 15:59:10 +0000
commiteb7baf83704e5ffa3d0059e8db34b3c3508b2428 (patch)
treebf46bfe4012e9d369c1a4f915e4037c417598ba1 /crawl-ref/source/libw32c.h
parent64c0b7fe918fdc3bc41483b17f6796d3273ac05a (diff)
downloadcrawl-ref-eb7baf83704e5ffa3d0059e8db34b3c3508b2428.tar.gz
crawl-ref-eb7baf83704e5ffa3d0059e8db34b3c3508b2428.zip
Minor view code cleanup; this ought to fix the DOS redraw issues as well.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2629 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/libw32c.h')
-rw-r--r--crawl-ref/source/libw32c.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/crawl-ref/source/libw32c.h b/crawl-ref/source/libw32c.h
index 6e424a43ca..09ccbb906b 100644
--- a/crawl-ref/source/libw32c.h
+++ b/crawl-ref/source/libw32c.h
@@ -8,6 +8,8 @@
#include <string>
#include <stdarg.h>
+typedef unsigned short screen_buffer_t;
+
void init_libw32c(void);
void deinit_libw32c(void);
@@ -45,6 +47,7 @@ int getche(void);
int kbhit(void);
void delay(int ms);
void textbackground(int c);
+void puttext(int x1, int y1, int x2, int y2, const screen_buffer_t *);
void update_screen();
void enable_smart_cursor(bool cursor);
@@ -52,5 +55,3 @@ bool is_smart_cursor_enabled();
void set_mouse_enabled(bool enabled);
#endif
-
-