restarted movement core

This commit is contained in:
Theo Champion 2025-07-09 16:45:13 +02:00
parent a8abe903cb
commit ba42e0d3e1
5 changed files with 57 additions and 37 deletions

View file

@ -52,12 +52,20 @@ typedef struct s_mapdata
char error[1024];
} t_mapdata;
struct s_playermove {
int is_w_pressed;
int is_a_pressed;
int is_s_pressed;
int is_d_pressed;
};
typedef struct s_player
{
float x;
float y;
double yaw;
int health;
float x;
float y;
double yaw;
int health;
struct s_playermove playermove;
} t_player;
typedef struct s_cub3d_data