diff options
Diffstat (limited to 'src/client/video.h')
-rw-r--r-- | src/client/video.h | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/src/client/video.h b/src/client/video.h index 145cc24..4c07652 100644 --- a/src/client/video.h +++ b/src/client/video.h @@ -10,24 +10,26 @@ namespace client { class Video { public: + Video(); + ~Video(); + /// initialize the video subsystem - static void init(); + void init(); /// shutdown the video subsystem - static void shutdown(); + void shutdown(); /// Update the screen state and redraw - static void draw(float elapsed); + void draw(float elapsed); /// reset and clear the viewport - static void reset(); + void reset(); /// Width of the SDL window in pixels - static int width; + int width; /// Height of the SDL window in pixels - static int height; + int height; /// True if the video subsystem is initialized - static bool initialized; + bool initialized; /// width/height ratio - static float ratio; - + float ratio; }; } // namespace client |