diff --git a/src/events/cleanup_exit.c b/src/events/cleanup_exit.c index 1d32822..86aab6f 100644 --- a/src/events/cleanup_exit.c +++ b/src/events/cleanup_exit.c @@ -1,13 +1,13 @@ #include "cub3d.h" /** - * @brief Cleans up all game resources and exits program - * - * Destroys MLX resources (image, window, display) and frees game data. - * Called when user presses ESC or clicks window close button. - * - * @param game Pointer to game structure -*/ + * @brief Cleans up all game resources and exits program + * + * Destroys MLX resources (image, window, display) and frees game data. + * Called when user presses ESC or clicks window close button. + * + * @param game Pointer to game structure + */ void cleanup_exit(t_game *game) { if (!game) diff --git a/src/events/player_actions_move.c b/src/events/player_actions_move.c index 0501528..926bd29 100644 --- a/src/events/player_actions_move.c +++ b/src/events/player_actions_move.c @@ -1,10 +1,10 @@ #include "cub3d.h" /** - * @brief Moves player forward in current direction - * - * @param game Pointer to game structure -*/ + * @brief Moves player forward in current direction + * + * @param game Pointer to game structure + */ void move_forward(t_game *game) { static int frame_count = 0; @@ -16,10 +16,10 @@ void move_forward(t_game *game) } /** - * @brief Moves player backward (opposite of current direction) - * - * @param game Pointer to game structure -*/ + * @brief Moves player backward (opposite of current direction) + * + * @param game Pointer to game structure + */ void move_backward(t_game *game) { static int frame_count = 0; @@ -31,10 +31,10 @@ void move_backward(t_game *game) } /** - * @brief Strafes player to the left (perpendicular to direction) - * - * @param game Pointer to game structure -*/ + * @brief Strafes player to the left (perpendicular to direction) + * + * @param game Pointer to game structure + */ void strafe_left(t_game *game) { static int frame_count = 0; @@ -46,10 +46,10 @@ void strafe_left(t_game *game) } /** - * @brief Strafes player to the right (perpendicular to direction) - * - * @param game Pointer to game structure -*/ + * @brief Strafes player to the right (perpendicular to direction) + * + * @param game Pointer to game structure + */ void strafe_right(t_game *game) { static int frame_count = 0; diff --git a/src/events/player_actions_rotate.c b/src/events/player_actions_rotate.c index 35a6f6a..25b9bdd 100644 --- a/src/events/player_actions_rotate.c +++ b/src/events/player_actions_rotate.c @@ -1,10 +1,10 @@ #include "cub3d.h" /** - * @brief Rotates camera to the left - * - * @param game Pointer to game structure -*/ + * @brief Rotates camera to the left + * + * @param game Pointer to game structure + */ void rotate_left(t_game *game) { static int frame_count = 0; @@ -16,10 +16,10 @@ void rotate_left(t_game *game) } /** - * @brief Rotates camera to the right - * - * @param game Pointer to game structure -*/ + * @brief Rotates camera to the right + * + * @param game Pointer to game structure + */ void rotate_right(t_game *game) { static int frame_count = 0;