home *** CD-ROM | disk | FTP | other *** search
- #ifndef __Display_h__
- #define __Display_h__
-
-
- #include "SDL.h"
- #include "DisplayInfo.h"
-
- #define DISPLAY_VSCREEN_WIDTH 800
- #define DISPLAY_VSCREEN_HEIGHT 600
-
- class Display{
- // subsystem interface
- public:
- static DisplayInfo info;
- static bool init();
- static bool shutdown();
- static bool wasInit();
-
- static bool registerCVarsAndCCmds();
- static bool unregisterCVarsAndCCmds();
-
- protected:
- static bool initialized;
-
- // real methods
- public:
- static unsigned int videoFlags;
- static SDL_Surface* mainWindow;
-
- //! takes a screenshot of the current screen
- static void takeScreenshot();
- static void setGamma(float gamma);
- static void listAvailableModes(unsigned int flags);
- };
-
- #endif /* __Display_h__ */
-