aboutsummaryrefslogtreecommitdiffstats
path: root/map
diff options
context:
space:
mode:
authorRudy Bousset <rbousset@z2r4p3.le-101.fr>2020-02-17 15:31:11 +0100
committerRudy Bousset <rbousset@z2r4p3.le-101.fr>2020-02-17 15:31:11 +0100
commit2fd013d7583e0388d50ff9895c5e474e2d76f79f (patch)
tree435e687675c620c93e44823dea606a30e20f3db4 /map
parentWork in progress, res now (diff)
download42-cub3d-2fd013d7583e0388d50ff9895c5e474e2d76f79f.tar.gz
42-cub3d-2fd013d7583e0388d50ff9895c5e474e2d76f79f.tar.bz2
42-cub3d-2fd013d7583e0388d50ff9895c5e474e2d76f79f.tar.xz
42-cub3d-2fd013d7583e0388d50ff9895c5e474e2d76f79f.tar.zst
42-cub3d-2fd013d7583e0388d50ff9895c5e474e2d76f79f.zip
Better parse for textures and colors
Diffstat (limited to '')
-rw-r--r--map/map_one.cub16
1 files changed, 8 insertions, 8 deletions
diff --git a/map/map_one.cub b/map/map_one.cub
index 909b797..0738091 100644
--- a/map/map_one.cub
+++ b/map/map_one.cub
@@ -1,13 +1,13 @@
-R 1200 1
+R 1200 800
-NO ./path_to_the_north_texture
-SO ./path_to_the_south_texture
-EA ./path_to_the_east_texture
-WE ./path_to_the_west_texture
-S ./path_to_the_sprite_texture
+NO ./path_to_the_north_texture.xpm
+SO ./path_to_the_south_texture.xpm
+EA ./path_to_the_east_texture.xpm
+WE ./path_to_the_west_texture.xpm
+S ./path_to_the_sprite_texture.xpm
C 30,130,255
-F 150,150,145
+F 150,150,123
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1
@@ -19,7 +19,7 @@ F 150,150,145
1 1 1 1 0 1 1 1 1 1 1 1 1 1 0 1 1 1 0 1 0 1 0 0 1 0 0 0 1
1 1 0 0 0 0 0 0 1 1 0 1 0 1 0 1 1 1 0 0 0 0 0 0 1 0 0 0 1
1 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 1 0 0 0 1
-1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 1 0 1 0 0 1 0 W 0 1
+1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 1 0 1 0 0 1 0 N 0 1
1 1 0 0 0 0 0 0 1 1 0 1 0 1 0 1 1 1 1 1 0 1 1 1 1 0 0 0 1
1 1 1 1 0 1 1 1 1 1 1 1 0 1 0 1 1 1 1 1 0 1 1 1 1 0 0 0 1
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1