diff options
author | Stijn Buys <ingar@osirion.org> | 2007-10-21 23:02:47 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2007-10-21 23:02:47 +0000 |
commit | a237a2d7723b94df6cd3e91401ec28388de6f1a0 (patch) | |
tree | 7da376d276d03fced7b94a807c0952fd32bcde08 /src/client/video.h | |
parent | 084c6212afaa6f996091f36d0ff85ac845803a87 (diff) |
namespace cleanup
Diffstat (limited to 'src/client/video.h')
-rw-r--r-- | src/client/video.h | 23 |
1 files changed, 14 insertions, 9 deletions
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__ |