mirror of
https://codeberg.org/ACME-Corporation/cub3d.git
synced 2025-12-06 01:48:08 +01:00
fix: forgot to add header file
This commit is contained in:
parent
2e1838e0bd
commit
e46f199606
1 changed files with 26 additions and 0 deletions
26
src/utils/keypresses.h
Normal file
26
src/utils/keypresses.h
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* keypresses.h :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: tchampio <tchampio@student.42lehavre. +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2025/07/29 13:42:39 by tchampio #+# #+# */
|
||||
/* Updated: 2025/07/29 13:43:14 by tchampio ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#ifndef KEYPRESSES_H
|
||||
# define KEYPRESSES_H
|
||||
|
||||
typedef struct s_keypresses
|
||||
{
|
||||
bool is_w_pressed;
|
||||
bool is_a_pressed;
|
||||
bool is_s_pressed;
|
||||
bool is_d_pressed;
|
||||
bool is_left_pressed;
|
||||
bool is_right_pressed;
|
||||
} t_keypresses;
|
||||
|
||||
#endif // KEYPRESSES_H
|
||||
Loading…
Add table
Add a link
Reference in a new issue