Skip to content

Commit

Permalink
added more textures also put mlx outside include for norm checking
Browse files Browse the repository at this point in the history
  • Loading branch information
Anarbb committed Jun 11, 2023
1 parent 246d039 commit 0425763
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 10 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
NAME := cub3D
CC := cc
CFLAGS := -Iinclude #-Wall -Wextra -Werror -Ofast
CFLAGS := -Iinclude -Wall -Wextra -Werror -Ofast
HEADERS := include/cub3d.h
LIBFT := libs/libft.a
MLX := libs/libmlx.a
# LIBS := -lglfw -L/Volumes/L/.brew/opt/glfw/lib
LIBS := -lglfw -L/Volumes/L/.brew/opt/glfw/lib
# LIBS := -ldl -lglfw -pthread -lm -lglfw
LIBS := -lglfw -L/Users/ybenlafk/.brew/opt/glfw/lib/
# LIBS := -lglfw -L/Users/ybenlafk/.brew/opt/glfw/lib/
SRCS := srcs/main.c \
srcs/parsing/parse.c \
srcs/engine/raycast.c \
Expand Down
8 changes: 4 additions & 4 deletions assets/maps/def.cub
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
NO ./assets/textures/STARG3_64.png
WE ./assets/textures/STARG3_64.png
EA ./assets/textures/STARG2_64.png
SO ./assets/textures/STARG2_64.png
NO ./assets/textures/hl-wall.png
WE ./assets/textures/hl-wall2.png
EA ./assets/textures/hl-wall2.png
SO ./assets/textures/hl-wall.png

F 58, 58, 59
C 147, 148, 255
Expand Down
Binary file added assets/textures/dink.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/textures/hl-wall.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/textures/hl-wall2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/textures/hl-wall3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/textures/hl-win.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions include/cub3d.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@
/* ::: :::::::: */
/* cub3d.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: ybenlafk <ybenlafk@student.42.fr> +#+ +:+ +#+ */
/* By: aarbaoui <aarbaoui@student.1337.ma> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/03/29 00:34:22 by aarbaoui #+# #+# */
/* Updated: 2023/06/10 19:21:54 by ybenlafk ### ########.fr */
/* Updated: 2023/06/11 15:29:00 by aarbaoui ### ########.fr */
/* */
/* ************************************************************************** */

#ifndef CUB3D_H
# define CUB3D_H

# include "MLX42/MLX42.h"
# include "../MLX42/MLX42.h"
# include "get_next_line.h"
# include "libft.h"
# include <math.h>
Expand Down
2 changes: 2 additions & 0 deletions test
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Error
🚨: Image error

0 comments on commit 0425763

Please sign in to comment.