project_files/frontlib/model/weapon.h
changeset 7271 5608ac657362
parent 7230 240620f46dd7
child 7275 15f722e0b96f
equal deleted inserted replaced
7269:5b0aeef8ba2a 7271:5608ac657362
    43  * Decrease the reference count of the object and free it if this was the last reference.
    43  * Decrease the reference count of the object and free it if this was the last reference.
    44  */
    44  */
    45 void flib_weaponset_release(flib_weaponset *weaponset);
    45 void flib_weaponset_release(flib_weaponset *weaponset);
    46 
    46 
    47 /**
    47 /**
       
    48  * Create a weaponset from an ammostring. This format is used both in the ini files
       
    49  * and in the net protocol.
       
    50  */
       
    51 flib_weaponset *flib_weaponset_from_ammostring(const char *name, const char *ammostring);
       
    52 
       
    53 /**
    48  * Load a list of weaponsets from the ini file.
    54  * Load a list of weaponsets from the ini file.
    49  * Returns NULL on error.
    55  * Returns NULL on error.
    50  */
    56  */
    51 flib_weaponsetlist *flib_weaponsetlist_from_ini(const char *filename);
    57 flib_weaponsetlist *flib_weaponsetlist_from_ini(const char *filename);
    52 
    58