DEADSOFTWARE

config: read config and args by renders
[flatwaifu.git] / src / render.h
index 71d4365f659451e0b2ae2d329fdd72548e9c6eec..0b6319c46f367f10ec8297bd5b5cca35d6144773 100644 (file)
@@ -1,16 +1,18 @@
 #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_get_name (int n, char s[8]);
 int R_get_special_id (int n);