diff options
author | Olivier Gayot <duskcoder@gmail.com> | 2015-01-07 16:56:21 +0100 |
---|---|---|
committer | Olivier Gayot <duskcoder@gmail.com> | 2015-01-07 16:56:21 +0100 |
commit | b3295086c84b09353d5e89c6f7c743167b486a49 (patch) | |
tree | fc9dcc035c486d028bf4460c1b2d9e988efed9d4 /constantes.h | |
parent | 461a28bb608e117267431eac78b08d3d8a089c0c (diff) |
clean the code and fix bugs
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
Diffstat (limited to 'constantes.h')
-rw-r--r-- | constantes.h | 8 |
1 files changed, 8 insertions, 0 deletions
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)\ |