diff options
author | P. J. McDermott <pj@pehjota.net> | 2021-08-19 15:03:23 (EDT) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2021-08-19 15:14:26 (EDT) |
commit | 9ab79e75948025f640d2042f5c01daea8b6d3010 (patch) | |
tree | 1a8794409cf4c342ea813f3660ec2349809a0c04 /src/char.h | |
parent | 1cf6751f42be611dbd0545d91a645c23bb203ee8 (diff) | |
download | mazefight-9ab79e75948025f640d2042f5c01daea8b6d3010.zip mazefight-9ab79e75948025f640d2042f5c01daea8b6d3010.tar.gz mazefight-9ab79e75948025f640d2042f5c01daea8b6d3010.tar.bz2 |
char/enemy: Store allies array
And fix variable name.
Diffstat (limited to 'src/char.h')
-rw-r--r-- | src/char.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -29,7 +29,8 @@ struct mf_char * mf_player_new(struct mf_maze *maze, int cell_width); struct mf_char * -mf_enemy_new(struct mf_maze *maze, int cell_width, int maze_size); +mf_enemy_new(struct mf_maze *maze, int cell_width, int maze_size, + int num_allies, struct mf_char **allies); void mf_char_get_vector(struct mf_char *c, int *x, int *y, int *travel, |