summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/libutil.h
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-04-04 11:13:26 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-04-04 11:13:26 +0000
commitf6202329f81eba43835b3449f3d93d9a8de52d6f (patch)
tree4fd0ca1b27d137eb56f83bb14b69930e04a940eb /crawl-ref/source/libutil.h
parent4b02802ef0c1026c560910095183505c367fb08c (diff)
downloadcrawl-ref-f6202329f81eba43835b3449f3d93d9a8de52d6f.tar.gz
crawl-ref-f6202329f81eba43835b3449f3d93d9a8de52d6f.zip
Allow */' to work in targeting (/+dir no longer selects a direction in Unix, I
can live with that). Upped monster MR slightly, weakened ensorcelled hibernation. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1217 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/libutil.h')
-rw-r--r--crawl-ref/source/libutil.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/libutil.h b/crawl-ref/source/libutil.h
index c790705b7d..3cd5c6c5c9 100644
--- a/crawl-ref/source/libutil.h
+++ b/crawl-ref/source/libutil.h
@@ -24,7 +24,8 @@ void cursorxy(int x, int y);
// Converts a key to a direction key, converting keypad and other sequences
// to vi key sequences (shifted/control key directions are also handled). Non
// direction keys (hopefully) pass through unmangled.
-int unmangle_direction_keys(int keyin, int keymap = 0);
+int unmangle_direction_keys(int keyin, int keymap = 0,
+ bool fake_ctrl = true, bool fake_shift = true);
void lowercase(std::string &s);
void uppercase(std::string &s);