1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#ifndef ACTIONS_H
#define ACTIONS_H
#include "structures.h"
#include "players.h"
#include "target.h"
void attack(SURFACES *, POSITIONS *, struct character_t *src, struct target_t *dst, void *data);
void cast_element(SURFACES *, POSITIONS *, struct character_t *src, struct target_t *dst, void *data);
void cast_cure(SURFACES *, POSITIONS *, struct character_t *src, struct target_t *dst, void *data);
void use_potion(SURFACES *, POSITIONS *, struct character_t *src, struct target_t *dst, void *data);
void use_ether(SURFACES *, POSITIONS *, struct character_t *src, struct target_t *dst, void *data);
void defend(SURFACES *, POSITIONS *, struct character_t *src, struct target_t *dst, void *data);
#endif /* ACTIONS_H */
|