Mercurial > molko
diff libcore/core/item.h @ 147:b386d25832c8
doc: use new nomenclature, closes #2497
author | David Demelier <markand@malikania.fr> |
---|---|
date | Thu, 15 Oct 2020 09:21:04 +0200 |
parents | 789b23e01f52 |
children |
line wrap: on
line diff
--- a/libcore/core/item.h Wed Oct 14 18:20:58 2020 +0200 +++ b/libcore/core/item.h Thu Oct 15 09:21:04 2020 +0200 @@ -38,22 +38,18 @@ * \brief Inventory items. */ struct item { - const char *name; /*!< (RW) Name of item. */ - const char *summary; /*!< (RW) Summary description. */ - struct texture *icon; /*!< (RW, ref) Icon to show. */ - unsigned int stackable; /*!< (RW) Stack count allowed. */ + const char *name; /*!< (+) Name of item. */ + const char *summary; /*!< (+) Summary description. */ + struct texture *icon; /*!< (+&) Icon to show. */ + unsigned int stackable; /*!< (+) Stack count allowed. */ /** - * (RW) - * - * Execute the action for this character. + * (+) Execute the action for this character. */ void (*exec)(const struct item *, struct character *); /** - * (RW, optional) - * - * Tells if the item can be used in this context. + * (+?) Tells if the item can be used in this context. */ bool (*allowed)(const struct item *, const struct character *); };