summaryrefslogtreecommitdiff
path: root/include/so_long.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/so_long.h')
-rw-r--r--include/so_long.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/so_long.h b/include/so_long.h
index 97ef5c7..48c34aa 100644
--- a/include/so_long.h
+++ b/include/so_long.h
@@ -6,7 +6,7 @@
/* By: dkaiser <dkaiser@student.42heilbronn.de +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/05/08 14:14:02 by dkaiser #+# #+# */
-/* Updated: 2024/05/15 12:06:35 by dkaiser ### ########.fr */
+/* Updated: 2024/05/15 14:04:06 by dkaiser ### ########.fr */
/* */
/* ************************************************************************** */
@@ -92,6 +92,8 @@ int check_collision(t_vector a_pos, t_ivector a_size,
t_vector b_pos, t_ivector b_size);
int check_wall_collision(t_vector a_pos, t_ivector a_size,
t_tilemap *map);
-void move_and_slide(t_player *player, t_tilemap *map);
+void move_and_slide(t_player *player, t_tilemap *map,
+ double delta_time);
+int is_on_floor(t_vector pos, t_ivector size, t_tilemap *map);
#endif // SO_LONG_H