summaryrefslogtreecommitdiff
path: root/entry.h
diff options
context:
space:
mode:
authorOlivier Gayot <duskcoder@gmail.com>2015-01-08 16:53:35 +0100
committerOlivier Gayot <duskcoder@gmail.com>2015-01-08 16:53:35 +0100
commite8b35eae36f56492069d8f242c078ec5275d1a0b (patch)
treebe50721ca7d46454d4be5ab311fdbee52578417a /entry.h
parent6d8f84b21c4423afa52a3d3c4ff88110dbe1d1be (diff)
handle the selection of a target in a generic way.
we do not split the code of the selection of a target anymore. Each action now does a very simple thing and as much efficiently as possible. every old function that are not used anymore have been removed. Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
Diffstat (limited to 'entry.h')
-rw-r--r--entry.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/entry.h b/entry.h
index 00b58e9..066cf4a 100644
--- a/entry.h
+++ b/entry.h
@@ -14,7 +14,7 @@ struct entry_t {
struct {
void *data;
- enum action_state_t (*f)(SURFACES *, POSITIONS *, struct team_t *, struct team_t *, void *data);
+ void (*f)(SURFACES *, POSITIONS *, struct character_t *, struct character_t *, void *data);
};
};
};