mirror of
https://codeberg.org/ACME-Corporation/cub3d.git
synced 2025-12-06 09:58:09 +01:00
feat: readded minimap
This commit is contained in:
parent
5281fe6abd
commit
e28cd1c85b
1 changed files with 2 additions and 2 deletions
|
|
@ -6,7 +6,7 @@
|
|||
/* By: kcolin <kcolin@42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2025/07/17 14:14:30 by kcolin #+# #+# */
|
||||
/* Updated: 2025/07/30 16:21:26 by tchampio ### ########.fr */
|
||||
/* Updated: 2025/07/30 16:30:11 by tchampio ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
|
@ -144,8 +144,8 @@ int game_loop(t_cub3d_data *data)
|
|||
// ray_angle += fraction;
|
||||
// }
|
||||
|
||||
//draw_map(data->map, &data->player, data->img_data);
|
||||
matrix_to_image(data);
|
||||
draw_map(data->map, &data->player, data->img_data);
|
||||
mlx_put_image_to_window(data->mlx, data->mlx_win,
|
||||
data->img_data->img, 0, 0);
|
||||
mlx_string_put(data->mlx, data->mlx_win, 10, 10, 0x00FFFFFF, COMPILED_TEXT);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue