summaryrefslogtreecommitdiff
path: root/src/map.c
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrik@amftech.nl>2023-12-24 22:09:56 +0100
committerAldrik Ramaekers <aldrik@amftech.nl>2023-12-24 22:09:56 +0100
commit2a85823f96ec4e9fa62905490ac93910187dfefc (patch)
treecc3360a19f61b481091e2c161b5aab575cda501c /src/map.c
parent03930634b437dc390354accd30563050d681a08d (diff)
metal wall texture
Diffstat (limited to 'src/map.c')
-rw-r--r--src/map.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/map.c b/src/map.c
index a449514..e27026e 100644
--- a/src/map.c
+++ b/src/map.c
@@ -207,6 +207,10 @@ void create_empty_map() {
}
}
+ for (int x = 0; x < MAP_SIZE_X; x++) {
+ map_to_load.objects[50+x] = (object){.active = true, .position = (vec3f){x, 0, 0}, .size = (vec3f){1,1,1}, .type = OBJECT_METAL_WALL_FRONT};
+ }
+
map_to_load.objects[0] = (object){.active = true, .position = (vec3f){16, 8, 0}, .size = (vec3f){1,1,2}, .type = OBJECT_PLANTBOX1};
map_to_load.objects[1] = (object){.active = true, .position = (vec3f){0, 0, 0}, .size = (vec3f){1,1,2}, .type = OBJECT_COBBLESTONEWALL1};