Crossfire Server, Trunk
|
#include <MonsterResistances.h>
Public Member Functions | |
MonsterResistances (QWidget *parent) | |
Private Member Functions | |
void | buildGraph () |
Private Attributes | |
QGraphicsView * | myDisplay |
std::map< int, QColor > | myResistances |
QGraphicsScene * | myScene |
Display a histogram of monster resistances to fire, cold, electricity, poison.
Definition at line 24 of file MonsterResistances.h.
MonsterResistances::MonsterResistances | ( | QWidget * | parent | ) |
Definition at line 37 of file MonsterResistances.cpp.
References ATNR_COLD, ATNR_ELECTRICITY, ATNR_FIRE, ATNR_POISON, buildGraph(), myDisplay, myResistances, and myScene.
|
private |
Definition at line 57 of file MonsterResistances.cpp.
References archininventory::arch, AssetsManager::archetypes(), AssetsCollection< T, Key >::each(), FLAG_MONSTER, getManager(), myDisplay, myResistances, myScene, QUERY_FLAG, ring_occidental_mages::r, resist_plus, and SCALE.
Referenced by MonsterResistances().
|
private |
Definition at line 32 of file MonsterResistances.h.
Referenced by buildGraph(), and MonsterResistances().
|
private |
Definition at line 34 of file MonsterResistances.h.
Referenced by buildGraph(), and MonsterResistances().
|
private |
Definition at line 33 of file MonsterResistances.h.
Referenced by buildGraph(), and MonsterResistances().