aboutsummaryrefslogtreecommitdiffstats
path: root/inc/cub3d_structs.h
diff options
context:
space:
mode:
authorsalaaad2 <arthudurant263@gmail.com>2020-02-25 16:43:54 +0100
committersalaaad2 <arthudurant263@gmail.com>2020-02-25 16:43:54 +0100
commitcc85b0a701b558e18299822f7091fc2fd137b14b (patch)
treed2d914c1242299e8c3d2afcec8ff6b3c12d2a82f /inc/cub3d_structs.h
parentgang (diff)
download42-cub3d-cc85b0a701b558e18299822f7091fc2fd137b14b.tar.gz
42-cub3d-cc85b0a701b558e18299822f7091fc2fd137b14b.tar.bz2
42-cub3d-cc85b0a701b558e18299822f7091fc2fd137b14b.tar.xz
42-cub3d-cc85b0a701b558e18299822f7091fc2fd137b14b.tar.zst
42-cub3d-cc85b0a701b558e18299822f7091fc2fd137b14b.zip
bunch of garbage
Diffstat (limited to '')
-rw-r--r--inc/cub3d_structs.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/inc/cub3d_structs.h b/inc/cub3d_structs.h
index a173e8c..91a1ee9 100644
--- a/inc/cub3d_structs.h
+++ b/inc/cub3d_structs.h
@@ -50,6 +50,8 @@ typedef struct s_rgb
typedef struct s_sprite
{
int32_t s_screen_x;
+ int32_t x;
+ int32_t y;
int32_t s_pos_x;
int32_t s_pos_y;
double s_x;
@@ -137,7 +139,7 @@ typedef struct s_cub
struct s_rgb f_rgb;
struct s_rgb c_rgb;
struct s_img tlist[5];
- struct s_sprite sp_list;
+ struct s_sprite sprites;
} t_cub;
# endif