From f8e9eab39a5e96d478762d06e27ec38f80128435 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 21 Oct 2007 23:54:57 +0000 Subject: namespace and class cleanups --- src/client/video.h | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) (limited to 'src/client/video.h') 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 -- cgit v1.2.3