1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
#ifndef ACTIONS_H
#define ACTIONS_H
#include "structures.h"
#include "players.h"
#include "target.h"
void attack(SURFACES *, POSITIONS *, struct chr_t *src, struct target_t *,
void *data);
/* black magic */
void cast_element(SURFACES *, POSITIONS *, struct chr_t *src,
struct target_t *dst, void *data);
void cyanure(SURFACES *, POSITIONS *, struct chr_t *src, struct target_t *,
void *data);
/* white magic */
void cast_cure(SURFACES *, POSITIONS *, struct chr_t *src, struct target_t *,
void *data);
void esuna(SURFACES *, POSITIONS *, struct chr_t *src, struct target_t *,
void *data);
/* use */
void use_potion(SURFACES *, POSITIONS *, struct chr_t *src, struct target_t *,
void *data);
void use_ether(SURFACES *, POSITIONS *, struct chr_t *src, struct target_t *,
void *data);
void defend(SURFACES *, POSITIONS *, struct chr_t *src, struct target_t *,
void *data);
#endif /* ACTIONS_H */
|