diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-10-27 22:17:21 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-10-27 22:17:21 +0300 |
commit | cd0b35a6c1a86e4432d9dc9ec75b4da0ae9a7bdc (patch) | |
tree | 6e09b953731887801b35f61056c2c87991e05590 /src/resources/image.h | |
parent | c905067448700c63f7645b08d80bffbde57a45fa (diff) | |
download | manaplus-cd0b35a6c1a86e4432d9dc9ec75b4da0ae9a7bdc.tar.gz manaplus-cd0b35a6c1a86e4432d9dc9ec75b4da0ae9a7bdc.tar.bz2 manaplus-cd0b35a6c1a86e4432d9dc9ec75b4da0ae9a7bdc.tar.xz manaplus-cd0b35a6c1a86e4432d9dc9ec75b4da0ae9a7bdc.zip |
Add command to dump to chat main graphics settings.
Command: /dumpg
Diffstat (limited to 'src/resources/image.h')
-rw-r--r-- | src/resources/image.h | 3 |
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; } |