diff options
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 |
