summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/libw32c.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-06-21 18:49:50 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-06-21 18:49:50 +0000
commit9284cc5dee2082710187e52e668dd209fd64c647 (patch)
tree329253210f7ca6a8dd8d5d7764829f65f5fcb7c3 /crawl-ref/source/libw32c.cc
parentb45dde8bc1dfd1a339ed99639f01354b57a042c9 (diff)
downloadcrawl-ref-9284cc5dee2082710187e52e668dd209fd64c647.tar.gz
crawl-ref-9284cc5dee2082710187e52e668dd209fd64c647.zip
* Greatly lower tiles update rate, now with an option for easier testing.
* Also sped up targeting a bit more. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.5@10013 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/libw32c.cc')
-rw-r--r--crawl-ref/source/libw32c.cc9
1 files changed, 5 insertions, 4 deletions
diff --git a/crawl-ref/source/libw32c.cc b/crawl-ref/source/libw32c.cc
index ef456090a4..7e55786cdd 100644
--- a/crawl-ref/source/libw32c.cc
+++ b/crawl-ref/source/libw32c.cc
@@ -129,9 +129,9 @@ static DWORD crawlColorData[16] =
void writeChar(char c)
{
- if ( c == '\t' )
+ if (c == '\t')
{
- for ( int i = 0; i < 8; ++i )
+ for (int i = 0; i < 8; ++i)
writeChar(' ');
return;
}
@@ -172,7 +172,7 @@ void writeChar(char c)
if (chy < 0)
chsx = cx;
- chy = cy;
+ chy = cy;
chex = cx;
// if we're not buffering, flush
@@ -182,7 +182,8 @@ void writeChar(char c)
// update x position
cx += 1;
- if (cx >= screensize.X) cx = screensize.X - 1;
+ if (cx >= screensize.X)
+ cx = screensize.X - 1;
}
void enable_smart_cursor(bool cursor)