diff options
Diffstat (limited to 'src/client.h')
-rw-r--r-- | src/client.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/client.h b/src/client.h index 27e6249bd..6c93adbdf 100644 --- a/src/client.h +++ b/src/client.h @@ -38,6 +38,7 @@ class Button; class Desktop; +class Game; class LoginData; class Window; class QuitDialog; @@ -257,6 +258,9 @@ public: static std::string getServerName() { return instance()->mServerName; } + static void resize(int width, int height, bool always = false) + { instance()->resizeVideo(width, height, always); } + static void setGuiAlpha(float n); static float getGuiAlpha(); @@ -281,6 +285,8 @@ public: void writePacketLimits(std::string packetLimitsName); + void resizeVideo(int width, int height, bool always); + static bool limitPackets(int type); static bool checkPackets(int type); @@ -334,6 +340,7 @@ private: ServerInfo mCurrentServer; + Game *mGame; Window *mCurrentDialog; QuitDialog *mQuitDialog; Desktop *mDesktop; |