From b3295086c84b09353d5e89c6f7c743167b486a49 Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Wed, 7 Jan 2015 16:56:21 +0100 Subject: clean the code and fix bugs Signed-off-by: Olivier Gayot --- constantes.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'constantes.h') diff --git a/constantes.h b/constantes.h index b3f9335..68872ab 100644 --- a/constantes.h +++ b/constantes.h @@ -49,6 +49,14 @@ #define TYPE_ATTAQUE 0 #define TYPE_MAGIE 1 +enum action_state_t { + ACTION_PERFORMED, + ACTION_CANCELED, + ACTION_ERROR, + + ACTION_COUNT, +}; + #define SELECTION(nb,nb2) if (selection == nb)\ {\ if(nb2==ALLIE)\ -- cgit v1.2.3