Internal Resources
Repository Areas
Section titled “Repository Areas”Core implementation zones used most during development and review:
include/for shared headers, constants, structs, and APIssrcs/for the mandatory and core engine: parsing, validation, input, rendering, shutdownsrcs_bonus/for bonus systems: retro, minimap, doors, pickups, sprites, HUD, levels, and no-op stubsmaps/for mandatory and bonus example or playable mapstests/for parser, validation, render, and bonus test maps plus test scriptstextures/for mandatory and bonus texture assetsminilibx/andlibft/for dependencies used by the build
Important Commands
Section titled “Important Commands”Build:
makemake bonusTests:
make testmake test_bonusQuality checks:
norminette include srcs srcs_bonusvalgrind --leak-check=full --track-fds=yes ./cub3D <map.cub>valgrind --leak-check=full --track-fds=yes ./cub3D_bonus <map.cub>High-Value Test Assets
Section titled “High-Value Test Assets”Useful folders for quick verification:
tests/mandatory/parser/for parser casestests/mandatory/validation/for map validation casestests/mandatory/render/for render sanity checkstests/bonus/for bonus runtime casestests/mandatory/init/for init and texture failure cases
Runtime Entry Points
Section titled “Runtime Entry Points”- mandatory entry:
srcs/core/main.c - frame loop hook target:
srcs/render/render_frame.c - parser flow root:
srcs/parsing/parse_file.c - map closure checks:
srcs/validation/validate_map_closed.c
Bonus Entry Areas
Section titled “Bonus Entry Areas”- levels and progression:
srcs_bonus/levels/ - doors:
srcs_bonus/doors/ - pickups and stats:
srcs_bonus/pickups/ - sprites:
srcs_bonus/sprites/ - HUD:
srcs_bonus/hud/ - retro, minimap, walls, and shading:
srcs_bonus/retro/
Documentation Media
Section titled “Documentation Media”Documentation-specific screenshots or demo captures belong in the documentation
repository rather than the cub3D runtime repository.