#ifndef ENTRY_H #define ENTRY_H #include "structures.h" #include "players.h" struct entry_t { /* displayed name */ char *name; int children_cnt; union { struct entry_t *children; struct { void *data; void (*f)(SURFACES *, POSITIONS *, struct character_t *, struct character_t *, void *data); }; }; }; struct action_params_t { SURFACES *surfaces; POSITIONS *positions; struct team_t *t1; struct team_t *t2; struct character_t *src; }; #endif /* ENTRY_H */