aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_get_topsp.c
blob: 84339c3936777c47e45736a19bd157d34cb4a89d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/* ************************************************************************** */
/*                                                                            */
/*                                                        :::      ::::::::   */
/*   ft_check_map_line.c                                :+:      :+:    :+:   */
/*                                                    +:+ +:+         +:+     */
/*   By: rbousset <marvin@42.fr>                    +#+  +:+       +#+        */
/*                                                +#+#+#+#+#+   +#+           */
/*   Created: 2020/02/14 17:28:34 by rbousset          #+#    #+#             */
/*   Updated: 2020/02/14 17:28:37 by rbousset         ###   ########lyon.fr   */
/*                                                                            */
/* ************************************************************************** */

#include <libft.h>
#include <cub3d.h>
#include <stddef.h>
#include <stdint.h>

void
	ft_get_topsp(char c, t_cub *clist)
{
	(void)c;
	(void)clist;
	/* int8_t	x; */

	/* if ((x = ft_strlchr(FT_CHRST_SPRITES, c)) > 0) */
	/* { */
	/* 	if ((x + 2) > clist->mlist.topsp) */
	/* 	{ */
	/* 		clist->mlist.topsp = x + 2; */
	/* 	} */
	/* } */
}