![]() |
Crossfire Server, Trunk
1.75.0
|
Include dependency graph for Archetypes.cpp:Go to the source code of this file.
Functions | |
| template<> | |
| archetype * | asset_create (const std::string &name) |
| template<> | |
| void | asset_destroy (archetype *item) |
| static void | mark_inv_not_removed (object *item) |
| Recursively mark all items in inventory as not removed. More... | |
| archetype* asset_create | ( | const std::string & | name | ) |
Definition at line 18 of file Archetypes.cpp.
References add_string(), CLEAR_FLAG, FLAG_REMOVED, get_archetype_struct(), and name.
Here is the call graph for this function:| void asset_destroy | ( | archetype * | item | ) |
Definition at line 26 of file Archetypes.cpp.
References archetype::clone, free_arch(), and object_free_inventory().
Here is the call graph for this function:
|
static |
Recursively mark all items in inventory as not removed.
| item | what to start from. |
Definition at line 53 of file Archetypes.cpp.
References CLEAR_FLAG, FLAG_REMOVED, and object::inv.
Referenced by Archetypes::replace().
Here is the caller graph for this function: