1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#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);
/* black magic */
void cast_element(SURFACES *, POSITIONS *, struct character_t *src, struct target_t *dst, void *data);
void cyanure(SURFACES *, POSITIONS *, struct character_t *src, struct target_t *dst, void *data);
/* white magic */
void cast_cure(SURFACES *, POSITIONS *, struct character_t *src, struct target_t *dst, void *data);
void esuna(SURFACES *, POSITIONS *, struct character_t *src, struct target_t *dst, void *data);
/* use */
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 */
|