aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsalaaad2 <arthurdurant263@gmail.com>2020-03-09 21:12:13 +0100
committersalaaad2 <arthurdurant263@gmail.com>2020-03-09 21:12:13 +0100
commit44387601203a68b359f80d2a0be9bf63179b41ef (patch)
treee3bd7ff582ec730431b0b5db93cd46baf0323e57
parentsmall changez, supposed to work, TODO (diff)
download42-cub3d-44387601203a68b359f80d2a0be9bf63179b41ef.tar.gz
42-cub3d-44387601203a68b359f80d2a0be9bf63179b41ef.tar.bz2
42-cub3d-44387601203a68b359f80d2a0be9bf63179b41ef.tar.xz
42-cub3d-44387601203a68b359f80d2a0be9bf63179b41ef.tar.zst
42-cub3d-44387601203a68b359f80d2a0be9bf63179b41ef.zip
still retard
-rw-r--r--inc/cub3d_structs.h2
-rw-r--r--map/map_one.cub2
2 files changed, 2 insertions, 2 deletions
diff --git a/inc/cub3d_structs.h b/inc/cub3d_structs.h
index 13f81fa..a2cf5b5 100644
--- a/inc/cub3d_structs.h
+++ b/inc/cub3d_structs.h
@@ -177,8 +177,8 @@ typedef struct s_map
size_t map_w;
size_t map_h;
size_t mapl_len;
- uint8_t sprite_var;
int32_t sprite_nbr;
+ uint8_t sprite_var;
int32_t sprite_order[12];
size_t line_chk;
size_t map_start;
diff --git a/map/map_one.cub b/map/map_one.cub
index f4f9e91..212db65 100644
--- a/map/map_one.cub
+++ b/map/map_one.cub
@@ -12,7 +12,7 @@ F 50,190,124
SH 6
111111111111111111
-120000000011000001
+120003000011000001
10010E000000000201
101100000111000001
111111111111110011