From 89984db7afa433e2842c4ef8c8c265a3e3993636 Mon Sep 17 00:00:00 2001 From: Aldrik Ramaekers Date: Fri, 16 Dec 2022 23:21:47 +0100 Subject: work --- src/guns.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src/guns.c') 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 -- cgit v1.2.3-70-g09d2