diff options
author | ennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-04-20 02:31:58 +0000 |
---|---|---|
committer | ennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-04-20 02:31:58 +0000 |
commit | e1f1dbd2ba852c17344b86e9fc131936b4258606 (patch) | |
tree | 4bee0b362273c8335b50befd105974a28b498ede /crawl-ref/source/guic.h | |
parent | ed05654d265fc1892910a9c6958880837d67560a (diff) | |
download | crawl-ref-e1f1dbd2ba852c17344b86e9fc131936b4258606.tar.gz crawl-ref-e1f1dbd2ba852c17344b86e9fc131936b4258606.zip |
[1940992] Fixed minimap travel/view issues. This fixes both the "off by three squares" as well as an unmentioned "off by two pixels" issue.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4401 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/guic.h')
-rw-r--r-- | crawl-ref/source/guic.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/guic.h b/crawl-ref/source/guic.h index 0c13d20130..b49c2b4d5f 100644 --- a/crawl-ref/source/guic.h +++ b/crawl-ref/source/guic.h @@ -359,6 +359,7 @@ class MapRegionClass :public RegionClass int my2; int x_margin; int y_margin; + int marker_length; unsigned char *mbuf; bool force_redraw; bool mouse_pos(int mouse_x, int mouse_y, int *cx, int *cy); @@ -375,7 +376,7 @@ class MapRegionClass :public RegionClass void set_col(int col, int x, int y); int get_col(int x, int y); - MapRegionClass(int x, int y, int o_x, int o_y, bool iso); + MapRegionClass(int x, int y, int o_x, int o_y, int marker_length); void SysInit(int x, int y, int o_x, int o_y); void SysDeinit(); |