Fix interpolation in title screen replays
[neverball] / share / video.h
1 /*
2  * Copyright (C) 2003 Robert Kooima
3  *
4  * NEVERBALL is  free software; you can redistribute  it and/or modify
5  * it under the  terms of the GNU General  Public License as published
6  * by the Free  Software Foundation; either version 2  of the License,
7  * or (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful, but
10  * WITHOUT  ANY  WARRANTY;  without   even  the  implied  warranty  of
11  * MERCHANTABILITY or  FITNESS FOR A PARTICULAR PURPOSE.   See the GNU
12  * General Public License for more details.
13  */
14
15 #ifndef VIDEO_H
16 #define VIDEO_H
17
18 /*---------------------------------------------------------------------------*/
19
20 int video_init(const char *, const char *);
21
22 /*---------------------------------------------------------------------------*/
23
24 int  video_mode(int, int, int);
25
26 int  video_perf(void);
27 void video_swap(void);
28
29 void video_set_grab(int w);
30 void video_clr_grab(void);
31 int  video_get_grab(void);
32
33 /*---------------------------------------------------------------------------*/
34
35 void video_push_persp(float, float, float);
36 void video_push_ortho(void);
37 void video_pop_matrix(void);
38 void video_clear(void);
39
40 /*---------------------------------------------------------------------------*/
41
42 #endif