summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrik@amftech.nl>2022-12-18 11:24:42 +0100
committerAldrik Ramaekers <aldrik@amftech.nl>2022-12-18 11:24:42 +0100
commit1ac44d4ec6b6b51fefe6ca50ef82d5d2fc1f6dfb (patch)
tree8322478a56450878e2f02a6a794a4a664d86e176 /include
parent89984db7afa433e2842c4ef8c8c265a3e3993636 (diff)
wall items
Diffstat (limited to 'include')
-rw-r--r--include/keybindings.h13
-rw-r--r--include/objects.h1
-rw-r--r--include/wall_item.h1
3 files changed, 15 insertions, 0 deletions
diff --git a/include/keybindings.h b/include/keybindings.h
new file mode 100644
index 0000000..fcdfda1
--- /dev/null
+++ b/include/keybindings.h
@@ -0,0 +1,13 @@
+#ifndef INCLUDE_KEYBINDINGS
+#define INCLUDE_KEYBINDINGS
+
+#include <projectbase/project_base.h>
+
+typedef struct t_keybinding {
+ int key;
+ char* text;
+} keybinding;
+
+keybinding keybind_wall_purchase = {KEY_F, "F"};
+
+#endif \ No newline at end of file
diff --git a/include/objects.h b/include/objects.h
index d819f82..95e3739 100644
--- a/include/objects.h
+++ b/include/objects.h
@@ -36,5 +36,6 @@ void create_objects();
void draw_objects_at_row(platform_window* window, int row);
box get_box_of_object(platform_window* window, object o);
void render_quad_with_outline(vec2f tl, vec2f tr, vec2f bl, vec2f br, color c);
+void render_box_with_outline(box box, color c);
#endif \ No newline at end of file
diff --git a/include/wall_item.h b/include/wall_item.h
index 2e6bdd3..3b896bd 100644
--- a/include/wall_item.h
+++ b/include/wall_item.h
@@ -3,6 +3,7 @@
#include <projectbase/project_base.h>
+#include "objects.h"
#include "guns.h"
typedef enum t_wall_item_type {