diff options
author | Olivier Gayot <duskcoder@gmail.com> | 2015-01-11 02:02:07 +0100 |
---|---|---|
committer | Olivier Gayot <duskcoder@gmail.com> | 2015-01-11 03:01:46 +0100 |
commit | 65364d2e2f40807fdd03ade25917f728adc0ef77 (patch) | |
tree | e2d2e5d0a7e329f50009a086959b4226fe27dde7 /entry.h | |
parent | d590bfdcdfa8799439cffa41fc74346e9923b6e7 (diff) |
coding rules: stop at 78 colsrewrite
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
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 */ |