summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/main.c b/src/main.c
index e76703f..db6b524 100644
--- a/src/main.c
+++ b/src/main.c
@@ -6,13 +6,17 @@
/* By: dkaiser <dkaiser@student.42heilbronn.de +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/05/08 14:14:13 by dkaiser #+# #+# */
-/* Updated: 2024/05/08 15:56:23 by dkaiser ### ########.fr */
+/* Updated: 2024/05/09 15:15:29 by dkaiser ### ########.fr */
/* */
/* ************************************************************************** */
+#include "mlx.h"
#include "so_long.h"
-int main(void) {
+int main(void)
+{
+ t_game game;
- return 0;
+ init(&game);
+ mlx_loop(game.mlx);
}