diff options
author | Raphael Langella <raphael.langella@gmail.com> | 2012-04-28 23:58:33 +0200 |
---|---|---|
committer | Raphael Langella <raphael.langella@gmail.com> | 2012-04-29 01:52:48 +0200 |
commit | 2e1a635651e047be6ea1753c29ca6af2806c540a (patch) | |
tree | d36d3a233f4552eb009fe0778fb0318316e8bc35 /crawl-ref/source/libw32c.cc | |
parent | 73a976740504c0261b98dd9a26e08b752987d975 (diff) | |
download | crawl-ref-2e1a635651e047be6ea1753c29ca6af2806c540a.tar.gz crawl-ref-2e1a635651e047be6ea1753c29ca6af2806c540a.zip |
Simplify and improve the startup menu layout (#5602).
Logic is unified between console and tiles. We now use the full available
size instead of leaving the last line for some reason.
It should be relatively easy to make it respect tile_menu_icons = false,
although I'm not sure it's worth bothering.
Diffstat (limited to 'crawl-ref/source/libw32c.cc')
-rw-r--r-- | crawl-ref/source/libw32c.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crawl-ref/source/libw32c.cc b/crawl-ref/source/libw32c.cc index 18ac42536d..f6e73ee198 100644 --- a/crawl-ref/source/libw32c.cc +++ b/crawl-ref/source/libw32c.cc @@ -890,4 +890,9 @@ int get_number_of_cols() return (screensize.X); } +int num_to_lines(int num) +{ + return num; +} + #endif /* #if defined(TARGET_OS_WINDOWS) && !defined(USE_TILE_LOCAL) */ |