summaryrefslogtreecommitdiff
path: root/character.h
diff options
context:
space:
mode:
authorOlivier Gayot <duskcoder@gmail.com>2015-01-08 19:45:03 +0100
committerOlivier Gayot <duskcoder@gmail.com>2015-01-08 19:45:03 +0100
commitbfdf279cac51fe8945e59cd566cba2cb2efcffce (patch)
treec2310a297cb9d48814009142ea92cc31bd787fee /character.h
parentfc3baf853b4429cf012f6d77b43d74872dc5ca11 (diff)
move some functions and headers so that the compilation is quicker
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
Diffstat (limited to 'character.h')
-rw-r--r--character.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/character.h b/character.h
new file mode 100644
index 0000000..3fba9c7
--- /dev/null
+++ b/character.h
@@ -0,0 +1,12 @@
+#ifndef CHARACTER_H
+#define CHARACTER_H
+
+#include "players.h"
+
+void damage_target_hp(SURFACES *surfaces, POSITIONS *, struct character_t *target, int damages);
+void cure_target_hp(SURFACES *surfaces, POSITIONS *, struct character_t *target, int cure);
+
+void damage_target_mp(SURFACES *surfaces, POSITIONS *, struct character_t *target, int damages);
+void cure_target_mp(SURFACES *surfaces, POSITIONS *, struct character_t *target, int cure);
+
+#endif /* CHARACTER_H */