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:02:47 +0000
committerStijn Buys <ingar@osirion.org>2007-10-21 23:02:47 +0000
commita237a2d7723b94df6cd3e91401ec28388de6f1a0 (patch)
tree7da376d276d03fced7b94a807c0952fd32bcde08 /src/client/view.h
parent084c6212afaa6f996091f36d0ff85ac845803a87 (diff)
namespace cleanup
Diffstat (limited to 'src/client/view.h')
-rw-r--r--src/client/view.h25
1 files changed, 18 insertions, 7 deletions
diff --git a/src/client/view.h b/src/client/view.h
index de73ab9..377cc9b 100644
--- a/src/client/view.h
+++ b/src/client/view.h
@@ -6,19 +6,30 @@
#ifndef __INCLUDED_VIEW_H__
#define __INCLUDED_VIEW_H__
-#include "common/vector3f.h"
+namespace client {
-/// Draws the view of the map
-namespace view
+/// Draws the userinterface
+class View
{
- void init();
- void shutdown();
+public:
+ /// intialize the view
+ static void init();
+ /// shutdown the view
+ static void shutdown();
/// Update the chronometer and draw the game view
- void draw(float elapsed);
+ static void draw(float elapsed);
/// Reset the projection matrix
- void reset();
+ static void reset();
+
+protected:
+ /// draw the world
+ static void draw_world(float elapsed);
+ /// draw the background
+ static void draw_background(float elapsed);
};
+} // namespace client
+
#endif // __INCLUDED_VIEW_H__