diff options
author | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-10-05 16:09:36 +0000 |
---|---|---|
committer | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-10-05 16:09:36 +0000 |
commit | 239ee7d1040f90fbdcad52e7f41017574df5a865 (patch) | |
tree | 47c6a682f16249185a848016b955a765ea402906 /crawl-ref/source/cio.h | |
parent | 542219cbf26c0e4d3dfec1548bd33870763d4d46 (diff) | |
download | crawl-ref-239ee7d1040f90fbdcad52e7f41017574df5a865.tar.gz crawl-ref-239ee7d1040f90fbdcad52e7f41017574df5a865.zip |
Minor typesafety fix.
Added description for '!' and '@' to targeting help.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7137 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/cio.h')
-rw-r--r-- | crawl-ref/source/cio.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/crawl-ref/source/cio.h b/crawl-ref/source/cio.h index 38e8b8a2ba..b8d5420d39 100644 --- a/crawl-ref/source/cio.h +++ b/crawl-ref/source/cio.h @@ -10,9 +10,11 @@ #define CIO_H #include "AppHdr.h" +#include "enum.h" #include "externs.h" #include "defines.h" #include "directn.h" + #include <cctype> #include <string> #include <vector> @@ -50,7 +52,7 @@ int c_getch(); // 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, KeymapContext keymap = KC_DEFAULT, bool fake_ctrl = true, bool fake_shift = true); void get_input_line( char *const buff, int len ); |