summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tilesdl.h
diff options
context:
space:
mode:
authorRaphael Langella <raphael.langella@gmail.com>2012-10-08 14:12:55 +0200
committerRaphael Langella <raphael.langella@gmail.com>2012-10-08 18:11:11 +0200
commit74c35ba6f35c2ecb3e6baf8cf1a6ede7cbdda23d (patch)
treed26a4c2bc065ca3f11dbb4f1bf17ed2314993162 /crawl-ref/source/tilesdl.h
parent589acc5e30fdeb6f424fbecb3e0e7539c5bdab94 (diff)
downloadcrawl-ref-74c35ba6f35c2ecb3e6baf8cf1a6ede7cbdda23d.tar.gz
crawl-ref-74c35ba6f35c2ecb3e6baf8cf1a6ede7cbdda23d.zip
Scale the skill menu tiles.
Scale up with the tile_cell_pixels option, and scale down when the resolution is too low (instead of disabling tiles).
Diffstat (limited to 'crawl-ref/source/tilesdl.h')
-rw-r--r--crawl-ref/source/tilesdl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/tilesdl.h b/crawl-ref/source/tilesdl.h
index 01d6373470..fa00a69ce8 100644
--- a/crawl-ref/source/tilesdl.h
+++ b/crawl-ref/source/tilesdl.h
@@ -149,7 +149,7 @@ public:
FontWrapper* get_crt_font() { return m_fonts.at(m_crt_font).font; }
CRTRegion* get_crt() { return m_region_crt; }
const ImageManager* get_image_manager() { return m_image; }
- int to_lines(int num_tiles);
+ int to_lines(int num_tiles, int tile_height = TILE_Y);
protected:
int load_font(const char *font_file, int font_size,
bool default_on_fail, bool outline);