aboutsummaryrefslogtreecommitdiff
path: root/capture.c
diff options
context:
space:
mode:
Diffstat (limited to 'capture.c')
-rw-r--r--capture.c25
1 files changed, 25 insertions, 0 deletions
diff --git a/capture.c b/capture.c
new file mode 100644
index 0000000..e1b14b8
--- /dev/null
+++ b/capture.c
@@ -0,0 +1,25 @@
+/* ************************************************************************** */
+/* */
+/* ::: :::::::: */
+/* capture.c :+: :+: :+: */
+/* +:+ +:+ +:+ */
+/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
+/* +#+#+#+#+#+ +#+ */
+/* Created: 2020/01/11 13:15:11 by cacharle #+# #+# */
+/* Updated: 2020/01/11 13:32:54 by cacharle ### ########.fr */
+/* */
+/* ************************************************************************** */
+
+#include "cub3d.h"
+
+int capture(t_state *state)
+{
+ render_update_window(state);
+ write_bmp(&state->window);
+ return (0);
+}
+
+void write_bmp(t_image *image)
+{
+
+}