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>2008-02-05 00:10:02 +0000
committerStijn Buys <ingar@osirion.org>2008-02-05 00:10:02 +0000
commit95ca0e469ef856c0182bb0da411e4417391e3780 (patch)
treea07db9b9d726d175d8305dc3cc5520b8a70f7a73 /src/client/video.h
parentcf61370df80de6dc659dbd9b803c973b300c1b4c (diff)
renamed client and server application objects
cleaned up namespaces
Diffstat (limited to 'src/client/video.h')
-rw-r--r--src/client/video.h24
1 files changed, 15 insertions, 9 deletions
diff --git a/src/client/video.h b/src/client/video.h
index 314bdbe..2b3fc41 100644
--- a/src/client/video.h
+++ b/src/client/video.h
@@ -1,5 +1,7 @@
-/* video.h
- This file is part of the Osirion project
+/*
+ client/video.h
+ This file is part of the Osirion project and is distributed under
+ the terms and conditions of the GNU General Public License version 2
*/
#ifndef __INCLUDED_CLIENT_VIDEO_H__
@@ -11,18 +13,23 @@ namespace client {
namespace video
{
/// initialize the client video subsystem
- extern bool init();
+ bool init();
+
/// shutdown the client video subsystem
- extern void shutdown();
+ void shutdown();
+
/// draw the next client video frame
- extern void frame(float seconds);
+ void frame(float seconds);
+
/// reset and clear the viewport
- extern void reset();
+ void reset();
- /// width of the SDL window in pixels
+ /// width of the window in pixels
extern int width;
- /// height of the SDL window in pixels
+
+ /// height of the window in pixels
extern int height;
+
/// width/height ratio
extern float aspect;
@@ -31,4 +38,3 @@ namespace video
} // namespace client
#endif // __INCLUDED_CLIENT_VIDEO_H__
-