diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2023-08-25 19:07:24 +0100 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2023-08-25 19:07:24 +0100 |
commit | 64f8df2592c2bf7cbedd2721ffeec39f74269041 (patch) | |
tree | 9e1f89698b955c3719a68e2d65216c2eed2ca7ff /main.c | |
parent | 62647556fadb5407a8b144c5b3067772288b458f (diff) | |
download | abelian-sandpile-64f8df2592c2bf7cbedd2721ffeec39f74269041.tar.gz abelian-sandpile-64f8df2592c2bf7cbedd2721ffeec39f74269041.tar.bz2 abelian-sandpile-64f8df2592c2bf7cbedd2721ffeec39f74269041.zip |
(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)
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 14 |
1 files changed, 1 insertions, 13 deletions
@@ -13,19 +13,7 @@ #include <raylib.h> #include <raymath.h> -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) { |