From a237a2d7723b94df6cd3e91401ec28388de6f1a0 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 21 Oct 2007 23:02:47 +0000 Subject: namespace cleanup --- src/client/video.h | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) (limited to 'src/client/video.h') diff --git a/src/client/video.h b/src/client/video.h index 3b126f1..145cc24 100644 --- a/src/client/video.h +++ b/src/client/video.h @@ -5,26 +5,31 @@ #ifndef __INCLUDED_VIDEO_H__ #define __INCLUDED_VIDEO_H__ +namespace client { -namespace video +class Video { +public: /// initialize the video subsystem - void init(); + static void init(); /// shutdown the video subsystem - void shutdown(); + static void shutdown(); /// Update the screen state and redraw - void draw(float elapsed); + static void draw(float elapsed); /// reset and clear the viewport - void reset(); + static void reset(); /// Width of the SDL window in pixels - extern int width; + static int width; /// Height of the SDL window in pixels - extern int height; + static int height; /// True if the video subsystem is initialized - extern bool initialized; + static bool initialized; /// width/height ratio - extern float ratio; + static float ratio; + }; +} // namespace client + #endif // __INCLUDED_VIDEO_H__ -- cgit v1.2.3