Crossfire Server, Trunk
ArchetypeWrapper.cpp File Reference
#include "ArchetypeWrapper.h"
#include <QMimeData>
#include "../ResourcesManager.h"
#include "../CREPixmap.h"
#include "faces/FaceWrapper.h"
#include "assets.h"
#include "ArchetypeLoader.h"
#include "AssetsManager.h"
#include "animations/AnimationWrapper.h"
#include "treasures/TreasureListWrapper.h"
#include "MimeUtils.h"
#include "assets/AssetWrapperPanel.h"
#include "sounds/SoundFile.h"
Include dependency graph for ArchetypeWrapper.cpp:

Go to the source code of this file.

Functions

static bool isValidArchFlesh (const archetype *arch, const Face *fleshFace)
 
static bool treasureContains (const treasure *t, const archetype *arch)
 

Function Documentation

◆ isValidArchFlesh()

static bool isValidArchFlesh ( const archetype arch,
const Face fleshFace 
)
static

Definition at line 129 of file ArchetypeWrapper.cpp.

References archininventory::arch, AssetsManager::archetypes(), archetype::clone, AssetsCollection< T, Key >::each(), object::face, getManager(), source, and treasureContains().

Referenced by ArchetypeWrapper::uses().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ treasureContains()

static bool treasureContains ( const treasure t,
const archetype arch 
)
static

Definition at line 111 of file ArchetypeWrapper.cpp.

References archininventory::arch, AssetsCollection< T, Key >::find(), getManager(), Floor::t, and AssetsManager::treasures().

Referenced by isValidArchFlesh().

Here is the call graph for this function:
Here is the caller graph for this function: