From d2f53e38cbf711e35035a4576070a5211a1d055d Mon Sep 17 00:00:00 2001 From: salaaad2 Date: Sat, 22 Feb 2020 20:56:50 +0100 Subject: shpritz --- inc/cub3d_structs.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'inc/cub3d_structs.h') diff --git a/inc/cub3d_structs.h b/inc/cub3d_structs.h index 72cc377..4c397b2 100644 --- a/inc/cub3d_structs.h +++ b/inc/cub3d_structs.h @@ -49,6 +49,7 @@ typedef struct s_rgb typedef struct s_sprite { + int32_t s_screen_x; int32_t s_pos_x; int32_t s_pos_y; double s_x; @@ -57,6 +58,8 @@ typedef struct s_sprite int32_t s_w; int32_t s_start_x; int32_t s_start_y; + int32_t s_end_x; + int32_t s_end_y; int32_t s_tex_y; double sprite_transform_x; double sprite_transform_y; -- cgit v1.2.3