Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
d5dc54c
check enum instead of int
Melow-code Nov 16, 2026
2498225
update submodule
Melow-code Nov 16, 2026
a301a1c
cleaning structure of project
Melow-code Nov 16, 2026
57f4492
remove double render folder
Melow-code Nov 16, 2026
f3f8e7c
use main.h directly on all files
Melow-code Nov 16, 2026
2d5e593
hide test textures and draw ceiling and floor color
Melow-code Nov 16, 2026
e28ac99
WIP - raycasting startup
Melow-code Nov 16, 2026
4f21ef9
calculate perp_wall_dist
Melow-code Nov 16, 2026
69cad57
fix heap buffer overflow by limiting map reading by its size
Melow-code Nov 16, 2026
4b4cd04
add folder and source file in it
Melow-code Nov 16, 2026
3fbc9f2
link raycast to the program
Melow-code Nov 16, 2026
4961e2e
setup basics
Melow-code Nov 16, 2026
11010de
set offset to 0 (minimap on the right top corner)
Melow-code Nov 16, 2026
4943ffe
Add CI badge to README
Melow-code Nov 16, 2026
1d7402e
Fix badge duplication in README.md
Melow-code Nov 16, 2026
1a186e2
WIP - draw textured walls
Melow-code Nov 17, 2026
ff559d9
Merge branch '3d-view' of github.com:ruipedro-pinheiro/cub3d into 3d-…
Melow-code Nov 17, 2026
cf4462f
backroom level ;)
Melow-code Nov 17, 2026
0beafe6
backroom map ;)
Melow-code Nov 17, 2026
ddc1a0b
choose wall and setup texture
Melow-code Nov 17, 2026
0327109
set 90 fov
Melow-code Nov 17, 2026
a8fc3df
reset mandatory map
Melow-code Nov 17, 2026
89bb5c3
hide debugging pixels
Melow-code Nov 17, 2026
651ca4d
remove unused function
Melow-code Nov 17, 2026
5100da6
remove comment
Melow-code Nov 17, 2026
89c3e3d
add x,y cross at middle of screen
Melow-code Nov 17, 2026
fd8b029
add mc map
Melow-code Nov 17, 2026
d1c48ef
optimize player movement and rotation using delta time; update relate…
SailMasterG Nov 17, 2026
4ab593f
update timestamp in utils.c and improve formatting in win.c
SailMasterG Nov 17, 2026
88d41bf
update timestamp in utils.c and fix formatting in get_time_in_seconds…
SailMasterG Nov 17, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 28 additions & 21 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,27 +9,34 @@ LIBFT = $(LIBFT_DIR)/libft.a
CC = cc
CFLAGS = -Wall -Wextra -Werror -I$(INCDIR) -I$(LIBFT_DIR) -g3 -O0 -Wshadow -Wstrict-prototypes -Wpointer-arith
ASAN_FLAGS = -fsanitize=address,undefined -fno-omit-frame-pointer
SRC = main.c \
debug/main.c \
parsing/parse_prep.c \
parsing/check_order.c \
parsing/validation.c \
parsing/config/headers.c \
parsing/config/headers_values.c \
parsing/map/validation.c \
win.c \
render_canvas.c \
utils.c \
draw.c \
mini_map.c \
player.c \
move_player.c \
keys_actions.c \
init_graphics.c \
rotate_player.c \
mini_player.c \
utils_minimap.c

SRC =main.c \
core/utils.c \
core/win.c \
\
debug/main.c \
\
engine/player/keys_actions.c \
engine/player/move_player.c \
engine/player/player.c \
engine/player/rotate_player.c \
engine/raycast/raycast.c \
engine/raycast/draw_walls.c \
\
render/draw.c \
render/init_graphics.c \
render/render_canvas.c \
\
minimap/mini_map.c \
minimap/mini_player.c \
minimap/utils_minimap.c \
\
parsing/check_order.c \
parsing/parse_prep.c \
parsing/validation.c \
parsing/config/headers.c \
parsing/config/headers_values.c \
parsing/config/validation.c \
parsing/map/parse_map.c
OBJ = $(addprefix $(OBJDIR)/, $(SRC:.c=.o))

################################################################################
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
Welcome to cub3d !

[![C/C++ CI](https://github.com/ruipedro-pinheiro/cub3d/actions/workflows/c-cpp.yml/badge.svg)](https://github.com/ruipedro-pinheiro/cub3d/actions/workflows/c-cpp.yml)
Loading
Loading