aboutsummaryrefslogtreecommitdiffstats
path: root/inc/cub3d_structs.h
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-04-14 17:04:05 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-04-14 17:04:05 +0200
commit84ac504edbe27a56018b77fd93f289b90b1d8bdc (patch)
tree17e4484db8a227c17cd9fe469ae661714f3e36e7 /inc/cub3d_structs.h
parentBad boys do not eat walls anymore (diff)
download42-cub3d-84ac504edbe27a56018b77fd93f289b90b1d8bdc.tar.gz
42-cub3d-84ac504edbe27a56018b77fd93f289b90b1d8bdc.tar.bz2
42-cub3d-84ac504edbe27a56018b77fd93f289b90b1d8bdc.tar.xz
42-cub3d-84ac504edbe27a56018b77fd93f289b90b1d8bdc.tar.zst
42-cub3d-84ac504edbe27a56018b77fd93f289b90b1d8bdc.zip
Fixed bad boys collision, reroll if hit a wall
Diffstat (limited to '')
-rw-r--r--inc/cub3d_structs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/inc/cub3d_structs.h b/inc/cub3d_structs.h
index dcf633f..9a605c9 100644
--- a/inc/cub3d_structs.h
+++ b/inc/cub3d_structs.h
@@ -106,6 +106,7 @@ typedef struct s_sprite
int32_t tex_y;
double s_pos_x;
double s_pos_y;
+ uint8_t r;
double spritex;
double spritey;
int8_t exists;