feat: bridge

This commit is contained in:
mcolonna 2024-04-18 14:41:00 +02:00
parent 3ca6fb18b2
commit fb966caa48
23 changed files with 1189 additions and 728 deletions

View file

@ -6,14 +6,14 @@
/* By: mcolonna <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/02/29 17:43:01 by mcolonna #+# #+# */
/* Updated: 2024/04/17 17:39:22 by mcolonna ### ########.fr */
/* Updated: 2024/04/18 13:54:58 by mcolonna ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef DATA_ASSETS_H
# define DATA_ASSETS_H
# define NB_ASSETS 87
# define NB_ASSETS 88
typedef struct s_assetmeta
{
@ -40,6 +40,7 @@ typedef enum e_assetsmap_id
WALL_BORDER_TOP,
WALL_BORDER_BOTTOM,
WALL_INNER,
BRIDGE,
OBJECT_SNAS_DOWN,
OBJECT_SNAS_UP,
OBJECT_SNAS_LEFT,

View file

@ -6,14 +6,14 @@
/* By: mcolonna <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/03/11 15:56:31 by mcolonna #+# #+# */
/* Updated: 2024/04/17 17:40:16 by mcolonna ### ########.fr */
/* Updated: 2024/04/18 13:59:33 by mcolonna ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef DATA_SPRITES_H
# define DATA_SPRITES_H
# define NB_SPRITES 25
# define NB_SPRITES 26
typedef enum e_spritetype
{
@ -40,6 +40,7 @@ typedef enum e_spritesmap_id
CASE_BORDER_BOTTOM,
CASE_FLOOR_1,
CASE_FLOOR_2,
CASE_BRIDGE,
SPR_SNAS,
SPR_SNAS_WALK_DOWN,
SPR_SNAS_WALK_UP,

View file

@ -6,7 +6,7 @@
/* By: mcolonna <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/04/10 18:13:05 by mcolonna #+# #+# */
/* Updated: 2024/04/12 17:50:50 by mcolonna ### ########.fr */
/* Updated: 2024/04/18 13:50:36 by mcolonna ### ########.fr */
/* */
/* ************************************************************************** */
@ -15,6 +15,6 @@
# include "includes.h"
t_direction pathfinding(t_point start, t_point finish);
t_direction pathfinding(t_point start, t_point finish, bool solid_bridge);
#endif

View file

@ -6,7 +6,7 @@
/* By: mcolonna <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/03/07 23:00:45 by mcolonna #+# #+# */
/* Updated: 2024/04/17 13:19:54 by mcolonna ### ########.fr */
/* Updated: 2024/04/18 13:32:49 by mcolonna ### ########.fr */
/* */
/* ************************************************************************** */