diff options
author | Haran Pilpel <haranp@users.sourceforge.net> | 2010-01-23 09:01:12 +0200 |
---|---|---|
committer | Haran Pilpel <haranp@users.sourceforge.net> | 2010-01-23 09:01:12 +0200 |
commit | c79320d9733b59847c98f7e6c9b4a3cee725b8f3 (patch) | |
tree | 4ca50fc5cd30df85e2117d24e07a078a81a9f52a /crawl-ref/source/cio.h | |
parent | 9f331bee8b00bbf5f4bb2d669ab58402f5fadc18 (diff) | |
parent | 8ee56eafe02cd57c3bdcfcc91056bbd27e8183b4 (diff) | |
download | crawl-ref-c79320d9733b59847c98f7e6c9b4a3cee725b8f3.tar.gz crawl-ref-c79320d9733b59847c98f7e6c9b4a3cee725b8f3.zip |
Merge remote branch 'origin/master' into direction-rewrite
Conflicts:
crawl-ref/source/directn.cc
Diffstat (limited to 'crawl-ref/source/cio.h')
-rw-r--r-- | crawl-ref/source/cio.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/crawl-ref/source/cio.h b/crawl-ref/source/cio.h index 7eadb3a420..745c78c93a 100644 --- a/crawl-ref/source/cio.h +++ b/crawl-ref/source/cio.h @@ -55,9 +55,6 @@ int unmangle_direction_keys(int keyin, KeymapContext keymap = KMC_DEFAULT, void get_input_line( char *const buff, int len ); -// In view.cc, declared here for default argument to cancelable_get_line() -int get_number_of_cols(void); - int nowrapcprintf( int wrapcol, const char *s, ... ); int nowrap_eol_cprintf( const char *s, ... ); @@ -69,7 +66,6 @@ int nowrap_eol_cprintf( const char *s, ... ); // pressed Escape int cancelable_get_line( char *buf, int len, - int wrapcol = get_number_of_cols(), input_history *mh = NULL, int (*keyproc)(int &c) = NULL ); @@ -77,7 +73,7 @@ int cancelable_get_line( char *buf, template<int> static int cancelable_get_line_autohist_temp(char *buf, int len) { static input_history hist(10); - return cancelable_get_line(buf, len, get_number_of_cols(), &hist); + return cancelable_get_line(buf, len, &hist); } // This version of cancelable_get_line will automatically retain its own @@ -257,7 +253,8 @@ protected: char *buffer; size_t bufsz; input_history *history; - int start_x, start_y; + GotoRegion region; + coord_def start; keyproc keyfn; int wrapcol; |