X-Git-Url: https://deadsoftware.ru/gitweb?p=flatwaifu.git;a=blobdiff_plain;f=src%2Frender.h;h=7f1b2314df120e65b79b52098c4412d9de03842d;hp=49040173a7521b8b04ec8e70f93966b7a4b487b2;hb=2b481ae25adcf3bebf37be182eafc8bfa0acb4c1;hpb=8191e06a991c4733abb2166b14934be4e3ea8ed7 diff --git a/src/render.h b/src/render.h index 4904017..7f1b231 100644 --- a/src/render.h +++ b/src/render.h @@ -1,22 +1,26 @@ #ifndef RENDER_H_INCLUDED #define RENDER_H_INCLUDED -extern int SCRW, SCRH; // from vga.c +#include "system.h" +#include "menu.h" + +const cfg_t *R_args (void); +const cfg_t *R_conf (void); +const menu_t *R_menu (void); -void R_draw (void); -void R_alloc (void); void R_init (void); +void R_draw (void); void R_done (void); -void R_setgamma (int g); -int R_getgamma (void); -void R_toggle_fullscreen (void); void R_set_videomode (int w, int h, int fullscreen); +void R_switch_texture (int x, int y); + void R_get_name (int n, char s[8]); int R_get_special_id (int n); +int R_get_swp (int n); void R_begin_load (void); -void R_load (char s[8], int f); +void R_load (char s[8]); void R_end_load (void); void R_loadsky (int sky);