diff options
| author | Aldrik Ramaekers <aldrik@amftech.nl> | 2022-12-16 23:21:47 +0100 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrik@amftech.nl> | 2022-12-16 23:21:47 +0100 |
| commit | 89984db7afa433e2842c4ef8c8c265a3e3993636 (patch) | |
| tree | 127a939c0d02ba66600c353319be94cdf3906fc0 /src/guns.c | |
| parent | 24a44e57ab9adbb353adac8b83c4441e7adb3751 (diff) | |
work
Diffstat (limited to 'src/guns.c')
| -rw-r--r-- | src/guns.c | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -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 |
