dev: clean TODOs

This commit is contained in:
Zy 2024-11-13 18:40:29 +01:00 committed by mcolonna
parent a09cf69412
commit f0680246a6
4 changed files with 4 additions and 9 deletions

View file

@ -1,2 +0,0 @@
TODO replace all mlx_get_data_addr by util which check the image format
TODO different texture dimensions

View file

@ -25,6 +25,6 @@
# define SCREEN_WIDTH 640 // Width of the window # define SCREEN_WIDTH 640 // Width of the window
# define SCREEN_HEIGHT 480 // Height 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 #endif

View file

@ -29,8 +29,7 @@ typedef struct s_point_int
int y; int y;
} t_point_int; } t_point_int;
// TODO Must the transparency be 0 or 255? /// @brief Represents an TRGB color in 0xTTRRGGBB format. TT is 0x00 if opaque
/// @brief Represents an TRGB color in 0xTTRRGGBB format.
typedef __u32 t_color; typedef __u32 t_color;
/// @brief Convert a color from each color value to a t_color. /// @brief Convert a color from each color value to a t_color.

View file

@ -3,10 +3,10 @@
/* ::: :::::::: */ /* ::: :::::::: */
/* move.c :+: :+: :+: */ /* move.c :+: :+: :+: */
/* +:+ +:+ +:+ */ /* +:+ +:+ +:+ */
/* By: mc <mc@student.42.fr> +#+ +:+ +#+ */ /* By: Zy <frzysk@proton.me> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */
/* Created: 2024/10/15 12:47:34 by mcolonna #+# #+# */ /* 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); return (0);
} }
// TODO leaks when quit?
void move(void) void move(void)
{ {
if (g_input_actions.up && !g_input_actions.down) if (g_input_actions.up && !g_input_actions.down)