From b417df720584c101f3799874a0c836a543a8d0a8 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 12 Oct 2008 14:55:10 +0000 Subject: user interface updates, work-in-progress --- src/client/video.h | 25 +++++++++++-------------- 1 file changed, 11 insertions(+), 14 deletions(-) (limited to 'src/client/video.h') diff --git a/src/client/video.h b/src/client/video.h index 59939e6..daa136c 100644 --- a/src/client/video.h +++ b/src/client/video.h @@ -9,31 +9,28 @@ namespace client { -/// the client video subsystem +/// the video subsystem namespace video { - /// initialize the client video subsystem + /// initialize the video subsystem bool init(); - /// shutdown the client video subsystem + /// shutdown the video subsystem void shutdown(); - /// draw the next client video frame - void frame(float seconds); - - /// reset and clear the viewport - void reset(); - - /// restart the video subsystem + /// re-initialize the video subsystems + /** the restart functions performs a full shutdown + * and re-initializes the video subsystem + */ void restart(); - /// make a screenshot - void screenshot(); + /// draw the next client video frame + void frame(float seconds); - /// width of the window in pixels + /// width of the application window in pixels extern int width; - /// height of the window in pixels + /// height of the application window in pixels extern int height; } // namespace video -- cgit v1.2.3