From: DeaDDooMER Date: Wed, 29 Apr 2020 04:41:35 +0000 (+0400) Subject: stub: fix stub render X-Git-Url: http://deadsoftware.ru/gitweb?a=commitdiff_plain;h=f42eb9b51362caa407ba8a993c6fd4ca6a5908aa;p=flatwaifu.git stub: fix stub render --- diff --git a/src/stubren/render.c b/src/stubren/render.c index 2ea2714..525c44c 100644 --- a/src/stubren/render.c +++ b/src/stubren/render.c @@ -1,56 +1,61 @@ #include "render.h" -int SCRW, SCRH; // public -static int gamma; - -void R_draw (void) { - +const cfg_t *R_args (void) { + return NULL; } -void R_alloc (void) { +const cfg_t *R_conf (void) { + return NULL; +} +const menu_t *R_menu (void) { + return NULL; } void R_init (void) { - + // stub } -void R_done (void) { - +void R_draw (void) { + // stub } -void R_setgamma (int g) { - gamma = g; +void R_done (void) { + // stub } -int R_getgamma (void) { - return gamma; +void R_set_videomode (int w, int h, int fullscreen) { + // stub } -void R_toggle_fullscreen (void) { - +void R_switch_texture (int x, int y) { + // stub } void R_get_name (int n, char s[8]) { - + s[0] = 0; } int R_get_special_id (int n) { return -1; } -void R_begin_load (void) { - +int R_get_swp (int n) { + return 0; } -void R_load (char s[8], int f) { +void R_begin_load (void) { + // stub +} +void R_load (char s[8]) { + // stub } void R_end_load (void) { - + // stub } void R_loadsky (int sky) { - -} \ No newline at end of file + // stub +}