feat: ultimate ketchup ending
This commit is contained in:
parent
840d0b31e9
commit
14bcb02d5a
48 changed files with 6101 additions and 2320 deletions
|
|
@ -6,7 +6,7 @@
|
|||
/* By: mcolonna <marvin@42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/04/02 17:47:01 by mcolonna #+# #+# */
|
||||
/* Updated: 2024/04/21 16:06:33 by mcolonna ### ########.fr */
|
||||
/* Updated: 2024/04/21 17:40:16 by mcolonna ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
|
@ -53,6 +53,7 @@ typedef struct s_exit_data
|
|||
{
|
||||
t_sprite spr;
|
||||
bool active;
|
||||
bool finalexit;
|
||||
} t_exit_data;
|
||||
|
||||
t_object exit_init(t_memclass mc);
|
||||
|
|
@ -73,4 +74,13 @@ typedef struct s_activablewall_data
|
|||
|
||||
t_object activablewall_init(t_memclass mc);
|
||||
|
||||
// ULTIMATE KETCHUP
|
||||
typedef struct s_ultimateketchup_data
|
||||
{
|
||||
t_sprite spr;
|
||||
int time;
|
||||
} t_ultimateketchup_data;
|
||||
|
||||
t_object ultimateketchup_init(t_memclass mc);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
/* By: mcolonna <marvin@42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/03/07 23:00:45 by mcolonna #+# #+# */
|
||||
/* Updated: 2024/04/20 15:45:36 by mcolonna ### ########.fr */
|
||||
/* Updated: 2024/04/21 19:27:27 by mcolonna ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
|
@ -28,6 +28,8 @@ typedef struct s_room
|
|||
t_object **objects;
|
||||
t_visual **visuals;
|
||||
t_memclass mc;
|
||||
bool ending;
|
||||
int time_after_ending;
|
||||
} t_room;
|
||||
|
||||
void room_init(t_const_string path);
|
||||
|
|
@ -46,4 +48,6 @@ bool room_canwalk(
|
|||
|
||||
t_point room_find(t_object_init objtype);
|
||||
|
||||
int room_count(t_object_init objtype);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue