 |
Crossfire Server, Trunk
1.75.0
|
Go to the documentation of this file.
25 bug->num_animations = 1;
42 static int dump(
const std::set<std::string>& items,
const char *
name) {
45 for (
const auto& item : items) {
New face structure - this enforces the notion that data is face by face only - you can not change the...
const std::set< Key > & undefined() const
Return the list of undefined assets, that is assets requested through get() but not defined through d...
AssetsManager()
Constructor.
@ llevError
Error, serious thing.
void LOG(LogLevel logLevel, const char *format,...)
Logs a message to stderr, or to file.
treasure * items
Items in this list, linked.
virtual ~AssetsManager()
Destructor.
static int dump(const std::set< std::string > &items, const char *name)
size_t dumpUndefined()
Dump through LOG undefined assets (except faces), and return the total number of referenced but not d...
Facesets m_facesets
Cilent image variants.
Plugin animator file specs[Config] name
static void recursive_update(object *item, archetype *updated)
Update if needed item based on the updated archetype, then recurse on item->below and item->inv.
AllAnimations m_animations
Animations.
Archetypes m_archetypes
Archetypes.
The archetype structure is a set of rules on how to generate and manipulate objects which point to ar...
T * get(const Key &name)
Get a named asset.
void clearReplaceListener()
Remvove the listener for archetypes changes.
const Face ** faces
The actual faces for the animation.
Treasures m_treasures
Treasures.
artifactlist * first_artifactlist
First artifact.
void archetypeUpdated(archetype *existing, archetype *update)
Update artifacts if needed when an archetype changes.
Archetypes::updateListener m_listener
Listener to archetypes changes.
in that case they will be relative to whatever the PWD of the crossfire server process is You probably shouldn though Notes on Specific and settings file datadir Usually usr share crossfire Contains data that the server does not need to modify while such as the etc A default install will pack the and treasurelist definitions into a single artifacts
void setReplaceListener(updateListener fct)
Set the listener to be called when an archetype is updated.