diff options
Diffstat (limited to 'src/client/video.h')
-rw-r--r-- | src/client/video.h | 24 |
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__ - |