aboutsummaryrefslogtreecommitdiffstats
path: root/inc
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-02 02:29:21 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-02 02:29:21 +0100
commitee87f5ee4aa1c79d1dedf95994a392282aa4bd16 (patch)
treed438d5e46a10aa4d11dd670f9e0469ce257f426a /inc
parentOSEF again (diff)
download42-cub3d-ee87f5ee4aa1c79d1dedf95994a392282aa4bd16.tar.gz
42-cub3d-ee87f5ee4aa1c79d1dedf95994a392282aa4bd16.tar.bz2
42-cub3d-ee87f5ee4aa1c79d1dedf95994a392282aa4bd16.tar.xz
42-cub3d-ee87f5ee4aa1c79d1dedf95994a392282aa4bd16.tar.zst
42-cub3d-ee87f5ee4aa1c79d1dedf95994a392282aa4bd16.zip
Music is bav but can't kill
Diffstat (limited to 'inc')
-rw-r--r--inc/cub3d_structs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/inc/cub3d_structs.h b/inc/cub3d_structs.h
index 2026a27..0ad986c 100644
--- a/inc/cub3d_structs.h
+++ b/inc/cub3d_structs.h
@@ -15,6 +15,7 @@
#include <stddef.h>
#include <stdint.h>
+#include <pthread.h>
typedef struct s_win
{
@@ -138,6 +139,7 @@ typedef struct s_cub
uint16_t i;
char errmsg[64];
int32_t key_input[5];
+ pthread_t tid;
int (*key_ptr[6])(struct s_cub*);
int8_t (*get_ptr[11])(char**, struct s_cub*);
struct s_win *wlist;