summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-10-27 22:17:21 +0300
committerAndrei Karas <akaras@inbox.ru>2011-10-27 22:17:21 +0300
commitcd0b35a6c1a86e4432d9dc9ec75b4da0ae9a7bdc (patch)
tree6e09b953731887801b35f61056c2c87991e05590 /src/resources
parentc905067448700c63f7645b08d80bffbde57a45fa (diff)
downloadmv-cd0b35a6c1a86e4432d9dc9ec75b4da0ae9a7bdc.tar.gz
mv-cd0b35a6c1a86e4432d9dc9ec75b4da0ae9a7bdc.tar.bz2
mv-cd0b35a6c1a86e4432d9dc9ec75b4da0ae9a7bdc.tar.xz
mv-cd0b35a6c1a86e4432d9dc9ec75b4da0ae9a7bdc.zip
Add command to dump to chat main graphics settings.
Command: /dumpg
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/image.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/resources/image.h b/src/resources/image.h
index 9ac2b163e..941b34465 100644
--- a/src/resources/image.h
+++ b/src/resources/image.h
@@ -188,6 +188,9 @@ class Image : public Resource
static void SDLSetEnableAlphaCache(bool n)
{ mEnableAlphaCache = n; }
+ static bool SDLGetEnableAlphaCache()
+ { return mEnableAlphaCache; }
+
static void setEnableAlpha(bool n)
{ mEnableAlpha = n; }