From 9ab79e75948025f640d2042f5c01daea8b6d3010 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Thu, 19 Aug 2021 15:03:23 -0400 Subject: char/enemy: Store allies array And fix variable name. --- (limited to 'src/char.h') diff --git a/src/char.h b/src/char.h index 2c31ca2..f1520d9 100644 --- a/src/char.h +++ b/src/char.h @@ -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, -- cgit v0.9.1