From 89984db7afa433e2842c4ef8c8c265a3e3993636 Mon Sep 17 00:00:00 2001 From: Aldrik Ramaekers Date: Fri, 16 Dec 2022 23:21:47 +0100 Subject: work --- src/objects.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/objects.c') diff --git a/src/objects.c b/src/objects.c index 23a57c6..a4d86e1 100644 --- a/src/objects.c +++ b/src/objects.c @@ -1,4 +1,5 @@ #include "../include/objects.h" +#include "../include/wall_item.h" box get_box_of_object(platform_window* window, object o) { return get_render_box_of_square(window, (vec3f){o.position.x, o.position.y, o.h}, o.size); @@ -79,4 +80,6 @@ void create_objects() { create_box(14, 10, 0); create_box(13, 10, 0); create_box(11, 10, 0); + + create_wallitem((vec3f){14, 1, 0}, WALLITEM_GUN, (wall_item_data){.gun = GUN_NOVA}); } \ No newline at end of file -- cgit v1.2.3-70-g09d2