Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2007-10-21 23:54:57 +0000
committerStijn Buys <ingar@osirion.org>2007-10-21 23:54:57 +0000
commitf8e9eab39a5e96d478762d06e27ec38f80128435 (patch)
treebf55c75dbedb1212f3effa23aa6df94932edf22d /src/client/video.h
parent621f4ad1d509665e19738525c80e104b80fb7b26 (diff)
namespace and class cleanups
Diffstat (limited to 'src/client/video.h')
-rw-r--r--src/client/video.h20
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