summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tiletex.cc
diff options
context:
space:
mode:
authorEnne Walker <ennewalker@users.sourceforge.net>2010-04-23 16:00:41 -0400
committerEnne Walker <ennewalker@users.sourceforge.net>2010-04-24 11:41:02 -0400
commita22caea21579cd15007a2c2167d233789a1e01fa (patch)
tree96a415826979769b7a00a75966df91b785b98b02 /crawl-ref/source/tiletex.cc
parent0f928518b4f7497c0108c1fcab0096c6c369cffb (diff)
downloadcrawl-ref-a22caea21579cd15007a2c2167d233789a1e01fa.tar.gz
crawl-ref-a22caea21579cd15007a2c2167d233789a1e01fa.zip
General coding standards update.
No spaces on parens. Line up function params. Sort includes more rationally. Put curly braces on their own line. Don't C-style typedef enum and structs. Put if-clauses on their own line.
Diffstat (limited to 'crawl-ref/source/tiletex.cc')
-rw-r--r--crawl-ref/source/tiletex.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/crawl-ref/source/tiletex.cc b/crawl-ref/source/tiletex.cc
index 1694ea5331..df55e8aec3 100644
--- a/crawl-ref/source/tiletex.cc
+++ b/crawl-ref/source/tiletex.cc
@@ -3,10 +3,9 @@
#ifdef USE_TILE
#include "files.h"
+#include "glwrapper.h"
#include "tiletex.h"
-
#include "windowmanager.h"
-#include "glwrapper.h"
GenericTexture::GenericTexture() :
m_handle(0),
@@ -37,7 +36,7 @@ bool GenericTexture::load_texture(const char *filename,
{
bool success = false;
success = wm->load_texture(this, filename, mip_opt, m_orig_width,
- m_orig_height, proc, force_power_of_two);
+ m_orig_height, proc, force_power_of_two);
return (success);
}