summaryrefslogtreecommitdiff
path: root/src/ring.h
diff options
context:
space:
mode:
authorLouie S <louie@example.com>2023-10-12 16:07:05 -0400
committerLouie S <louie@example.com>2023-10-12 16:07:05 -0400
commit3c6cf0ed9980990ca07f6d76817814979691d65e (patch)
treebf11a53332f67b87ba6c05384eaa11cca486deb1 /src/ring.h
parent91da624fe1665f3ddb3216ebb8a56a982074228d (diff)
Pickup displaying
Diffstat (limited to 'src/ring.h')
-rw-r--r--src/ring.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/ring.h b/src/ring.h
index 0836421..0b23bf1 100644
--- a/src/ring.h
+++ b/src/ring.h
@@ -1,10 +1,18 @@
#ifndef RING_H
#define RING_H
+#include <stdbool.h>
+
typedef struct ring {
int size;
int location;
- char ascii[9];
+ char ascii[10];
+ bool held;
} Ring;
+extern Ring rings[3];
+extern Ring *held;
+
+void pickup_ring();
+
#endif