summaryrefslogtreecommitdiff
path: root/src/guns.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/guns.c')
-rw-r--r--src/guns.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/guns.c b/src/guns.c
index 62f4690..8741fa6 100644
--- a/src/guns.c
+++ b/src/guns.c
@@ -1,5 +1,18 @@
#include "../include/guns.h"
+#include "../include/asset_defs.h"
gun get_gun_by_type(gun_type type) {
return guns[type];
+}
+
+image* get_image_of_gun(gun_type type) {
+ switch (type)
+ {
+ case GUN_NOVA: return img_icon_nova; break;
+
+ default:
+ break;
+ }
+
+ return 0;
} \ No newline at end of file