summaryrefslogtreecommitdiff
path: root/src/graphics.h
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/graphics.h
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/graphics.h')
-rw-r--r--src/graphics.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/graphics.h b/src/graphics.h
index f3e0bd05d..4a4676b26 100644
--- a/src/graphics.h
+++ b/src/graphics.h
@@ -275,6 +275,21 @@ class Graphics : public gcn::SDLGraphics
bool getSecure()
{ return mSecure; }
+ int getBpp()
+ { return mBpp; }
+
+ bool getFullScreen()
+ { return mFullscreen; }
+
+ bool getHWAccel()
+ { return mHWAccel; }
+
+ bool getDoubleBuffer()
+ { return mDoubleBuffer; }
+
+ int getOpenGL()
+ { return mOpenGL; }
+
int mWidth;
int mHeight;
@@ -290,6 +305,7 @@ class Graphics : public gcn::SDLGraphics
bool mDoubleBuffer;
SDL_Rect mRect;
bool mSecure;
+ int mOpenGL;
};
extern Graphics *mainGraphics;