summaryrefslogtreecommitdiff
path: root/constantes.h
diff options
context:
space:
mode:
Diffstat (limited to 'constantes.h')
-rw-r--r--constantes.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/constantes.h b/constantes.h
index 36fdf6d..e68946b 100644
--- a/constantes.h
+++ b/constantes.h
@@ -73,6 +73,21 @@ enum action_state_t {
ACTION_COUNT,
};
+enum target_t {
+ TARGET_SINGLE_ALLY = 0x1,
+ TARGET_SINGLE_ENEMY = TARGET_SINGLE_ALLY << 0x1,
+
+ TARGET_TEAM_ALLY = TARGET_SINGLE_ENEMY << 0x1,
+ TARGET_TEAM_ENEMY = TARGET_TEAM_ALLY << 0x1,
+
+ TARGET_SELF = TARGET_TEAM_ENEMY << 0x1,
+
+ TARGET_ALL = TARGET_SELF << 0x1,
+
+ TARGET_SINGLE = TARGET_SINGLE_ALLY | TARGET_SINGLE_ENEMY,
+ TARGET_TEAM = TARGET_TEAM_ALLY | TARGET_TEAM_ENEMY,
+};
+
//map
#define SOL 0
#define MUR 1