diff options
author | Florian Diebold <flodiebold@gmail.com> | 2012-09-03 15:35:17 +0200 |
---|---|---|
committer | Florian Diebold <flodiebold@gmail.com> | 2012-09-03 15:35:17 +0200 |
commit | 0343327e19ba016c084bc675766dcea2f9b5c6b7 (patch) | |
tree | ccf60196fff7818162b8981cdb8cbeeb1a5f3247 /crawl-ref/source/tilesdl.cc | |
parent | c91d766394281db1e6802235b349f2df6c438e6b (diff) | |
download | crawl-ref-0343327e19ba016c084bc675766dcea2f9b5c6b7.tar.gz crawl-ref-0343327e19ba016c084bc675766dcea2f9b5c6b7.zip |
An option for local tiles to scale the dungeon area tiles up (or even down).
The name is tile_cell_pixels; it gives the tile width in
pixels (i.e. default value 32). Currently, Crawl uses nearest
neighbour filtering to scale tiles up; that could be easily changed to
linear, though (not sure which people would prefer).
Unlike the Webtiles option, this doesn't change the size of tiles in
menus or tabs; should it?
Diffstat (limited to 'crawl-ref/source/tilesdl.cc')
-rw-r--r-- | crawl-ref/source/tilesdl.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/tilesdl.cc b/crawl-ref/source/tilesdl.cc index 6851a72062..a77903e005 100644 --- a/crawl-ref/source/tilesdl.cc +++ b/crawl-ref/source/tilesdl.cc @@ -759,8 +759,8 @@ static const int stat_width = 42; void TilesFramework::do_layout() { // View size in pixels is (m_viewsc * crawl_view.viewsz) - m_viewsc.x = 32; - m_viewsc.y = 32; + m_viewsc.x = Options.tile_cell_pixels; + m_viewsc.y = Options.tile_cell_pixels; crawl_view.viewsz.x = Options.view_max_width; crawl_view.viewsz.y = Options.view_max_height; |