Crossfire Server, Trunk
|
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) |
archetype* asset_create | ( | const std::string & | name | ) |
Definition at line 18 of file Archetypes.cpp.
References add_string(), archininventory::arch, CLEAR_FLAG, FLAG_REMOVED, get_archetype_struct(), and give::name.
void asset_destroy | ( | archetype * | item | ) |
Definition at line 26 of file Archetypes.cpp.
References 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 commongive::inv.
Referenced by Archetypes::replace().