summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/libgui.cc
diff options
context:
space:
mode:
authorennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573>2008-08-05 04:29:26 +0000
committerennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573>2008-08-05 04:29:26 +0000
commit7d1c30fb193015fef6f15b76c4360ac733581b58 (patch)
tree1b931fdef657b50903c53956c9e5769b397d8d51 /crawl-ref/source/libgui.cc
parent5c7064085c546eeeaecb43267806c0058345f865 (diff)
downloadcrawl-ref-7d1c30fb193015fef6f15b76c4360ac733581b58.tar.gz
crawl-ref-7d1c30fb193015fef6f15b76c4360ac733581b58.zip
Improved Tile screen layout. Small screens get the message window overlaid on the dungeon. Even smaller screens get the graphics shrunk (and thus slightly blurry.) Added full screen options and several predefined layouts for older and newer Eee PC resolutions.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6774 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/libgui.cc')
-rw-r--r--crawl-ref/source/libgui.cc7
1 files changed, 2 insertions, 5 deletions
diff --git a/crawl-ref/source/libgui.cc b/crawl-ref/source/libgui.cc
index d0e3414578..2c2befc188 100644
--- a/crawl-ref/source/libgui.cc
+++ b/crawl-ref/source/libgui.cc
@@ -47,9 +47,6 @@
#include <SDL.h>
#include "tilesdl.h"
-int tile_dngn_x;
-int tile_dngn_y;
-
int tile_idx_unseen_terrain(int x, int y, int what)
{
const coord_def gc(x,y);
@@ -292,12 +289,12 @@ int wherey()
int get_number_of_lines()
{
- return 30;
+ return tiles.get_number_of_lines();
}
int get_number_of_cols()
{
- return 80;
+ return tiles.get_number_of_cols();
}
void put_colour_ch(int colour, unsigned ch)