summaryrefslogtreecommitdiff
path: root/include/tak.h
diff options
context:
space:
mode:
authortslil <tslil@posteo.de>2020-12-30 17:56:22 -0500
committertslil <tslil@posteo.de>2026-08-28 19:37:41 +0100
commit9e926c41c05daae9dd8e6e4af20131d55cf2de03 (patch)
tree173ecbe155b9478f0a2d7b19405af88369916fcf /include/tak.h
parent7b595584975e6a43ab2cd22cab0a16323c9d1c6b (diff)
Added linenoise library, uninitialised variable + renaming
Diffstat (limited to 'include/tak.h')
-rw-r--r--include/tak.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/include/tak.h b/include/tak.h
index 0bedde6..c703943 100644
--- a/include/tak.h
+++ b/include/tak.h
@@ -1,8 +1,10 @@
#include <stdint.h>
-enum E_RESULT { A_OK, A_ILLEGAL, A_OVERFLOW,
- PTN_VALID, PTN_INVALID, W_NONE, W_DRAW, W_DRAGON,
- W_ROAD_WHITE, W_ROAD_BLACK, W_FLAT_WHITE, W_FLAT_BLACK };
+enum E_RESULT {
+ ACT_OK, ACT_ILLEGAL, ACT_OVERFLOW,
+ PTN_VALID, PTN_INVALID,
+ WIN_NONE, WIN_DRAW, WIN_FLAT_WHITE, WIN_FLAT_BLACK,
+ WIN_ROAD_WHITE, WIN_ROAD_BLACK, WIN_DRAGON };
// -------------------------------------------------------------------
// State management