summaryrefslogtreecommitdiff
path: root/entry.h
diff options
context:
space:
mode:
authorOlivier Gayot <duskcoder@gmail.com>2015-01-11 02:02:07 +0100
committerOlivier Gayot <duskcoder@gmail.com>2015-01-11 03:01:46 +0100
commit65364d2e2f40807fdd03ade25917f728adc0ef77 (patch)
treee2d2e5d0a7e329f50009a086959b4226fe27dde7 /entry.h
parentd590bfdcdfa8799439cffa41fc74346e9923b6e7 (diff)
coding rules: stop at 78 colsrewrite
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
Diffstat (limited to 'entry.h')
-rw-r--r--entry.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/entry.h b/entry.h
index daa1e5d..aa66d95 100644
--- a/entry.h
+++ b/entry.h
@@ -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 */