From 95ca0e469ef856c0182bb0da411e4417391e3780 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Tue, 5 Feb 2008 00:10:02 +0000 Subject: renamed client and server application objects cleaned up namespaces --- src/client/video.h | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) (limited to 'src/client/video.h') 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__ - -- cgit v1.2.3