summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tileweb.h
diff options
context:
space:
mode:
authorAndre-Patrick Bubel <code@andre-bubel.de>2012-01-19 02:08:13 +0100
committerFlorian Diebold <flodiebold@gmail.com>2012-11-23 21:28:19 +0100
commite000f41b8842cce11f3057116ed5430a1e216dc9 (patch)
treede6edb9b60fd43068c23cf95720383e6156cea81 /crawl-ref/source/tileweb.h
parentd7e060f80cc3014d7b62e892ed193a37255343d6 (diff)
downloadcrawl-ref-e000f41b8842cce11f3057116ed5430a1e216dc9.tar.gz
crawl-ref-e000f41b8842cce11f3057116ed5430a1e216dc9.zip
Webtiles: draw mini health and magic point bar
- Webtiles: Send hp and mp information to the client - handle player message and update global player object - send player position - send player coordinates relativ to origin - send player after first map draw because otherwise the origin isn't initialized - redraw minibars if view is moved - always rerender the player before applying the minibar - minibars are correctly displayed if health is negative
Diffstat (limited to 'crawl-ref/source/tileweb.h')
-rw-r--r--crawl-ref/source/tileweb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/tileweb.h b/crawl-ref/source/tileweb.h
index 00969068a3..b49a2ad143 100644
--- a/crawl-ref/source/tileweb.h
+++ b/crawl-ref/source/tileweb.h
@@ -234,6 +234,7 @@ protected:
void _send_monster(const coord_def &gc, const monster_info* m,
map<uint32_t, coord_def>& new_monster_locs,
bool force_full);
+ void _send_player();
};
// Main interface for tiles functions