From 7bb6cbe6543ebae891dfd0c495602ca6dfce5a93 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Fri, 27 Mar 2020 13:09:41 +0100 Subject: Ready to try traps --- src/ft_get_sprite_spawns.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'src') diff --git a/src/ft_get_sprite_spawns.c b/src/ft_get_sprite_spawns.c index affcf57..8a92a3c 100644 --- a/src/ft_get_sprite_spawns.c +++ b/src/ft_get_sprite_spawns.c @@ -14,6 +14,24 @@ #include #include +/* +** cl->sprite[] index summary +** -------------------------- +** 0: sprite 2 - tlist[4] +** 1: sprite 3 - tlist[8] +** 2: sprite 4 - tlist[9] +** 3: sprite 5 - tlist[10] +** 4: sprite 6 - tlist[11] +** 5: sprite 7 - tlist[12] +** 6: sprite 8 - tlist[13] +** 7: sprite 9 - tlist[14] +** 8: trap - tlist[15] +** 9: heal - tlist[17] +** 10: weapon one - tlist[18] +** 11: weapon two - tlist[19] +** 12: weapon three - tlist[20] +*/ + void ft_get_next_sprite(t_cub *clist, int s_n, char c, size_t x) { -- cgit v1.2.3