summaryrefslogtreecommitdiff
path: root/include/so_long.h
diff options
context:
space:
mode:
authorDominik Kaiser2024-05-09 18:21:30 +0200
committerDominik Kaiser2024-05-09 18:21:30 +0200
commite2c309d1bec9fb18e39d453a1dfdccfa877f5633 (patch)
treef258e00f7d4ad7bc9c20f9a4d3d7628d8bd25731 /include/so_long.h
parent14ffe0479dc33cb5ed96f85535f84fa91d56c48b (diff)
downloadso_long-e2c309d1bec9fb18e39d453a1dfdccfa877f5633.tar.gz
so_long-e2c309d1bec9fb18e39d453a1dfdccfa877f5633.zip
Outsource drawing
Diffstat (limited to 'include/so_long.h')
-rw-r--r--include/so_long.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/so_long.h b/include/so_long.h
index 11d9084..1661dbe 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/09 17:38:18 by dkaiser ### ########.fr */
+/* Updated: 2024/05/09 17:59:42 by dkaiser ### ########.fr */
/* */
/* ************************************************************************** */
@@ -48,6 +48,7 @@ typedef struct s_game
int init(t_game *game);
int loop(t_game *game);
+int draw(t_game *game);
int on_key_down(int key, t_game *game);
int on_key_up(int keycode, t_game *game);