Added memorybook to parsing and cleaned most of the files
This commit is contained in:
@@ -1,3 +1,15 @@
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* draw_column.c :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: pblagoje <marvin@42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2022/05/04 13:51:59 by pblagoje #+# #+# */
|
||||
/* Updated: 2022/05/04 13:52:01 by pblagoje ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#include "cube3d.h"
|
||||
|
||||
static void draw_floor_ceiling(t_game *game, t_rcast *rcast, t_txt *txt)
|
||||
@@ -40,16 +52,6 @@ static void draw_txt_column(t_game *game, t_wall *wall, t_img *txt_img)
|
||||
int j;
|
||||
|
||||
img_x = (wall->posx * txt_img->width) / game->rcast.cell;
|
||||
|
||||
// tmp draw map
|
||||
// if (game->ray_activ)
|
||||
// {
|
||||
// printf("img_x:%i ", img_x);
|
||||
// draw_line(&game->img, &wall->vec, 0x00FF00FF);
|
||||
// return ;
|
||||
// }
|
||||
// tmp end
|
||||
|
||||
j = wall->limit;
|
||||
i = 0;
|
||||
while (j < wall->height - wall->limit)
|
||||
|
||||
Reference in New Issue
Block a user