little compilation fix
This commit is contained in:
parent
fd4fb3c93f
commit
6eb1479fc5
2 changed files with 8 additions and 4 deletions
|
@ -6,13 +6,17 @@
|
||||||
/* By: mc <mc@student.42.fr> +#+ +:+ +#+ */
|
/* By: mc <mc@student.42.fr> +#+ +:+ +#+ */
|
||||||
/* +#+#+#+#+#+ +#+ */
|
/* +#+#+#+#+#+ +#+ */
|
||||||
/* Created: 2024/11/07 19:02:04 by mc #+# #+# */
|
/* Created: 2024/11/07 19:02:04 by mc #+# #+# */
|
||||||
/* Updated: 2024/11/07 19:02:15 by mc ### ########.fr */
|
/* Updated: 2024/11/07 19:24:05 by mc ### ########.fr */
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
#include "input_utils.h"
|
#include "input_utils.h"
|
||||||
|
|
||||||
static int hook_mousemove(int x, int y)
|
#include "const.h"
|
||||||
|
#include "utils.h"
|
||||||
|
#include "global.h"
|
||||||
|
|
||||||
|
int hook_mousemove(int x, int y)
|
||||||
{
|
{
|
||||||
static const t_point_int window_middle = {
|
static const t_point_int window_middle = {
|
||||||
SCREEN_WIDTH / 2, SCREEN_HEIGHT / 2};
|
SCREEN_WIDTH / 2, SCREEN_HEIGHT / 2};
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
/* By: mc <mc@student.42.fr> +#+ +:+ +#+ */
|
/* By: mc <mc@student.42.fr> +#+ +:+ +#+ */
|
||||||
/* +#+#+#+#+#+ +#+ */
|
/* +#+#+#+#+#+ +#+ */
|
||||||
/* Created: 2024/11/07 19:02:26 by mc #+# #+# */
|
/* Created: 2024/11/07 19:02:26 by mc #+# #+# */
|
||||||
/* Updated: 2024/11/07 19:03:02 by mc ### ########.fr */
|
/* Updated: 2024/11/07 19:22:55 by mc ### ########.fr */
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
|
@ -15,6 +15,6 @@
|
||||||
|
|
||||||
# include "input.h"
|
# include "input.h"
|
||||||
|
|
||||||
static int hook_mousemove(int x, int y);
|
int hook_mousemove(int x, int y);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue