43 lines
1.5 KiB
C
43 lines
1.5 KiB
C
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* cub3d.h :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2024/10/30 16:30:26 by rparodi #+# #+# */
|
|
/* Updated: 2024/11/26 13:37:20 by rparodi ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#ifndef CUB3D_H
|
|
# define CUB3D_H
|
|
|
|
# include "cub3d_struct.h"
|
|
# ifndef BONUS
|
|
# define BONUS 0
|
|
# endif
|
|
|
|
# define TILES_SIZE 64
|
|
|
|
# include <stdbool.h>
|
|
|
|
/// @brief Createsa a blank map for rapahael to test the raycasting
|
|
/// @note Dev only function.
|
|
void blank(t_info *info);
|
|
|
|
int init_mlx_env(t_info *info);
|
|
|
|
void cleanup_info(t_info *info);
|
|
|
|
int c3_options(t_info *info, int argc, char *argv[]);
|
|
void c3_perror(t_info *info);
|
|
void print_error(const char *msg);
|
|
|
|
void parse_map(t_info *info);
|
|
void parse_args(char *arg, t_info *inf);
|
|
|
|
int main(int argc, char *argv[]);
|
|
void shelves_launch(t_info *info);
|
|
|
|
#endif /* CUB3D_H */
|