blob: 314bdbe6c40e161fb19c2fccd1465cd1ba31286f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
/* 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__
|