diff --git a/dev/TODO b/dev/TODO deleted file mode 100644 index 0cc1dcf..0000000 --- a/dev/TODO +++ /dev/null @@ -1,2 +0,0 @@ -TODO replace all mlx_get_data_addr by util which check the image format -TODO different texture dimensions diff --git a/include/const.h b/include/const.h index 151cfe2..5f798b6 100644 --- a/include/const.h +++ b/include/const.h @@ -25,6 +25,6 @@ # define SCREEN_WIDTH 640 // Width of the window # define SCREEN_HEIGHT 480 // Height of the window -# define FOV 0.66 // ? TODO no idea +# define FOV 0.66 // Width of the view plane (unit: cases) #endif diff --git a/include/utils.h b/include/utils.h index a8c5c66..28214c0 100644 --- a/include/utils.h +++ b/include/utils.h @@ -29,8 +29,7 @@ typedef struct s_point_int int y; } t_point_int; -// TODO Must the transparency be 0 or 255? -/// @brief Represents an TRGB color in 0xTTRRGGBB format. +/// @brief Represents an TRGB color in 0xTTRRGGBB format. TT is 0x00 if opaque typedef __u32 t_color; /// @brief Convert a color from each color value to a t_color. diff --git a/src/move.c b/src/move.c index e977685..5937aa9 100644 --- a/src/move.c +++ b/src/move.c @@ -3,10 +3,10 @@ /* ::: :::::::: */ /* move.c :+: :+: :+: */ /* +:+ +:+ +:+ */ -/* By: mc +#+ +:+ +#+ */ +/* By: Zy +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2024/10/15 12:47:34 by mcolonna #+# #+# */ -/* Updated: 2024/11/07 17:09:31 by mc ### ########.fr */ +/* Updated: 2024/11/13 18:39:22 by Zy ### ########.fr */ /* */ /* ************************************************************************** */ @@ -70,8 +70,6 @@ static int rotate(int factor) return (0); } -// TODO leaks when quit? - void move(void) { if (g_input_actions.up && !g_input_actions.down)