From 2a85823f96ec4e9fa62905490ac93910187dfefc Mon Sep 17 00:00:00 2001 From: Aldrik Ramaekers Date: Sun, 24 Dec 2023 22:09:56 +0100 Subject: metal wall texture --- src/map.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/map.c') 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}; -- cgit v1.2.3-70-g09d2