diff options
author | gunofdis <dis.astranagant@gmail.com> | 2009-11-06 13:07:04 -0600 |
---|---|---|
committer | Eino Keskitalo <evktalo@users.sourceforge.net> | 2009-11-06 21:36:48 +0200 |
commit | 79d8c3044d2bb75d7f1e8ebad5cf6e3692fb7605 (patch) | |
tree | 7a14c851b1d69e6bc3f5a17a9c014edb0df8c99a | |
parent | b4b8747ec41b3fa6543d7c51e02515b0cec1496f (diff) | |
download | crawl-ref-79d8c3044d2bb75d7f1e8ebad5cf6e3692fb7605.tar.gz crawl-ref-79d8c3044d2bb75d7f1e8ebad5cf6e3692fb7605.zip |
Import showsymb.h in tiles files and fix some mismatched parens
Fixes tiles build (on Windows).
Signed-off-by: Eino Keskitalo <evktalo@users.sourceforge.net>
-rw-r--r-- | crawl-ref/source/libgui.cc | 1 | ||||
-rw-r--r-- | crawl-ref/source/tilepick.cc | 1 | ||||
-rw-r--r-- | crawl-ref/source/tilereg.cc | 3 |
3 files changed, 4 insertions, 1 deletions
diff --git a/crawl-ref/source/libgui.cc b/crawl-ref/source/libgui.cc index 93102cb775..7fafaffc2a 100644 --- a/crawl-ref/source/libgui.cc +++ b/crawl-ref/source/libgui.cc @@ -20,6 +20,7 @@ #include "externs.h" #include "tilereg.h" #include "message.h" +#include "showsymb.h" #include "stash.h" #include "state.h" #include "stuff.h" diff --git a/crawl-ref/source/tilepick.cc b/crawl-ref/source/tilepick.cc index aeda884ff2..54677b59de 100644 --- a/crawl-ref/source/tilepick.cc +++ b/crawl-ref/source/tilepick.cc @@ -27,6 +27,7 @@ #include "mon-util.h" #include "player.h" #include "shopping.h" +#include "showsymb.h" #include "spells3.h" // for the halo #include "stuff.h" #include "terrain.h" diff --git a/crawl-ref/source/tilereg.cc b/crawl-ref/source/tilereg.cc index a629e4df27..745ca0fca9 100644 --- a/crawl-ref/source/tilereg.cc +++ b/crawl-ref/source/tilereg.cc @@ -30,6 +30,7 @@ #include "options.h" #include "player.h" #include "religion.h" +#include "showsymb.h" #include "species.h" #include "spells3.h" #include "spl-book.h" @@ -1382,7 +1383,7 @@ bool DungeonRegion::update_tip_text(std::string& tip) if (!cell_is_solid(m_cursor[CURSOR_MOUSE])) { - const monsters *mon = monster_at(m_cursor[CURSOR_MOUSE])); + const monsters *mon = monster_at(m_cursor[CURSOR_MOUSE]); if (!mon || mon->friendly()) tip = "[L-Click] Move\n"; else if (mon) |