![]() |
Crossfire Server, Trunk
1.75.0
|
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.
void asset_destroy | ( | archetype * | item | ) |
Definition at line 26 of file Archetypes.cpp.
References archetype::clone, free_arch(), and object_free_inventory().
|
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().