summaryrefslogtreecommitdiff
path: root/constantes.h
diff options
context:
space:
mode:
authorOlivier Gayot <duskcoder@gmail.com>2015-01-07 16:56:21 +0100
committerOlivier Gayot <duskcoder@gmail.com>2015-01-07 16:56:21 +0100
commitb3295086c84b09353d5e89c6f7c743167b486a49 (patch)
treefc9dcc035c486d028bf4460c1b2d9e988efed9d4 /constantes.h
parent461a28bb608e117267431eac78b08d3d8a089c0c (diff)
clean the code and fix bugs
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
Diffstat (limited to 'constantes.h')
-rw-r--r--constantes.h8
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)\