DEADSOFTWARE

gl: fix trap on emscripten
[flatwaifu.git] / src / render.h
1 /* Copyright (C) 2020 SovietPony
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, version 3 of the License ONLY.
6 *
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
11 *
12 * You should have received a copy of the GNU General Public License
13 * along with this program. If not, see <http://www.gnu.org/licenses/>.
14 */
16 #ifndef RENDER_H_INCLUDED
17 #define RENDER_H_INCLUDED
19 #include "system.h"
20 #include "menu.h"
22 const cfg_t *R_args (void);
23 const cfg_t *R_conf (void);
24 const menu_t *R_menu (void);
26 void R_init (void);
27 void R_draw (void);
28 void R_done (void);
30 void R_set_videomode (int w, int h, int fullscreen);
32 void R_switch_texture (int x, int y);
34 void R_get_name (int n, char s[8]);
35 int R_get_special_id (int n);
36 int R_get_swp (int n);
37 void R_begin_load (void);
38 void R_load (char s[8]);
39 void R_end_load (void);
40 void R_loadsky (int sky);
42 #endif /* RENDER_H_INCLUDED */