From f23764a0ec0b946d9d0c0dd1a2537c0d22849086 Mon Sep 17 00:00:00 2001 From: Charles Date: Sun, 10 May 2020 16:48:37 +0200 Subject: Dynamic factor, everything to double, removed cardioid struct, window resize --- inc/graphics.h | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 inc/graphics.h (limited to 'inc/graphics.h') diff --git a/inc/graphics.h b/inc/graphics.h deleted file mode 100644 index bb7e491..0000000 --- a/inc/graphics.h +++ /dev/null @@ -1,21 +0,0 @@ -#ifndef GRAPHICS_H -# define GRAPHICS_H - -# include -# include - -# include "cardioid.h" - -typedef struct -{ - SDL_Window *window; - SDL_Renderer *renderer; - t_cardioid *cardioid; - bool running; -} t_state; - -void graphics_init(t_state *state, int width, int height, t_cardioid *cardioid); -void graphics_quit(t_state *state); -void graphics_run(t_state *state); - -#endif -- cgit