Commit graph

12 commits

Author SHA1 Message Date
Theo Champion
11ea82f935 fix: tweaked movement and rotation values to comply with delta 2025-07-31 14:46:02 +02:00
Theo Champion
6fe6eb0a9a norm: removed unused code 2025-07-31 11:30:21 +02:00
Theo Champion
f21b8dc448 fix: fixed norme 2025-07-30 16:40:33 +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
9c710c13e3 fix: removed stash conflict 2025-07-29 13:33:04 +02:00
Theo Champion
fa3cb8da4a fix(player): reworked angles for player and added player initialization 2025-07-29 12:29:59 +02:00
d856a10ffc
feat: calculate distance to first horizontal line 2025-07-29 12:02:25 +02:00
8fd70cb18a feat: utility func to get cardinal direction from angle 2025-07-28 15:26:28 +02:00
805ddbab0b feat: send single ray 2025-07-28 15:17:04 +02:00
Theo Champion
0ce0ea78ee fix: renamed ANGLE_SPEED to ROTATION_SPEED 2025-07-25 15:06:06 +02:00
Theo Champion
6f25b4e530 feat: added angle support 2025-07-25 15:06:06 +02:00
38a05423dd
style: move consts header to src folder 2025-07-17 14:57:09 +02:00
Renamed from includes/cub3d_consts.h (Browse further)