c4a867b054
feat: load and destroy wall textures
2025-08-05 12:11:06 +02:00
Theo Champion
59b79701d6
fix: Fixed get_milliseconds() calculation
2025-07-31 14:45:31 +02:00
Theo Champion
2bc214103b
feat: Added delta time variable
2025-07-31 14:12:53 +02:00
Theo Champion
02940e9ecf
fix: readded matrix allcation (oopsy daisy)
2025-07-31 14:05:30 +02:00
Theo Champion
05e24d19f9
cleanup: moved initialization code from main() to a separate file
2025-07-31 13:41:16 +02:00
e625e254f7
feat: allocate screen_matrix on the heap
2025-07-31 13:38:49 +02:00
Theo Champion
788f248c5e
fix: norme compliance
2025-07-29 20:13:43 +02:00
Theo Champion
e46f199606
fix: forgot to add header file
2025-07-29 15:03:10 +02:00
Theo Champion
faf5127829
feat(player): redid all the movement code more details in desc
...
- had to tamper at init with the map pointer to allow player to move
- tweaked movement speed
- allowed for multiple keys to be pressed at the same time
- added collisions
- had to modify minimap code because it segfaulted due to old code
2025-07-29 15:01:31 +02:00
Theo Champion
1626b1d9da
fix(hooks): Reworked keypresses events
...
Keypresses (along with keyreleases) events are now using booleans, a
function in the game loop will apply various changes as the key are
pressed. By default every boolean are set to false
2025-07-29 12:33:58 +02:00
Theo Champion
0ce0ea78ee
fix: renamed ANGLE_SPEED to ROTATION_SPEED
2025-07-25 15:06:06 +02:00
Theo Champion
ca82add75f
fix: created angle.c and moved part of the movement to comply with norme
2025-07-25 15:06:06 +02:00
Theo Champion
6f25b4e530
feat: added angle support
2025-07-25 15:06:06 +02:00
Theo Champion
279d155701
fix: removed useless NULL checks as demanded
2025-07-23 12:27:49 +02:00
Theo Champion
a67010b929
fix(setters): added a tiny bit of security when freeing data
2025-07-23 12:27:49 +02:00
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
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
Theo Champion
aa9f9bf6de
normed + finished movements
2025-07-15 10:33:25 +02:00
Theo Champion
2c009b5469
removed leaks
2025-06-25 18:08:19 +02:00