feat: loots of things!!! *

Added features:
- Check if the room is valid
- Pathfinding
- Firsk
- Camera
Changes:
- Borders
Dev:
- new test rooms
- ber.vim plugin
This commit is contained in:
mcolonna 2024-04-15 19:23:58 +02:00
parent b7a2d0494f
commit 9e81a59a7e
95 changed files with 8342 additions and 147 deletions

View file

@ -6,7 +6,7 @@
/* By: mcolonna <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/02/26 15:26:13 by mcolonna #+# #+# */
/* Updated: 2024/04/08 16:23:27 by mcolonna ### ########.fr */
/* Updated: 2024/04/15 18:01:07 by mcolonna ### ########.fr */
/* */
/* ************************************************************************** */
@ -17,7 +17,6 @@
# define WINDOW_HEIGHT 400
# define WINDOW_TITLE "undretale"
# define FPS 20
# define WALK_STEPS_NB 4
typedef struct s_env
{
@ -29,6 +28,7 @@ typedef struct s_env
int ketchup;
int max_ketchup;
int moves;
t_camera camera;
} t_env;
extern t_env g_env;