diff -r 5b0aeef8ba2a -r 5608ac657362 project_files/frontlib/model/weapon.h --- a/project_files/frontlib/model/weapon.h Thu Jun 21 21:32:12 2012 +0200 +++ b/project_files/frontlib/model/weapon.h Mon Jun 25 00:42:07 2012 +0200 @@ -45,6 +45,12 @@ void flib_weaponset_release(flib_weaponset *weaponset); /** + * Create a weaponset from an ammostring. This format is used both in the ini files + * and in the net protocol. + */ +flib_weaponset *flib_weaponset_from_ammostring(const char *name, const char *ammostring); + +/** * Load a list of weaponsets from the ini file. * Returns NULL on error. */