Crossfire Server, Trunk
CREFacePanel.cpp File Reference
#include <Qt>
#include "global.h"
#include "face.h"
#include "image.h"
#include "quest.h"
#include "CREFacePanel.h"
#include "CREUtils.h"
#include "CRESmoothFaceMaker.h"
#include "assets.h"
#include "AssetsManager.h"
#include "LicenseManager.h"
#include "CREMapInformationManager.h"
#include "Quests.h"
+ Include dependency graph for CREFacePanel.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)
 

Variables

static const char *const colorname []
 

Function Documentation

◆ isValidArchFlesh()

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

Definition at line 98 of file CREFacePanel.cpp.

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

Referenced by CREFacePanel::setItem().

+ 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 78 of file CREFacePanel.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:

Variable Documentation

◆ colorname

const char* const colorname[]
static
Initial value:
= {
"black",
"white",
"blue",
"red",
"orange",
"light_blue",
"dark_orange",
"green",
"light_green",
"grey",
"brown",
"yellow",
"khaki"
}
Todo:
duplication with common/image

Definition at line 20 of file CREFacePanel.cpp.

Referenced by CREFacePanel::CREFacePanel().