/* video.h This file is part of the Osirion project */ #ifndef __INCLUDED_CLIENT_VIDEO_H__ #define __INCLUDED_CLIENT_VIDEO_H__ namespace client { /// the client video subsystem namespace video { /// initialize the client video subsystem extern bool init(); /// shutdown the client video subsystem extern void shutdown(); /// draw the next client video frame extern void frame(float seconds); /// reset and clear the viewport extern void reset(); /// width of the SDL window in pixels extern int width; /// height of the SDL window in pixels extern int height; /// width/height ratio extern float aspect; } // namespace video } // namespace client #endif // __INCLUDED_CLIENT_VIDEO_H__