xoreos
0.0.5
|
#include <creature.h>
Classes | |
struct | Class |
A class. More... | |
Public Member Functions | |
Creature () | |
Create a dummy creature instance. More... | |
Creature (const Aurora::GFF3Struct &creature) | |
Load from a creature instance. More... | |
Creature (const Common::UString &bic, bool local) | |
Load from a character file. More... | |
~Creature () | |
void | loadModel () |
Load the creature's model. More... | |
void | unloadModel () |
Unload the creature's model. More... | |
void | show () |
Show the creature's model. More... | |
void | hide () |
Hide the creature's model. More... | |
const Common::UString & | getFirstName () const |
Return the creature's first name. More... | |
const Common::UString & | getLastName () const |
Return the creature's last name. More... | |
uint32 | getGender () const |
Get the creature's gender. More... | |
void | setGender (uint32 gender) |
Set the creature's gender. More... | |
bool | isFemale () const |
Is the creature female, do we need female dialogs tokens? More... | |
uint32 | getRace () const |
Return the creature's race value. More... | |
void | setRace (uint32 race) |
Set the creature's race. More... | |
uint32 | getSubRace () const |
Return the creature's subrace value. More... | |
void | setSubRace (uint32 subRace) |
Set the creature's subrace. More... | |
void | getClass (uint32 position, uint32 &classID, uint16 &level) const |
Get the creature's class and level at that class slot position. More... | |
uint16 | getClassLevel (uint32 classID) const |
Get the creature's level for this class. More... | |
uint8 | getHitDice () const |
Returns the number of hit dice, which is effectively the total number of levels. More... | |
uint8 | getAbility (Ability ability) const |
Return a creature's ability score. More... | |
int8 | getSkillRank (uint32 skill) const |
Return the creature's rank in this skill. More... | |
bool | hasFeat (uint32 feat) const |
Does the creature have this feat? More... | |
const Common::UString & | getDeity () const |
Get the creature's deity. More... | |
uint8 | getGoodEvil () const |
uint8 | getLawChaos () const |
bool | isPC () const |
Is the creature a player character? More... | |
bool | isDM () const |
Is the creature a dungeon master? More... | |
uint32 | getAge () const |
Return the creature's age. More... | |
uint32 | getXP () const |
Return the creature's XP. More... | |
int32 | getCurrentHP () const |
Return the current HP this creature has. More... | |
int32 | getMaxHP () const |
Return the max HP this creature can have. More... | |
void | setPosition (float x, float y, float z) |
Set the creature's position. More... | |
void | setOrientation (float x, float y, float z, float angle) |
Set the creature's orientation. More... | |
void | enter () |
The cursor entered the creature. More... | |
void | leave () |
The cursor left the creature. More... | |
void | highlight (bool enabled) |
(Un)Highlight the creature. More... | |
bool | click (Object *triggerer=0) |
The creature was clicked. More... | |
Public Member Functions inherited from Engines::NWN2::Object | |
Object (ObjectType type=kObjectTypeInvalid) | |
virtual | ~Object () |
ObjectType | getType () const |
Return the exact type of the object. More... | |
const std::list< uint32 > & | getIDs () const |
Return the object's model IDs. More... | |
const Common::UString & | getName () const |
Return the object's name. More... | |
const Common::UString & | getDescription () const |
Return the object's description. More... | |
const Common::UString & | getConversation () const |
Return the object's default conversation (DLG). More... | |
const Aurora::SSFFile * | getSSF () |
Return the object's sound set. More... | |
bool | isStatic () const |
Is the object static (not manipulable at all)? More... | |
bool | isUsable () const |
Can the object be used by the PC? More... | |
bool | isClickable () const |
Can the player click the object? More... | |
Area * | getArea () const |
Return the area this object is currently in. More... | |
void | setArea (Area *) |
Set the area this object is currently in. More... | |
virtual void | getPosition (float &x, float &y, float &z) const |
Return the object's position within its area. More... | |
virtual void | getOrientation (float &x, float &y, float &z, float &angle) const |
Return the object's orientation. More... | |
Location | getLocation () const |
Create a Location out of the object's area, position and orientation. More... | |
void | speakString (const Common::UString &string, uint32 volume) |
Speak the specified string. More... | |
void | speakOneLiner (Common::UString conv, Object *tokenTarget=0) |
Speak an one-liner from the specified conversation file. More... | |
void | stopSound () |
Stop the current object sound. More... | |
void | playSound (const Common::UString &sound, bool pitchVariance=false) |
Play an object sound. More... | |
Public Member Functions inherited from Aurora::NWScript::Object | |
Object () | |
uint32 | getID () const |
const Common::UString & | getTag () const |
Public Member Functions inherited from Aurora::NWScript::VariableContainer | |
VariableContainer () | |
virtual | ~VariableContainer () |
bool | hasVariable (const Common::UString &var) const |
Variable & | getVariable (const Common::UString &var, Type type=kTypeVoid) |
const Variable & | getVariable (const Common::UString &var) const |
void | setVariable (const Common::UString &var, const Variable &value) |
void | removeVariable (const Common::UString &var) |
void | clearVariables () |
Public Member Functions inherited from Engines::NWN2::ScriptContainer | |
ScriptContainer () | |
~ScriptContainer () | |
const Common::UString & | getScript (Script script) const |
bool | hasScript (Script script) const |
bool | runScript (Script script, const Aurora::NWScript::ObjectReference owner=Aurora::NWScript::ObjectReference(), const Aurora::NWScript::ObjectReference triggerer=Aurora::NWScript::ObjectReference()) |
Private Types | |
typedef Common::PtrList< Graphics::Aurora::Model > | ModelParts |
Private Member Functions | |
void | init () |
Init the creature. More... | |
void | loadCharacter (const Common::UString &bic, bool local) |
Load from a character file. More... | |
void | load (const Aurora::GFF3Struct &creature) |
Load from a creature instance. More... | |
void | load (const Aurora::GFF3Struct &instance, const Aurora::GFF3Struct *blueprint) |
Load the creature from an instance and its blueprint. More... | |
void | loadProperties (const Aurora::GFF3Struct &gff) |
Load general creature properties. More... | |
Common::UString | getBaseModel (const Common::UString &base) |
bool | loadArmorModel (const Common::UString &body, const Common::UString &armor, uint8 visualType, uint8 variation) |
bool | loadHeadModel (uint8 appearance) |
bool | loadHairModel (uint8 appearance) |
Static Private Member Functions | |
static void | loadClasses (const Aurora::GFF3Struct &gff, std::vector< Class > &classes, uint8 &hitDice) |
Load the creature's classes. More... | |
static Aurora::GFF3File * | openPC (const Common::UString &bic, bool local) |
Private Attributes | |
Common::UString | _firstName |
The creature's first name. More... | |
Common::UString | _lastName |
The creature's last name. More... | |
uint32 | _gender |
The creature's gender. More... | |
uint32 | _race |
The creature's race. More... | |
uint32 | _subRace |
The creature's subrace. More... | |
bool | _isPC |
Is the creature a PC? More... | |
bool | _isDM |
Is the creature a DM? More... | |
uint32 | _age |
The creature's age. More... | |
uint32 | _xp |
The creature's experience. More... | |
int32 | _baseHP |
The creature's base maximum health points. More... | |
int32 | _bonusHP |
The creature's bonus health points. More... | |
int32 | _currentHP |
The creature's current health points. More... | |
uint8 | _abilities [kAbilityMAX] |
The creature's abilities. More... | |
std::vector< Class > | _classes |
The creature's classes. More... | |
std::vector< int8 > | _skills |
The creature's skills. More... | |
std::vector< uint32 > | _feats |
The creature's feats. More... | |
uint8 | _hitDice |
The creature's hit dice. More... | |
Common::UString | _deity |
The creature's deity. More... | |
uint8 | _goodEvil |
The creature's good/evil value (0-100). More... | |
uint8 | _lawChaos |
The creature's law/chaos value (0-100). More... | |
uint32 | _appearanceID |
The creature's general appearance. More... | |
uint8 | _armorVisualType |
uint8 | _armorVariation |
uint8 | _bootsVisualType |
uint8 | _bootsVariation |
uint8 | _appearanceHead |
The model variant used for the head. More... | |
uint8 | _appearanceMHair |
The model variant used for male hair. More... | |
uint8 | _appearanceFHair |
The model variant used for female hair. More... | |
ModelParts | _modelParts |
Additional Inherited Members | |
Static Public Member Functions inherited from Engines::NWN2::ScriptContainer | |
static bool | runScript (const Common::UString &script, const Aurora::NWScript::ObjectReference owner=Aurora::NWScript::ObjectReference(), const Aurora::NWScript::ObjectReference triggerer=Aurora::NWScript::ObjectReference()) |
static bool | runScript (const Common::UString &script, const Aurora::NWScript::ScriptState &state, const Aurora::NWScript::ObjectReference owner=Aurora::NWScript::ObjectReference(), const Aurora::NWScript::ObjectReference triggerer=Aurora::NWScript::ObjectReference()) |
Protected Member Functions inherited from Engines::NWN2::Object | |
void | loadSSF () |
Load the object's sound set. More... | |
void | readVarTable (const Aurora::GFF3List &varTable) |
Read the object's variable table. More... | |
void | readVarTable (const Aurora::GFF3Struct &gff) |
Protected Member Functions inherited from Engines::NWN2::ScriptContainer | |
void | clearScripts () |
void | readScripts (const Aurora::GFF3Struct &gff) |
void | readScripts (const ScriptContainer &container) |
Protected Attributes inherited from Engines::NWN2::Object | |
ObjectType | _type |
The object's type. More... | |
Common::UString | _name |
The object's display name. More... | |
Common::UString | _description |
The object's description. More... | |
Common::UString | _conversation |
The object's default conversation. More... | |
uint32 | _soundSet |
The object's sound set, as an index into soundset.2da. More... | |
Common::ScopedPtr< Aurora::SSFFile > | _ssf |
The object's sound set. More... | |
bool | _static |
Is the object static? More... | |
bool | _usable |
Is the object usable? More... | |
std::list< uint32 > | _ids |
The object's model IDs. More... | |
Area * | _area |
The area the object is currently in. More... | |
float | _position [3] |
The object's position. More... | |
float | _orientation [4] |
The object's orientation. More... | |
Sound::ChannelHandle | _sound |
The currently playing object sound. More... | |
Protected Attributes inherited from Aurora::NWScript::Object | |
uint32 | _id |
Common::UString | _tag |
Definition at line 46 of file creature.h.
|
private |
Definition at line 142 of file creature.h.
Engines::NWN2::Creature::Creature | ( | ) |
Create a dummy creature instance.
Not playable as it is.
Definition at line 52 of file creature.cpp.
References init().
Engines::NWN2::Creature::Creature | ( | const Aurora::GFF3Struct & | creature | ) |
Load from a creature instance.
Definition at line 56 of file creature.cpp.
References init(), and load().
Engines::NWN2::Creature::Creature | ( | const Common::UString & | bic, |
bool | local | ||
) |
Load from a character file.
Definition at line 62 of file creature.cpp.
References init(), and loadCharacter().
Engines::NWN2::Creature::~Creature | ( | ) |
Definition at line 68 of file creature.cpp.
|
virtual |
The creature was clicked.
Reimplemented from Engines::NWN2::Object.
Definition at line 150 of file creature.cpp.
References Engines::NWN2::ScriptContainer::hasScript(), Engines::NWN2::kScriptClick, Engines::NWN2::kScriptDialogue, and Engines::NWN2::ScriptContainer::runScript().
|
virtual |
The cursor entered the creature.
Reimplemented from Engines::NWN2::Object.
Definition at line 137 of file creature.cpp.
References highlight().
Return a creature's ability score.
Definition at line 563 of file creature.cpp.
References _abilities, and Engines::NWN2::kAbilityMAX.
Referenced by Engines::NWN2::Functions::getAbilityScore().
uint32 Engines::NWN2::Creature::getAge | ( | ) | const |
|
private |
Definition at line 225 of file creature.cpp.
References _appearanceID, Aurora::TwoDARow::getString(), isFemale(), Common::UString::replaceAll(), and TwoDAReg.
Referenced by loadHairModel(), loadHeadModel(), and loadModel().
Get the creature's class and level at that class slot position.
Definition at line 528 of file creature.cpp.
References _classes, and Engines::NWN2::kClassInvalid.
Referenced by Engines::NWN2::Functions::getClassByPosition(), and Engines::NWN2::Functions::getLevelByPosition().
Get the creature's level for this class.
Definition at line 539 of file creature.cpp.
References _classes.
Referenced by Engines::NWN2::Functions::getLevelByClass().
int32 Engines::NWN2::Creature::getCurrentHP | ( | ) | const |
Return the current HP this creature has.
Definition at line 217 of file creature.cpp.
References _bonusHP, and _currentHP.
Referenced by Engines::NWN2::Functions::getIsDead().
const Common::UString & Engines::NWN2::Creature::getDeity | ( | ) | const |
const Common::UString & Engines::NWN2::Creature::getFirstName | ( | ) | const |
Return the creature's first name.
Definition at line 162 of file creature.cpp.
References _firstName.
uint32 Engines::NWN2::Creature::getGender | ( | ) | const |
Get the creature's gender.
Definition at line 170 of file creature.cpp.
References _gender.
Referenced by Engines::NWN2::Functions::getGender().
uint8 Engines::NWN2::Creature::getGoodEvil | ( | ) | const |
Definition at line 551 of file creature.cpp.
References _goodEvil.
Referenced by Engines::NWN2::Functions::getAlignmentGoodEvil(), and Engines::NWN2::Functions::getGoodEvilValue().
uint8 Engines::NWN2::Creature::getHitDice | ( | ) | const |
Returns the number of hit dice, which is effectively the total number of levels.
Definition at line 559 of file creature.cpp.
References _hitDice.
Referenced by Engines::NWN2::Functions::getHitDice().
const Common::UString & Engines::NWN2::Creature::getLastName | ( | ) | const |
uint8 Engines::NWN2::Creature::getLawChaos | ( | ) | const |
Definition at line 555 of file creature.cpp.
References _lawChaos.
Referenced by Engines::NWN2::Functions::getAlignmentLawChaos(), and Engines::NWN2::Functions::getLawChaosValue().
int32 Engines::NWN2::Creature::getMaxHP | ( | ) | const |
Return the max HP this creature can have.
Definition at line 221 of file creature.cpp.
uint32 Engines::NWN2::Creature::getRace | ( | ) | const |
Return the creature's race value.
Definition at line 185 of file creature.cpp.
References _race.
Referenced by Engines::NWN2::Functions::getRacialType().
Return the creature's rank in this skill.
Definition at line 569 of file creature.cpp.
References _skills.
Referenced by Engines::NWN2::Functions::getSkillRank().
uint32 Engines::NWN2::Creature::getSubRace | ( | ) | const |
Return the creature's subrace value.
Definition at line 193 of file creature.cpp.
References _subRace.
uint32 Engines::NWN2::Creature::getXP | ( | ) | const |
Return the creature's XP.
Definition at line 213 of file creature.cpp.
References _xp.
Referenced by Engines::NWN2::Functions::getXP().
bool Engines::NWN2::Creature::hasFeat | ( | uint32 | feat | ) | const |
Does the creature have this feat?
Definition at line 576 of file creature.cpp.
References _feats.
Referenced by Engines::NWN2::Functions::getHasFeat().
|
virtual |
Hide the creature's model.
Reimplemented from Engines::NWN2::Object.
Definition at line 116 of file creature.cpp.
References _modelParts.
Referenced by Engines::NWN2::Module::enterArea(), unloadModel(), and Engines::NWN2::Module::unloadPC().
|
virtual |
(Un)Highlight the creature.
Reimplemented from Engines::NWN2::Object.
Definition at line 145 of file creature.cpp.
References _modelParts.
Referenced by enter(), and leave().
|
private |
Init the creature.
Definition at line 71 of file creature.cpp.
References _abilities, _age, _appearanceFHair, _appearanceHead, _appearanceID, _appearanceMHair, _armorVariation, _armorVisualType, _baseHP, _bonusHP, _bootsVariation, _bootsVisualType, _currentHP, _gender, _goodEvil, _hitDice, _isDM, _isPC, _lawChaos, _race, Engines::NWN2::Object::_static, _subRace, Engines::NWN2::Object::_usable, _xp, Engines::NWN2::kAbilityMAX, Aurora::kFieldIDInvalid, Engines::NWN2::kGenderNone, Engines::NWN2::kRaceInvalid, and Engines::NWN2::kSubRaceInvalid.
Referenced by Creature().
bool Engines::NWN2::Creature::isDM | ( | ) | const |
Is the creature a dungeon master?
Definition at line 205 of file creature.cpp.
References _isDM.
Referenced by Engines::NWN2::Functions::getIsDM().
bool Engines::NWN2::Creature::isFemale | ( | ) | const |
Is the creature female, do we need female dialogs tokens?
Definition at line 178 of file creature.cpp.
References _gender, and Engines::NWN2::kGenderFemale.
Referenced by getBaseModel().
bool Engines::NWN2::Creature::isPC | ( | ) | const |
Is the creature a player character?
Definition at line 201 of file creature.cpp.
References _isPC.
Referenced by Engines::NWN2::ObjectContainer::toPC().
|
virtual |
The cursor left the creature.
Reimplemented from Engines::NWN2::Object.
Definition at line 141 of file creature.cpp.
References highlight().
|
private |
Load from a creature instance.
Definition at line 344 of file creature.cpp.
References Common::UString::empty(), Aurora::GFF3Struct::getString(), Aurora::kFileTypeUTC, Engines::loadOptionalGFF3(), MKTAG, and Common::ScopedPtrBase< T, Deallocator >::reset().
Referenced by Creature(), and loadCharacter().
|
private |
Load the creature from an instance and its blueprint.
Definition at line 368 of file creature.cpp.
References Aurora::GFF3Struct::getDouble(), loadProperties(), Common::rad2deg(), setOrientation(), and setPosition().
|
private |
Definition at line 236 of file creature.cpp.
References _modelParts, Common::UString::c_str(), Common::UString::format(), Aurora::TwoDARow::getString(), Engines::loadModelObject(), and TwoDAReg.
Referenced by loadModel().
|
private |
Load from a character file.
Definition at line 354 of file creature.cpp.
References _isPC, Engines::NWN2::Object::_name, Aurora::NWScript::Object::_tag, Common::UString::c_str(), Common::UString::format(), load(), and openPC().
Referenced by Creature().
|
staticprivate |
Load the creature's classes.
Definition at line 506 of file creature.cpp.
References Aurora::GFF3Struct::getList(), Aurora::GFF3Struct::getUint(), and Aurora::GFF3Struct::hasField().
Referenced by loadProperties().
|
private |
Definition at line 271 of file creature.cpp.
References _modelParts, Common::UString::c_str(), Common::UString::empty(), Common::UString::format(), getBaseModel(), and Engines::loadModelObject().
Referenced by loadModel().
|
private |
Definition at line 253 of file creature.cpp.
References _modelParts, Common::UString::c_str(), Common::UString::empty(), Common::UString::format(), getBaseModel(), and Engines::loadModelObject().
Referenced by loadModel().
|
virtual |
Load the creature's model.
Reimplemented from Engines::NWN2::Object.
Definition at line 289 of file creature.cpp.
References _appearanceFHair, _appearanceHead, _appearanceID, _appearanceMHair, _armorVariation, _armorVisualType, _bootsVariation, _bootsVisualType, Engines::NWN2::Object::_ids, _modelParts, Aurora::NWScript::Object::_tag, Common::UString::c_str(), Common::UString::empty(), getBaseModel(), Aurora::TwoDARow::getInt(), Engines::NWN2::Object::getOrientation(), Engines::NWN2::Object::getPosition(), Engines::NWN2::Object::isClickable(), Aurora::kFieldIDInvalid, loadArmorModel(), loadHairModel(), loadHeadModel(), setOrientation(), setPosition(), TwoDAReg, and warning().
Referenced by Engines::NWN2::Module::enter().
|
private |
Load general creature properties.
Definition at line 389 of file creature.cpp.
References _abilities, _age, _appearanceFHair, _appearanceHead, _appearanceID, _appearanceMHair, _armorVariation, _armorVisualType, _baseHP, _bonusHP, _bootsVariation, _bootsVisualType, _classes, Engines::NWN2::Object::_conversation, _currentHP, _deity, Engines::NWN2::Object::_description, _feats, _firstName, _gender, _goodEvil, _hitDice, _isDM, _isPC, _lastName, _lawChaos, Engines::NWN2::Object::_name, _race, _skills, Engines::NWN2::Object::_soundSet, _subRace, Aurora::NWScript::Object::_tag, _xp, Aurora::GFF3Struct::getBool(), Aurora::GFF3Struct::getList(), Aurora::GFF3Struct::getSint(), Aurora::GFF3Struct::getString(), Aurora::GFF3Struct::getStruct(), Aurora::GFF3Struct::getUint(), Aurora::GFF3Struct::hasField(), Engines::NWN2::kAbilityCharisma, Engines::NWN2::kAbilityConstitution, Engines::NWN2::kAbilityDexterity, Engines::NWN2::kAbilityIntelligence, Engines::NWN2::kAbilityStrength, Engines::NWN2::kAbilityWisdom, Aurora::kFieldIDInvalid, loadClasses(), Engines::NWN2::ScriptContainer::readScripts(), Engines::NWN2::Object::readVarTable(), and Common::UString::trim().
Referenced by load().
|
staticprivate |
Definition at line 584 of file creature.cpp.
References ConfigMan, and kBICID.
Referenced by loadCharacter().
void Engines::NWN2::Creature::setGender | ( | uint32 | gender | ) |
|
virtual |
Set the creature's orientation.
Reimplemented from Engines::NWN2::Object.
Definition at line 129 of file creature.cpp.
References _modelParts, Engines::NWN2::Object::getOrientation(), and Engines::NWN2::Object::setOrientation().
Referenced by Engines::NWN2::Module::enter(), load(), and loadModel().
|
virtual |
Set the creature's position.
Reimplemented from Engines::NWN2::Object.
Definition at line 121 of file creature.cpp.
References _modelParts, Engines::NWN2::Object::getPosition(), and Engines::NWN2::Object::setPosition().
Referenced by Engines::NWN2::Module::enter(), load(), loadModel(), and Engines::NWN2::Module::movePC().
void Engines::NWN2::Creature::setRace | ( | uint32 | race | ) |
void Engines::NWN2::Creature::setSubRace | ( | uint32 | subRace | ) |
|
virtual |
Show the creature's model.
Reimplemented from Engines::NWN2::Object.
Definition at line 111 of file creature.cpp.
References _modelParts.
Referenced by Engines::NWN2::Module::enterArea().
|
virtual |
Unload the creature's model.
Reimplemented from Engines::NWN2::Object.
Definition at line 338 of file creature.cpp.
References _modelParts, Common::PtrList< T, Deallocator >::clear(), and hide().
|
private |
The creature's abilities.
Definition at line 168 of file creature.h.
Referenced by getAbility(), init(), and loadProperties().
|
private |
The creature's age.
Definition at line 160 of file creature.h.
Referenced by getAge(), init(), and loadProperties().
|
private |
The model variant used for female hair.
Definition at line 191 of file creature.h.
Referenced by init(), loadModel(), and loadProperties().
|
private |
The model variant used for the head.
Definition at line 189 of file creature.h.
Referenced by init(), loadModel(), and loadProperties().
|
private |
The creature's general appearance.
Definition at line 181 of file creature.h.
Referenced by getBaseModel(), init(), loadModel(), and loadProperties().
|
private |
The model variant used for male hair.
Definition at line 190 of file creature.h.
Referenced by init(), loadModel(), and loadProperties().
|
private |
Definition at line 184 of file creature.h.
Referenced by init(), loadModel(), and loadProperties().
|
private |
Definition at line 183 of file creature.h.
Referenced by init(), loadModel(), and loadProperties().
|
private |
The creature's base maximum health points.
Definition at line 164 of file creature.h.
Referenced by getMaxHP(), init(), and loadProperties().
|
private |
The creature's bonus health points.
Definition at line 165 of file creature.h.
Referenced by getCurrentHP(), getMaxHP(), init(), and loadProperties().
|
private |
Definition at line 187 of file creature.h.
Referenced by init(), loadModel(), and loadProperties().
|
private |
Definition at line 186 of file creature.h.
Referenced by init(), loadModel(), and loadProperties().
|
private |
The creature's classes.
Definition at line 170 of file creature.h.
Referenced by getClass(), getClassLevel(), and loadProperties().
|
private |
The creature's current health points.
Definition at line 166 of file creature.h.
Referenced by getCurrentHP(), init(), and loadProperties().
|
private |
The creature's deity.
Definition at line 176 of file creature.h.
Referenced by getDeity(), and loadProperties().
|
private |
The creature's feats.
Definition at line 172 of file creature.h.
Referenced by hasFeat(), and loadProperties().
|
private |
The creature's first name.
Definition at line 150 of file creature.h.
Referenced by getFirstName(), and loadProperties().
|
private |
The creature's gender.
Definition at line 153 of file creature.h.
Referenced by getGender(), init(), isFemale(), loadProperties(), and setGender().
|
private |
The creature's good/evil value (0-100).
Definition at line 178 of file creature.h.
Referenced by getGoodEvil(), init(), and loadProperties().
|
private |
The creature's hit dice.
Definition at line 174 of file creature.h.
Referenced by getHitDice(), init(), and loadProperties().
|
private |
Is the creature a DM?
Definition at line 158 of file creature.h.
Referenced by init(), isDM(), and loadProperties().
|
private |
Is the creature a PC?
Definition at line 157 of file creature.h.
Referenced by init(), isPC(), loadCharacter(), and loadProperties().
|
private |
The creature's last name.
Definition at line 151 of file creature.h.
Referenced by getLastName(), and loadProperties().
|
private |
The creature's law/chaos value (0-100).
Definition at line 179 of file creature.h.
Referenced by getLawChaos(), init(), and loadProperties().
|
private |
Definition at line 193 of file creature.h.
Referenced by hide(), highlight(), loadArmorModel(), loadHairModel(), loadHeadModel(), loadModel(), setOrientation(), setPosition(), show(), and unloadModel().
|
private |
The creature's race.
Definition at line 154 of file creature.h.
Referenced by getRace(), init(), loadProperties(), and setRace().
|
private |
The creature's skills.
Definition at line 171 of file creature.h.
Referenced by getSkillRank(), and loadProperties().
|
private |
The creature's subrace.
Definition at line 155 of file creature.h.
Referenced by getSubRace(), init(), loadProperties(), and setSubRace().
|
private |
The creature's experience.
Definition at line 162 of file creature.h.
Referenced by getXP(), init(), and loadProperties().