summaryrefslogtreecommitdiff
path: root/shared/modes.h
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2022-05-30 13:31:47 +0200
committerlonkaars <loek@pipeframe.xyz>2022-05-30 13:31:47 +0200
commitb728a15887fa28cdd98d74017c4882d632d6e069 (patch)
tree97df03d5b78ab4b48e72f69f75f3cc4307f6a373 /shared/modes.h
parent03862852b128748358dcb39ce50600eef0ba1a71 (diff)
status bar almost done
Diffstat (limited to 'shared/modes.h')
-rw-r--r--shared/modes.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/shared/modes.h b/shared/modes.h
new file mode 100644
index 0000000..ff939ea
--- /dev/null
+++ b/shared/modes.h
@@ -0,0 +1,16 @@
+#pragma once
+
+#define W2_MODE_COUNT 8
+
+/** mode constants */
+typedef enum {
+ W2_M_PREV = -1,
+ W2_M_MAZE = 0,
+ W2_M_GRID = 1,
+ W2_M_HALT = 2,
+ W2_M_LCAL = 3,
+ W2_M_CHRG = 4,
+ W2_M_DIRC = 5,
+ W2_M_SPIN = 6,
+ W2_M_SCAL = 7,
+} w2_e_mode;