diff options
Diffstat (limited to 'entry.h')
-rw-r--r-- | entry.h | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -5,9 +5,12 @@ #include "players.h" #include "target.h" +typedef void (*action_f)(SURFACES *, POSITIONS *, struct chr_t *src, + struct target_t *, void *data); + struct action_t { void *data; - void (*f)(SURFACES *, POSITIONS *, struct character_t *, struct target_t *, void *data); + action_f f; enum target_type_t target; }; @@ -31,7 +34,7 @@ struct action_params_t { struct team_t *t1; struct team_t *t2; - struct character_t *src; + struct chr_t *src; }; #endif /* ENTRY_H */ |