diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2009-12-10 16:34:45 +0100 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2009-12-10 16:34:45 +0100 |
commit | abc77db2dbcd6cdaa0f36e29ca86aa18f3dea58a (patch) | |
tree | 7b2a5ee638b203370f1035ef7f43203e48d5e043 | |
parent | 7a07c0abc080182f8f473ff853b69ed5953b82d2 (diff) | |
download | crawl-ref-abc77db2dbcd6cdaa0f36e29ca86aa18f3dea58a.tar.gz crawl-ref-abc77db2dbcd6cdaa0f36e29ca86aa18f3dea58a.zip |
cgotoxy now takes GotoRegion instead of int.
-rw-r--r-- | crawl-ref/source/libgui.cc | 2 | ||||
-rw-r--r-- | crawl-ref/source/libgui.h | 2 | ||||
-rw-r--r-- | crawl-ref/source/libutil.cc | 2 | ||||
-rw-r--r-- | crawl-ref/source/libutil.h | 2 | ||||
-rw-r--r-- | crawl-ref/source/tilesdl.cc | 2 | ||||
-rw-r--r-- | crawl-ref/source/tilesdl.h | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/crawl-ref/source/libgui.cc b/crawl-ref/source/libgui.cc index e14baa2896..eb63694c25 100644 --- a/crawl-ref/source/libgui.cc +++ b/crawl-ref/source/libgui.cc @@ -317,7 +317,7 @@ void message_out(int *which_line, int colour, const char *s, int firstcol) tiles.message_out(which_line, colour, s, firstcol); } -void cgotoxy(int x, int y, int region) +void cgotoxy(int x, int y, GotoRegion region) { tiles.cgotoxy(x, y, region); } diff --git a/crawl-ref/source/libgui.h b/crawl-ref/source/libgui.h index d738075d7e..535a7cef5e 100644 --- a/crawl-ref/source/libgui.h +++ b/crawl-ref/source/libgui.h @@ -58,7 +58,7 @@ extern "C" int getch(); int getch_ck(); int clrscr(); void message_out(int *which_line, int colour, const char *s, int firstcol = 0); -void cgotoxy(int x, int y, int region = GOTO_CRT); +void cgotoxy(int x, int y, GotoRegion region = GOTO_CRT); void clear_message_window(); void delay(int ms); void update_screen(); diff --git a/crawl-ref/source/libutil.cc b/crawl-ref/source/libutil.cc index c4988c7656..eeaf949b61 100644 --- a/crawl-ref/source/libutil.cc +++ b/crawl-ref/source/libutil.cc @@ -699,7 +699,7 @@ int snprintf( char *str, size_t size, const char *format, ... ) #endif #ifndef USE_TILE -void cgotoxy(int x, int y, int region) +void cgotoxy(int x, int y, GotoRegion region) { ASSERT(x >= 1); ASSERT(y >= 1); diff --git a/crawl-ref/source/libutil.h b/crawl-ref/source/libutil.h index 824b133be9..b32aa83be2 100644 --- a/crawl-ref/source/libutil.h +++ b/crawl-ref/source/libutil.h @@ -166,7 +166,7 @@ int snprintf( char *str, size_t size, const char *format, ... ); #endif #ifndef USE_TILE -void cgotoxy(int x, int y, int region = GOTO_CRT); +void cgotoxy(int x, int y, GotoRegion region = GOTO_CRT); #endif template <typename T> diff --git a/crawl-ref/source/tilesdl.cc b/crawl-ref/source/tilesdl.cc index 421204bb27..83ce8e8724 100644 --- a/crawl-ref/source/tilesdl.cc +++ b/crawl-ref/source/tilesdl.cc @@ -1250,7 +1250,7 @@ int TilesFramework::get_number_of_cols() } } -void TilesFramework::cgotoxy(int x, int y, int region) +void TilesFramework::cgotoxy(int x, int y, GotoRegion region) { switch (region) { diff --git a/crawl-ref/source/tilesdl.h b/crawl-ref/source/tilesdl.h index 6693659078..d0faa256a9 100644 --- a/crawl-ref/source/tilesdl.h +++ b/crawl-ref/source/tilesdl.h @@ -95,7 +95,7 @@ public: void message_out(int *which_line, int colour, const char *s, int firstcol); - void cgotoxy(int x, int y, int region = GOTO_CRT); + void cgotoxy(int x, int y, GotoRegion region = GOTO_CRT); int get_number_of_lines(); int get_number_of_cols(); void clear_message_window(); |