Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
refactor: wip
Browse files Browse the repository at this point in the history
  • Loading branch information
mahautlatinis committed Oct 13, 2023
1 parent 32e6457 commit 6859efa
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions cub3d/manda/includes/cub3D_graphics.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
/* By: mahautlatinis <mahautlatinis@student.42 +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/09/08 16:06:39 by qdam #+# #+# */
/* Updated: 2023/10/13 17:43:31 by mahautlatin ### ########.fr */
/* Updated: 2023/10/13 17:46:57 by mahautlatin ### ########.fr */
/* */
/* ************************************************************************** */

Expand All @@ -15,16 +15,14 @@

# include "cub3D_structs.h"

char *init_graphics(t_cub_data *cub, t_game *game);
t_color create_tgrb(t_color t, t_color r, t_color g, t_color b);
void put_px(int x, int y, t_color color, t_img *img);
t_color get_px(int x, int y, t_img *img);
char *init_graphics(t_cub_data *cub, t_game *game);
void destroy_graphics(t_game *game);
void make_image_from_xpm(void *mlx_ptr, t_img *img, char *xpm);
void make_image_blank(void *mlx_ptr, t_img *img, int w, int h);

// Draw the screen after the ray-casting algo
void draw_screen(t_game *game, t_ray *rays);
void make_image_blank(void *mlx_ptr, t_img *img, int w, int h);
void make_image_from_xpm(void *mlx_ptr, t_img *img, char *xpm);
void put_px(int x, int y, t_color color, t_img *img);

/* ==== EVENT HANDLERS ==== */

Expand Down

0 comments on commit 6859efa

Please sign in to comment.