summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tileweb.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2013-12-21 00:12:45 +0100
committerAdam Borowski <kilobyte@angband.pl>2013-12-21 00:12:45 +0100
commitcab063e5e304ab59f2f5604f0c0a83be371e7a3e (patch)
treea77303942b9945a9b687daba84c5e43430a4bed6 /crawl-ref/source/tileweb.cc
parentd2bcb779ddd4339aa77e30d1f6d80a7a98cc6b81 (diff)
downloadcrawl-ref-cab063e5e304ab59f2f5604f0c0a83be371e7a3e.tar.gz
crawl-ref-cab063e5e304ab59f2f5604f0c0a83be371e7a3e.zip
Drop double newlines where they seem to serve no purpose.
Sometimes, they're there to emphasize a break between two sections of code, which is good. In a majority of cases, though, they're just inconsistent.
Diffstat (limited to 'crawl-ref/source/tileweb.cc')
-rw-r--r--crawl-ref/source/tileweb.cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/crawl-ref/source/tileweb.cc b/crawl-ref/source/tileweb.cc
index 60b1425453..524fbae005 100644
--- a/crawl-ref/source/tileweb.cc
+++ b/crawl-ref/source/tileweb.cc
@@ -48,8 +48,6 @@
#include <stdarg.h>
#include <errno.h>
-
-
static unsigned int get_milliseconds()
{
// This is Unix-only, but so is Webtiles at the moment.
@@ -59,7 +57,6 @@ static unsigned int get_milliseconds()
return ((unsigned int) tv.tv_sec) * 1000 + tv.tv_usec / 1000;
}
-
// Helper for json.h
struct JsonWrapper
{
@@ -88,7 +85,6 @@ struct JsonWrapper
static class MalformedException { } malformed;
};
-
TilesFramework tiles;
TilesFramework::TilesFramework()
@@ -865,7 +861,6 @@ void TilesFramework::_send_item(item_info& current, const item_info& next,
}
}
-
static void _send_doll(const dolls_data &doll, bool submerged, bool ghost)
{
// Ordered from back to front.
@@ -1801,7 +1796,6 @@ void TilesFramework::clear_to_end_of_line()
m_print_area->put_character(' ', m_print_fg, m_print_bg, x, m_print_y);
}
-
void TilesFramework::mark_for_redraw(const coord_def& gc)
{
mark_dirty(gc);
@@ -1829,7 +1823,6 @@ bool TilesFramework::cell_needs_redraw(const coord_def& gc)
return m_cells_needing_redraw[gc.y * GXM + gc.x];
}
-
void TilesFramework::write_message_escaped(const string& s)
{
m_msg_buf.reserve(m_msg_buf.size() + s.size());