Added a ton of stuff, including the beginnings of a new UI system
[ne.git] / src / backend / video.h
blob66693a07dbb99a09b8dcb5f6afd074c482fb3b87
1 /************************************************************************
2 This file is part of NE.
4 NE is free software: you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation, either version 3 of the License, or
7 (at your option) any later version.
9 NE is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
14 You should have received a copy of the GNU General Public License
15 along with NE. If not, see <http://www.gnu.org/licenses/>.
16 ************************************************************************/
18 #ifndef VIDEO_H_
19 #define VIDEO_H_
21 #ifdef __cplusplus
22 extern "C" {
23 #endif
25 struct video_info
27 int width, height, bpp, flags, fullscreen;
30 const struct video_info* v_info();
32 void v_init();
34 void v_closable(int isclosable);
36 void v_setup(int width, int height, int fullscreen);
38 void v_flip();
40 double *v_unproject(float x, float y, float z);
42 #ifdef __cplusplus
44 #endif
46 #endif