From cd0b35a6c1a86e4432d9dc9ec75b4da0ae9a7bdc Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 27 Oct 2011 22:17:21 +0300 Subject: Add command to dump to chat main graphics settings. Command: /dumpg --- src/resources/image.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/resources/image.h') 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; } -- cgit v1.2.3-70-g09d2