X-Git-Url: https://deadsoftware.ru/gitweb?p=flatwaifu.git;a=blobdiff_plain;f=src%2Frender.h;h=2999456bc7ab012a7f0cac49c1fdcfcc63951421;hp=443b98f5e3c62758e826c711582e8658146f2ee6;hb=ef16dea09f87b15fc6d58fae0aa0832e0648c00e;hpb=60272b94f26ff9cdd2c93271842af575c2d41a7a diff --git a/src/render.h b/src/render.h index 443b98f..2999456 100644 --- a/src/render.h +++ b/src/render.h @@ -1,19 +1,41 @@ +/* Copyright (C) 2020 SovietPony + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, version 3 of the License ONLY. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + #ifndef RENDER_H_INCLUDED #define RENDER_H_INCLUDED +#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_init (void); void R_draw (void); void R_done (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);