mirror of
https://codeberg.org/ACME-Corporation/cub3d.git
synced 2025-12-06 01:48:08 +01:00
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
This commit is contained in:
parent
ac94e9e937
commit
faf5127829
11 changed files with 143 additions and 40 deletions
|
|
@ -6,7 +6,7 @@
|
|||
/* By: kcolin <kcolin@42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2025/07/17 14:59:37 by kcolin #+# #+# */
|
||||
/* Updated: 2025/07/29 12:26:32 by tchampio ### ########.fr */
|
||||
/* Updated: 2025/07/29 13:43:40 by tchampio ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
# include "map/mapdata.h"
|
||||
# include "draw/img_data.h"
|
||||
# include "player/player.h"
|
||||
#include "utils/hooks.h"
|
||||
# include "utils/keypresses.h"
|
||||
|
||||
typedef struct s_cub3d_data
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue