summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/stuff.h
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-01-24 22:32:09 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-01-24 22:32:09 +0000
commite3e52a2f0833e09c63b5a3265d96c6d892dacd30 (patch)
tree8314b7f205e5d6884d6c3f5670a76a812abba8d4 /crawl-ref/source/stuff.h
parent09e86f4fcf0c84e610178c9b44afede9677f8abd (diff)
downloadcrawl-ref-e3e52a2f0833e09c63b5a3265d96c6d892dacd30.tar.gz
crawl-ref-e3e52a2f0833e09c63b5a3265d96c6d892dacd30.zip
Stage 1 of the direction() rewrite.
I am committing this even though it isn't complete yet, because: (a) it's good enough now that I like it better than the old version (b) feedback and testing is badly needed. Direction selection has been redone and is no longer modal. You now use the normal arrow or vi keys to move around. If you want to select a direction, as opposed to a specific target square, use the Shift- versions of the movement keys. This might not work with arrow keys on some systems; it's hard for me to check on my own system. Most of the other keys should work, but I'm not sure I've got them all. ';', '+', '-', '.', ' ' (== '.'), 't', 'f', 'p' all work. 'x' (from the main screen) still calls look_around(), not the new direction code, so you have some room to compare. The confirm_* options are now meaningless and will be removed shortly. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@880 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/stuff.h')
-rw-r--r--crawl-ref/source/stuff.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/stuff.h b/crawl-ref/source/stuff.h
index 1b1bffcbeb..c0bb7ab30c 100644
--- a/crawl-ref/source/stuff.h
+++ b/crawl-ref/source/stuff.h
@@ -60,7 +60,7 @@ void modify_all_stats(int STmod, int IQmod, int DXmod);
void redraw_screen(void);
-void canned_msg(unsigned char which_message);
+void canned_msg(canned_message_type which_message);
bool yesno( const char * str, bool safe = true, int safeanswer = 0,
bool clear_after = true, bool interrupt_delays = true,