Commit graph

107 commits

Author SHA1 Message Date
c5f15dbf11
fix: check that mlx initialized succesfully before using
https://www.notion.so/Segfault-when-DISPLAY-is-invalid-233551de06f480b28d8ec14cd4b23d47?source=copy_link
2025-07-21 11:43:53 +02:00
8259ef238d
todos: remove in-project todo file
all tasks have been imported into notion
2025-07-18 10:29:15 +02:00
4a2ad1fa58
build: overhaul Makefile 2025-07-17 16:20:53 +02:00
6322d05b22
style: split structs.h header into multiple, remove from central dir 2025-07-17 15:57:59 +02:00
38a05423dd
style: move consts header to src folder 2025-07-17 14:57:09 +02:00
7000634228
style: remove maputils header from central includes folder 2025-07-17 14:56:50 +02:00
8ec3f2e11c
style: remove cub3d header from central includes folder 2025-07-17 14:35:31 +02:00
4ffc52b462
style: remove mlx & libft headers from central includes folder 2025-07-17 14:19:02 +02:00
d7efc43f12
fix: potential leak with gnl due to non-exhaustion 2025-07-17 14:09:07 +02:00
085a51ca6d
todo: add todos from first review of the existing code 2025-07-17 13:27:19 +02:00
3dcfd09cff
fix: make it build on nixos 2025-07-17 13:17:29 +02:00
Theo Champion
be6c44c24b transforming markdown stuff into plain text streams 2025-07-17 13:12:44 +02:00
Theo Champion
621c38573c transforming markdown stuff into plain text streams 2025-07-17 11:54:49 +02:00
Theo Champion
aa9f9bf6de normed + finished movements 2025-07-15 10:33:25 +02:00
Theo Champion
cc12b7554a sort of finished movements 2025-07-10 12:04:17 +02:00
Theo Champion
4f573baf23 Added a real rendering 2025-07-09 17:30:16 +02:00
Theo Champion
3b495f213f added keyrelease event 2025-07-09 17:12:10 +02:00
Theo Champion
a58783350d added movement vector movement core 2025-07-09 17:08:01 +02:00
Theo Champion
ba42e0d3e1 restarted movement core 2025-07-09 16:45:13 +02:00
Theo Champion
a8abe903cb ??? 2025-07-07 14:40:37 +02:00
Theo Champion
83fc0d7d35 removed useless define, added PHONY rule 2025-07-02 15:45:00 +02:00
Theo Champion
5c1d469cac Started bonus part
- added bonus rules in makefile
- added a BONUS define for bonus
- added a conditional check for characters
2025-07-02 15:35:05 +02:00
Theo Champion
34db19c1a2 testing with bonus rules 2025-06-30 16:16:45 +02:00
Theo Champion
de740ad418 added todolist 2025-06-25 18:14:13 +02:00
Theo Champion
561ea7eb31 updated gitignore 2025-06-25 18:10:00 +02:00
Theo Champion
814bb3ff49 removed vgcore files 2025-06-25 18:08:53 +02:00
Theo Champion
2c009b5469 removed leaks 2025-06-25 18:08:19 +02:00
Theo Champion
c1484d2d3c started to move all variables to a struct 2025-06-24 11:51:49 +02:00
Theo Champion
f9825feeea Added flood fill algorithm finally, to check for holes in map 2025-06-24 10:41:50 +02:00
Theo Champion
321ef3db7c avant d'aller bosser a carreouf 2025-06-24 00:17:33 +02:00
Theo Champion
b185cddbf0 almost finished norm 2025-06-21 00:17:09 +02:00
Theo Champion
977385492b Added frees for the mapdata structure 2025-06-20 23:59:27 +02:00
Theo Champion
9ba3771ebf no flood fill I guess 2025-06-20 19:54:20 +02:00
Theo Champion
b30dda9c62 fixed some checking 2025-06-20 19:45:40 +02:00
Theo Champion
63d4eb28ef added character checker and started the flood filling 2025-06-20 15:40:50 +02:00
Theo Champion
1206ef2f3d Added wall check in the parser. Now doing the flood fill 2025-06-20 15:24:05 +02:00
Theo Champion
9a39668872 Removed vgcore files 2025-06-20 12:44:11 +02:00
Theo Champion
f64508b093 Removed invalid reads and writes 2025-06-20 12:43:56 +02:00
Theo Champion
8bce796bcf Added map copy 2025-06-20 12:07:03 +02:00
Theo Champion
0627a90bc4 sdf 2025-06-18 22:19:25 +02:00
Theo Champion
02079dfa87 started to parse the 'real' map 2025-06-16 17:03:32 +02:00
Theo Champion
d336d7bc15 improved set_textures function 2025-06-08 20:29:35 +02:00
Theo Champion
1d16d66d89 Continued parser 2025-06-06 18:38:21 +02:00
Theo Champion
5bc41d1a1f Updated README 2025-06-06 14:04:58 +02:00
Theo Champion
00d0beadf1 fixed everything 2025-06-06 13:57:31 +02:00
Theo Champion
8eb1a4962c added texture "loading" 2025-06-04 21:50:33 +02:00
Theo Champion
935370ac63 Added filetype checking 2025-06-04 19:16:59 +02:00
Theo Champion
8f99d23431 finally compiled the real mlx 2025-06-04 18:28:06 +02:00
Theo Champion
506386e190 started to create verification 2025-05-06 13:24:32 +02:00
Theo Champion
6669bad8fe starting to re-learn mlx 2025-05-06 12:25:17 +02:00