summaryrefslogtreecommitdiff
path: root/sily_expose.c
diff options
context:
space:
mode:
Diffstat (limited to 'sily_expose.c')
-rw-r--r--sily_expose.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/sily_expose.c b/sily_expose.c
new file mode 100644
index 0000000..32fd314
--- /dev/null
+++ b/sily_expose.c
@@ -0,0 +1,21 @@
+/* ************************************************************************** */
+/* */
+/* ::: :::::::: */
+/* sily_expose.c :+: :+: :+: */
+/* +:+ +:+ +:+ */
+/* By: kdx <kdx @student.42angouleme.fr +#+ +:+ +#+ */
+/* +#+#+#+#+#+ +#+ */
+/* Created: 2022/10/13 22:21:19 by kdx #+# #+# */
+/* Updated: 2022/10/13 22:21:25 by kdx ### ########.fr */
+/* */
+/* ************************************************************************** */
+
+#include "libft/libft.h"
+#include "sily.h"
+#include "game.h"
+
+int sily_expose_hook(t_sily *sily)
+{
+ sily->game->redraw = 1;
+ return (0);
+}