share/video: move some non-config code from share/config here
[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  config_mode(int, int, int);
21
22 int  config_perf(void);
23 void config_sync(void);
24 void config_swap(void);
25
26 void config_set_grab(int w);
27 void config_clr_grab(void);
28 int  config_get_grab(void);
29
30 /*---------------------------------------------------------------------------*/
31
32 void config_push_persp(float, float, float);
33 void config_push_ortho(void);
34 void config_pop_matrix(void);
35 void config_clear(void);
36
37 /*---------------------------------------------------------------------------*/
38
39 #endif