summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/libgui.cc
diff options
context:
space:
mode:
authorEnne Walker <enne.walker@gmail.com>2010-05-29 17:33:20 -0400
committerEnne Walker <enne.walker@gmail.com>2010-05-30 08:50:37 -0400
commitbe734ca30eba735e20a8145bb22cdcc4de134ced (patch)
tree018452f9e2af7ceeef493c93f79b0daa28488c99 /crawl-ref/source/libgui.cc
parentca6e3ae38efee3e21d22494140094d71344cdac4 (diff)
downloadcrawl-ref-be734ca30eba735e20a8145bb22cdcc4de134ced.tar.gz
crawl-ref-be734ca30eba735e20a8145bb22cdcc4de134ced.zip
Split up tiles.h.
Most of it has gone into tilepick.h, but also into enum.h and initfile.cc. Unlike tiles.h which was included everywhere, tilepick.h is now only a dependency of about half the files.
Diffstat (limited to 'crawl-ref/source/libgui.cc')
-rw-r--r--crawl-ref/source/libgui.cc18
1 files changed, 0 insertions, 18 deletions
diff --git a/crawl-ref/source/libgui.cc b/crawl-ref/source/libgui.cc
index 8dce36d513..e07794d5ea 100644
--- a/crawl-ref/source/libgui.cc
+++ b/crawl-ref/source/libgui.cc
@@ -1,7 +1,6 @@
/*
* File: libgui.cc
* Summary: Functions that any display port needs to implement.
- * Needed by makefile_tiles.mgw and makefile_tiles.unix.
* Written by: M.Itakura
*/
@@ -23,28 +22,11 @@
#include "state.h"
#include "stuff.h"
#include "terrain.h"
-#include "tiles.h"
#include "tiledef-main.h"
#include "travel.h"
#include "viewgeom.h"
#include "windowmanager.h"
-tileidx_t tileidx_unseen_terrain(const coord_def &gc, int what)
-{
- dungeon_feature_type feature = grd(gc);
-
- tileidx_t t = tileidx_feature(feature, gc);
- if (t == TILE_ERROR || what == ' ')
- {
- tileidx_t fg_dummy;
- tileidx_unseen(&fg_dummy, &t, what, gc);
- }
-
- t |= tile_unseen_flag(gc);
-
- return t;
-}
-
int m_getch()
{
return getch();