From 9e926c41c05daae9dd8e6e4af20131d55cf2de03 Mon Sep 17 00:00:00 2001 From: tslil Date: Wed, 30 Dec 2020 17:56:22 -0500 Subject: Added linenoise library, uninitialised variable + renaming --- include/tak.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'include/tak.h') 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 -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 -- cgit v1.3.1