From 64f8df2592c2bf7cbedd2721ffeec39f74269041 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Fri, 25 Aug 2023 19:07:24 +0100 Subject: (main~>lib.h)+header for data structures,~migrate lib.h +some file handlers for writing and reading (may help with very large renders by doing them piecemeal when I can) --- main.c | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'main.c') diff --git a/main.c b/main.c index c20662d..ab11790 100644 --- a/main.c +++ b/main.c @@ -13,19 +13,7 @@ #include #include -struct State -{ - // Sandpiles - unsigned char *data; - size_t dwidth; - - size_t window_len; - int multiplier; - - bool thread_alive; -}; - -typedef struct State state_t; +#include "./lib.h" void step(state_t *state) { -- cgit v1.2.3-13-gbd6f