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/graphics.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'src/graphics.h') 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; -- cgit v1.2.3-60-g2f50