summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/main.c b/main.c
index c20662d..ab11790 100644
--- a/main.c
+++ b/main.c
@@ -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)
{