summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tiletex.h
diff options
context:
space:
mode:
authorennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573>2009-04-21 00:32:24 +0000
committerennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573>2009-04-21 00:32:24 +0000
commit3819fb35af26b53733ccfa7fbd8e6fda5d2b7707 (patch)
tree4c08b299e4ca5e0f10dc8f6859b92b2deea1fc63 /crawl-ref/source/tiletex.h
parent5295af15b91c7bf88b9005e3b381ce587bcd2e11 (diff)
downloadcrawl-ref-3819fb35af26b53733ccfa7fbd8e6fda5d2b7707.tar.gz
crawl-ref-3819fb35af26b53733ccfa7fbd8e6fda5d2b7707.zip
Fixing centering of title screen image.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9671 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/tiletex.h')
-rw-r--r--crawl-ref/source/tiletex.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/crawl-ref/source/tiletex.h b/crawl-ref/source/tiletex.h
index 9c689dcbcd..f3e18ca07c 100644
--- a/crawl-ref/source/tiletex.h
+++ b/crawl-ref/source/tiletex.h
@@ -54,10 +54,16 @@ public:
unsigned int height() const { return m_height; }
void bind() const;
+ unsigned int orig_width() const { return m_orig_width; }
+ unsigned int orig_height() const { return m_orig_height; }
+
protected:
unsigned int m_handle;
unsigned int m_width;
unsigned int m_height;
+
+ unsigned int m_orig_width;
+ unsigned int m_orig_height;
};
class TilesTexture : public GenericTexture