diff options
| author | tslil <tslil@posteo.de> | 2020-12-29 18:55:06 -0500 |
|---|---|---|
| committer | tslil <tslil@posteo.de> | 2020-12-29 18:55:06 -0500 |
| commit | 2cd6206fdf56e9c1cc4da0fb66c7e42efd14e18d (patch) | |
| tree | 105efe213f5d69eaa8d9a40531a4ccb72a1c793e /include/enums.h | |
| parent | e4c90159344a5717fab873b9a5adb92cc801df23 (diff) | |
PTN code looks correct, minor tweaks and header guards
Diffstat (limited to 'include/enums.h')
| -rw-r--r-- | include/enums.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/enums.h b/include/enums.h index 1df2a4b..3f1e172 100644 --- a/include/enums.h +++ b/include/enums.h @@ -1,5 +1,8 @@ +#ifndef ENUMS_H_INCLUDE +#define ENUMS_H_INCLUDE enum COLOUR { C_WHITE, C_BLACK }; enum STONE_VARIANT { STONE_FLAT, STONE_STANDING, STONE_CAPSTONE }; enum MOVE_DIRECTION { M_UP, M_DOWN, M_LEFT, M_RIGHT }; enum ACTION_RESULT { A_OK, A_ILLEGAL, A_OVERFLOW }; enum WIN_RESULT { W_NONE, W_ROAD_WHITE, W_ROAD_BLACK, W_FLAT_WHITE, W_FLAT_BLACK }; +#endif |
