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/graphics.h | |
parent | c905067448700c63f7645b08d80bffbde57a45fa (diff) | |
download | manaverse-cd0b35a6c1a86e4432d9dc9ec75b4da0ae9a7bdc.tar.gz manaverse-cd0b35a6c1a86e4432d9dc9ec75b4da0ae9a7bdc.tar.bz2 manaverse-cd0b35a6c1a86e4432d9dc9ec75b4da0ae9a7bdc.tar.xz manaverse-cd0b35a6c1a86e4432d9dc9ec75b4da0ae9a7bdc.zip |
Add command to dump to chat main graphics settings.
Command: /dumpg
Diffstat (limited to 'src/graphics.h')
-rw-r--r-- | src/graphics.h | 16 |
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; |