Theo Champion
|
9a113374a6
|
norm: normed code (except sprites)
|
2025-08-06 14:47:29 +02:00 |
|
Theo Champion
|
7a1e8c18df
|
dev: moved my_mlx_get_pixel function in draw utils for easier access
|
2025-08-06 14:05:40 +02:00 |
|
|
|
a18c115ef1
|
fix: prevent crash due to out-of-bounds when game lags
|
2025-08-06 11:49:48 +02:00 |
|
|
|
c4bb3efe3e
|
feat: floor and ceiling colors
|
2025-08-05 15:01:35 +02:00 |
|
|
|
c242df5b72
|
feat: texture rendering
|
2025-08-05 13:27:34 +02:00 |
|
|
|
f21e1e56fb
|
fix: use t_cardinal_dir instead of an int to represent direction
|
2025-08-05 12:50:24 +02:00 |
|
Theo Champion
|
7b0d05532c
|
cleanup(raycast): renamed render.c to walls.c to not confuse it with the actual renderer
|
2025-07-31 13:40:38 +02:00 |
|
|
|
e625e254f7
|
feat: allocate screen_matrix on the heap
|
2025-07-31 13:38:49 +02:00 |
|
|
|
ca5fa86d10
|
fix: prevent zero-division in rare cases
|
2025-07-31 11:59:17 +02:00 |
|
Theo Champion
|
3cc73fc8ce
|
feat: added colors depending on cardinal facing
|
2025-07-31 11:25:09 +02:00 |
|
Theo Champion
|
fb57ef253a
|
docs: documented ray struct
|
2025-07-30 16:46:31 +02:00 |
|
Theo Champion
|
f21b8dc448
|
fix: fixed norme
|
2025-07-30 16:40:33 +02:00 |
|
Theo Champion
|
5281fe6abd
|
feat: made 3d... for the cub3d
|
2025-07-30 16:25:41 +02:00 |
|
Theo Champion
|
077659cd25
|
feat: Added raycaster (concept only no drawing yet)
Almost copy pasted from https://github.com/herbievine/42/blob/main/cub3d
but it's also copied from Lodev's ressource
|
2025-07-30 13:34:36 +02:00 |
|
Theo Champion
|
7c42208d20
|
dev: added ray structure
|
2025-07-30 12:07:45 +02:00 |
|