diff options
Diffstat (limited to 'src/client/video.h')
-rw-r--r-- | src/client/video.h | 25 |
1 files changed, 11 insertions, 14 deletions
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 |