|
xoreos
0.0.5
|
#include <creature.h>


Classes | |
| struct | Associate |
| An associate. More... | |
| struct | BodyPart |
| A part of a creature body. More... | |
| 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 () | |
| uint32 | lastChangedGUIDisplay () const |
| Last time info was changed that's displayed in the GUI. More... | |
| 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... | |
| Gender | getGender () const |
| Get the creature's gender. More... | |
| void | setGender (Gender 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... | |
| void | setPortrait (const Common::UString &portrait) |
| Set the creature's portrait. More... | |
| const Common::UString & | getPortrait () const |
| Get the creature's portrait. More... | |
| const Common::UString & | getConvRace () const |
| Return the creature's race as needed in conversations, e.g. More... | |
| const Common::UString & | getConvrace () const |
| Return the creature's lowercase race as needed in conversations, e.g. More... | |
| const Common::UString & | getConvRaces () const |
| Return the creature's race plural as needed in conversations, e.g. More... | |
| const Common::UString & | getSubRace () const |
| Get 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... | |
| void | changeClassLevel (uint32 classID, int16 levelChange) |
| Set the creature's level for this class. More... | |
| const Common::UString & | getConvClass () const |
| Return the creature's class as needed in conversations, e.g. More... | |
| const Common::UString & | getConvclass () const |
| Return the creature's class as needed in conversations, e.g. More... | |
| const Common::UString & | getConvClasses () const |
| Return the creature's class plural as needed in conversations, e.g. More... | |
| Common::UString | getClassString () const |
| Return the creature's class description. 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... | |
| void | setAbility (Ability ability, uint8 score) |
| Set the creature's ability score. More... | |
| int8 | getSkillRank (uint32 skill) const |
| Return the creature's rank in this skill. More... | |
| void | setSkillRank (size_t skill, uint8 rank) |
| Set the creature's skill rank. More... | |
| void | setFeat (uint32 feat) |
| Append a feat to the creature. 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 |
| Get the creature's good-evil alignment. More... | |
| void | setGoodEvil (uint8 goodness) |
| Set the creature's good-evil alignment. More... | |
| uint8 | getLawChaos () const |
| Get the creature's law-chaos alignment. More... | |
| void | setLawChaos (uint8 lawfulness) |
| Set the creature's law-chaos alignment. More... | |
| void | setSoundSet (uint32 soundSet) |
| Set the creature's sound set. More... | |
| 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... | |
| uint8 | getStartingPackage () const |
| Return the creature's starting package. More... | |
| void | setStartingPackage (uint8 package) |
| Set the creature's starting package. More... | |
| void | getDomains (uint32 classID, uint8 &domain1, uint8 &domain2) |
| Get clerical domains. More... | |
| void | setDomains (uint32 classID, uint8 domain1, uint8 domain2) |
| Set clerical domains. More... | |
| bool | hasSpell (uint32 classID, size_t spellLevel, uint16 spell) |
| Do the creature know the spell? More... | |
| void | setSchool (uint32 classID, uint8 school) |
| Set the creature's school. More... | |
| void | setKnownSpell (uint32 classID, size_t spellLevel, uint16 spell) |
| Set a creature's known spell. More... | |
| void | setMemorizedSpell (uint32 classID, size_t spellLevel, uint16 spell) |
| Set a creature's memorized spell. More... | |
| void | setAppearance (uint32 appearanceID) |
| Set the creature's appearance. More... | |
| void | setPhenotype (uint32 phenotype) |
| Set the creature's phenotype. More... | |
| void | setColorSkin (uint32 colorSkin) |
| Set the creature's color skin. More... | |
| void | setColorHair (uint32 colorHair) |
| Set the creature's color hair. More... | |
| void | setColorTatto1 (uint32 colorTattoo1) |
| Set the creature's color tattoo 1. More... | |
| void | setColorTatto2 (uint32 colorTattoo2) |
| Set the creature's color tatto 2. More... | |
| void | setHead (uint32 headID) |
| Set the creature's head. More... | |
| void | addEquippedItem (Item *item) |
| Add an equippement to the creature. More... | |
| void | setArea (Area *area) |
| Set the area this creature is currently in. More... | |
| void | addAssociate (Creature &associate, AssociateType type) |
| Add an associate (henchman, familiar, ...). More... | |
| void | removeAssociate (Creature &ssociate) |
| Remove an associate (henchman, familiar, ...). More... | |
| Creature * | getAssociate (AssociateType type, size_t nth=1) const |
| Get this creature's nth's associate of a specific type. More... | |
| Creature * | getMaster () const |
| Return the creature's master. More... | |
| void | setMaster (Creature *master=0) |
| Set the creature's master. More... | |
| bool | isCommandable () const |
| Is this creature commandable (has a modifiable action queue)? More... | |
| void | setCommandable (bool commandable) |
| Set whether this creature commandable (has a modifiable action queue). 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... | |
| virtual void | highlight (bool enabled) |
| (Un)Highlight the creature. More... | |
| virtual bool | click (Object *triggerer=0) |
| The creature was clicked. More... | |
| void | playAnimation (const Common::UString &animation="", bool restart=true, float length=0.0f, float speed=1.0f) |
| Play a creature animation. More... | |
| void | playAnimation (Animation animation, bool restart=true, float length=0.0f, float speed=1.0f) |
| Play a default creature animation. More... | |
Public Member Functions inherited from Engines::NWN::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 & | getPortrait () const |
| Return the object's portrait. 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... | |
| Aurora::NWScript::Object * | getPCSpeaker () const |
| Return the PC currently speaking with this object. More... | |
| void | setPCSpeaker (Aurora::NWScript::Object *pc) |
| Set the PC currently speaking with this object. More... | |
| Area * | getArea () const |
| Return 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... | |
| virtual 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::NWN::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()) |
Static Public Member Functions | |
| static void | getPCListInfo (const Common::UString &bic, bool local, Common::UString &name, Common::UString &classes, Common::UString &portrait) |
| Return the information needed for a character list. More... | |
Static Public Member Functions inherited from Engines::NWN::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()) |
Private Types | |
| enum | BodyPartType { kBodyPartHead = 0, kBodyPartNeck, kBodyPartTorso, kBodyPartPelvis, kBodyPartBelt, kBodyPartRightFoot, kBodyPartLeftFoot, kBodyPartRightShin, kBodyPartLeftShin, kBodyPartLeftThigh, kBodyPartRightThigh, kBodyPartRightFArm, kBodyPartLeftFArm, kBodyPartRightBicep, kBodyPartLeftBicep, kBodyPartRightShoul, kBodyPartLeftShoul, kBodyPartRightHand, kBodyPartLeftHand, kBodyPartMAX } |
| Parts of a creature's body. More... | |
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... | |
| void | loadEquippedItems (const Aurora::GFF3Struct &gff) |
| void | constructPartName (const Common::UString &type, uint32 id, const Common::UString &gender, const Common::UString &race, const Common::UString &phenoType, Common::UString &part) |
| Construct the resource name of a body part files. More... | |
| void | constructPartName (const Common::UString &type, uint32 id, const Common::UString &gender, const Common::UString &race, const Common::UString &phenoType, const Common::UString &phenoTypeAlt, Aurora::FileType fileType, Common::UString &part) |
| Construct the resource name of a body part files. More... | |
| void | constructModelName (const Common::UString &type, uint32 id, const Common::UString &gender, const Common::UString &race, const Common::UString &phenoType, const Common::UString &phenoTypeAlt, Common::UString &model, Common::UString &texture) |
| Construct the resource name of a body part files. More... | |
| void | getPartModels () |
| Construct all body part models' resource names. More... | |
| void | getArmorModels () |
| Populate the armor info for body parts. More... | |
| Class * | findClass (uint32 classID) |
| Find the creature's class if any. More... | |
| void | finishPLTs (const std::list< Graphics::Aurora::TextureHandle > &plts) |
| Finished those paletted textures. More... | |
| bool | createTooltip (Tooltip::Type type) |
| Create an empty tooltip. More... | |
Static Private Member Functions | |
| static void | loadPortrait (const Aurora::GFF3Struct &gff, Common::UString &portrait) |
| Load the creature's portrait. More... | |
| 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) |
| static void | getClassString (const std::vector< Class > &classes, Common::UString &str) |
Private Attributes | |
| uint32 | _lastChangedGUIDisplay |
| The time a GUI relevant property was changed last. More... | |
| Common::UString | _firstName |
| The creature's first name. More... | |
| Common::UString | _lastName |
| The creature's last name. More... | |
| Gender | _gender |
| The creature's gender. More... | |
| uint32 | _race |
| The creature's race. More... | |
| Common::UString | _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... | |
| uint32 | _phenotype |
| The creature's phenotype. More... | |
| uint8 | _startingPackage |
| The package chosen at creature's creation. More... | |
| std::vector< BodyPart > | _bodyParts |
| The creature's body parts. More... | |
| Common::PtrVector< Item > | _equippedItems |
| The creature's equipped items. More... | |
| Common::UString | _partsSuperModelName |
| The supermodel used for parts-based creatures. More... | |
| Common::UString | _environmentMap |
| The environment map override to use on the model. More... | |
| uint32 | _colorSkin |
| The color of the creature's skin. More... | |
| uint32 | _colorHair |
| The color of the creature's hair. More... | |
| uint32 | _colorTattoo1 |
| The 1. color of the creature's tattoo. More... | |
| uint32 | _colorTattoo2 |
| The 2. color of the creature's tattoo. More... | |
| uint32 | _colorMetal1 |
| The 1. color of the creature's metal armor. More... | |
| uint32 | _colorMetal2 |
| The 2. color of the creature's metal armor. More... | |
| uint32 | _colorLeather1 |
| The 1. color of the creature's leather armor. More... | |
| uint32 | _colorLeather2 |
| The 2. color of the creature's leather armor. More... | |
| uint32 | _colorCloth1 |
| The 1. color of the creature's cloth armor. More... | |
| uint32 | _colorCloth2 |
| The 2. color of the creature's cloth armor. More... | |
| Creature * | _master |
| The creature's master. More... | |
| std::list< Associate > | _associates |
| The creature's associates. More... | |
| bool | _isCommandable |
| Is the creature commandable (has a modifiable action queue)? More... | |
| Common::ScopedPtr< Graphics::Aurora::Model > | _model |
| The creature's model. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from Engines::NWN::Object | |
| void | loadSSF () |
| Load the object's sound set. More... | |
| bool | beginConversation (Object *triggerer) |
| Begin a conversation between the triggerer and this object. More... | |
| bool | createFeedbackTooltip () |
| Create a tooltip with the name and/or portrait of the object. More... | |
| bool | createSpeechTooltip (const Common::UString &line) |
| Create a tooltip with a line the object should speak. More... | |
| void | destroyTooltip () |
| Destroy all tooltips on this object. More... | |
| bool | showFeedbackTooltip () |
| Create and show a tooltip with the name and/or portrait of the object. More... | |
| bool | showSpeechTooltip (const Common::UString &line) |
| Create and show a tooltip with a line the object speaks. More... | |
| void | hideTooltip () |
| Hide the tooltip again. More... | |
Protected Member Functions inherited from Engines::NWN::ScriptContainer | |
| void | clearScripts () |
| void | readScripts (const Aurora::GFF3Struct &gff) |
| void | readScripts (const ScriptContainer &container) |
Protected Attributes inherited from Engines::NWN::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 | _portrait |
| The object's portrait. 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... | |
| Aurora::NWScript::Object * | _pcSpeaker |
| The current PC speaking with the object. 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... | |
| Common::ScopedPtr< Tooltip > | _tooltip |
| The tooltip displayed over the object. More... | |
Protected Attributes inherited from Aurora::NWScript::Object | |
| uint32 | _id |
| Common::UString | _tag |
Definition at line 50 of file creature.h.
|
private |
Parts of a creature's body.
Definition at line 262 of file creature.h.
| Engines::NWN::Creature::Creature | ( | ) |
Create a dummy creature instance.
Not playable as it is.
Definition at line 70 of file creature.cpp.
References init().

| Engines::NWN::Creature::Creature | ( | const Aurora::GFF3Struct & | creature | ) |
Load from a creature instance.
Definition at line 74 of file creature.cpp.
References init(), and load().

| Engines::NWN::Creature::Creature | ( | const Common::UString & | bic, |
| bool | local | ||
| ) |
Load from a character file.
Definition at line 80 of file creature.cpp.
References init(), and loadCharacter().

| Engines::NWN::Creature::~Creature | ( | ) |
Definition at line 86 of file creature.cpp.
References _associates, _master, hide(), and removeAssociate().

| void Engines::NWN::Creature::addAssociate | ( | Creature & | associate, |
| AssociateType | type | ||
| ) |
Add an associate (henchman, familiar, ...).
Definition at line 379 of file creature.cpp.
References _associates, getMaster(), removeAssociate(), and setMaster().
Referenced by Engines::NWN::Functions::addHenchman().


| void Engines::NWN::Creature::addEquippedItem | ( | Item * | item | ) |
Add an equippement to the creature.
Definition at line 368 of file creature.cpp.
References _equippedItems.
Referenced by Engines::NWN::CharGenChoices::applyChoices().

Set the creature's level for this class.
Definition at line 957 of file creature.cpp.
References _classes, Engines::NWN::Creature::Class::classID, and Engines::NWN::Creature::Class::level.
Referenced by Engines::NWN::CharGenChoices::applyChoices().

|
virtual |
The creature was clicked.
Reimplemented from Engines::NWN::Object.
Definition at line 1094 of file creature.cpp.
References Engines::NWN::Object::beginConversation(), Engines::NWN::ScriptContainer::hasScript(), Engines::NWN::kScriptClick, Engines::NWN::kScriptDialogue, and Engines::NWN::ScriptContainer::runScript().

|
private |
Construct the resource name of a body part files.
Definition at line 458 of file creature.cpp.
References constructPartName(), Common::UString::empty(), Aurora::kFileTypeMDL, Aurora::kFileTypeNone, and Aurora::kFileTypePLT.
Referenced by getPartModels().


|
private |
Construct the resource name of a body part files.
Definition at line 436 of file creature.cpp.
References Common::UString::c_str(), and Common::UString::format().
Referenced by constructModelName(), and constructPartName().


|
private |
Construct the resource name of a body part files.
Definition at line 444 of file creature.cpp.
References Common::UString::clear(), constructPartName(), Aurora::kFileTypeNone, and ResMan.

|
privatevirtual |
Create an empty tooltip.
Reimplemented from Engines::NWN::Object.
Definition at line 1107 of file creature.cpp.
References _model, Engines::NWN::Object::_portrait, and Engines::NWN::Object::_tooltip.
|
virtual |
The cursor entered the creature.
Reimplemented from Engines::NWN::Object.
Definition at line 1076 of file creature.cpp.
References highlight().

|
private |
Find the creature's class if any.
Definition at line 563 of file creature.cpp.
References _classes.
Referenced by getDomains(), hasSpell(), setDomains(), setKnownSpell(), setMemorizedSpell(), and setSchool().

|
private |
Finished those paletted textures.
Definition at line 574 of file creature.cpp.
References _colorCloth1, _colorCloth2, _colorHair, _colorLeather1, _colorLeather2, _colorMetal1, _colorMetal2, _colorSkin, _colorTattoo1, _colorTattoo2, Graphics::Aurora::PLTFile::kLayerCloth1, Graphics::Aurora::PLTFile::kLayerCloth2, Graphics::Aurora::PLTFile::kLayerHair, Graphics::Aurora::PLTFile::kLayerLeather1, Graphics::Aurora::PLTFile::kLayerLeather2, Graphics::Aurora::PLTFile::kLayerMetal1, Graphics::Aurora::PLTFile::kLayerMetal2, Graphics::Aurora::PLTFile::kLayerSkin, Graphics::Aurora::PLTFile::kLayerTattoo1, Graphics::Aurora::PLTFile::kLayerTattoo2, Graphics::Aurora::PLTFile::rebuild(), and Graphics::Aurora::PLTFile::setLayerColor().
Referenced by loadModel().


Return a creature's ability score.
Definition at line 1035 of file creature.cpp.
References _abilities, and Engines::NWN::kAbilityMAX.
Referenced by Engines::NWN::Functions::getAbilityScore().

| uint32 Engines::NWN::Creature::getAge | ( | ) | const |
|
private |
Populate the armor info for body parts.
Definition at line 538 of file creature.cpp.
References _bodyParts, _colorCloth1, _colorCloth2, _colorLeather1, _colorLeather2, _colorMetal1, _colorMetal2, _equippedItems, Aurora::NWScript::Object::_tag, Common::UString::c_str(), Engines::NWN::Item::getArmorPart(), Engines::NWN::Item::getColor(), Engines::NWN::Object::getName(), Engines::NWN::Item::isArmor(), kBodyPartMAX, Engines::NWN::Item::kColorCloth1, Engines::NWN::Item::kColorCloth2, Engines::NWN::Item::kColorLeather1, Engines::NWN::Item::kColorLeather2, Engines::NWN::Item::kColorMetal1, Engines::NWN::Item::kColorMetal2, Aurora::kFieldIDInvalid, and status().
Referenced by loadModel().


| Creature * Engines::NWN::Creature::getAssociate | ( | AssociateType | type, |
| size_t | nth = 1 |
||
| ) | const |
Get this creature's nth's associate of a specific type.
Definition at line 400 of file creature.cpp.
References _associates.
Referenced by Engines::NWN::Functions::getAssociate(), and Engines::NWN::Functions::getHenchman().

Get the creature's class and level at that class slot position.
Definition at line 938 of file creature.cpp.
References _classes, and Engines::NWN::kClassInvalid.
Referenced by Engines::NWN::Functions::getClassByPosition(), and Engines::NWN::Functions::getLevelByPosition().

Get the creature's level for this class.
Definition at line 949 of file creature.cpp.
References _classes.
Referenced by Engines::NWN::CharSpells::computeRemainingSpells(), Engines::NWN::Functions::getLevelByClass(), and Engines::NWN::CharGenChoices::hasPrereqFeat().

| Common::UString Engines::NWN::Creature::getClassString | ( | ) | const |
Return the creature's class description.
Definition at line 1023 of file creature.cpp.
References _classes.
Referenced by getPCListInfo().

|
staticprivate |
Definition at line 1193 of file creature.cpp.
References Common::UString::empty(), TalkMan, and TwoDAReg.

| const Common::UString & Engines::NWN::Creature::getConvClass | ( | ) | const |
Return the creature's class as needed in conversations, e.g.
"Barbarian".
Definition at line 978 of file creature.cpp.
| const Common::UString & Engines::NWN::Creature::getConvclass | ( | ) | const |
Return the creature's class as needed in conversations, e.g.
"barbarian".
Definition at line 985 of file creature.cpp.
| const Common::UString & Engines::NWN::Creature::getConvClasses | ( | ) | const |
Return the creature's class plural as needed in conversations, e.g.
"Barbarians".
Definition at line 992 of file creature.cpp.
| const Common::UString & Engines::NWN::Creature::getConvRace | ( | ) | const |
Return the creature's race as needed in conversations, e.g.
"Dwarven".
Definition at line 916 of file creature.cpp.
| const Common::UString & Engines::NWN::Creature::getConvrace | ( | ) | const |
Return the creature's lowercase race as needed in conversations, e.g.
"dwarven".
Definition at line 922 of file creature.cpp.
| const Common::UString & Engines::NWN::Creature::getConvRaces | ( | ) | const |
Return the creature's race plural as needed in conversations, e.g.
"Dwarves".
Definition at line 928 of file creature.cpp.
| int32 Engines::NWN::Creature::getCurrentHP | ( | ) | const |
Return the current HP this creature has.
Definition at line 242 of file creature.cpp.
References _bonusHP, and _currentHP.
Referenced by Engines::NWN::Functions::getIsDead(), and Engines::NWN::IngameGUI::updatePartyMember().

| const Common::UString & Engines::NWN::Creature::getDeity | ( | ) | const |
Get clerical domains.
Definition at line 258 of file creature.cpp.
References Engines::NWN::Creature::Class::domain1, Engines::NWN::Creature::Class::domain2, findClass(), and UINT8_MAX.

| const Common::UString & Engines::NWN::Creature::getFirstName | ( | ) | const |
Return the creature's first name.
Definition at line 182 of file creature.cpp.
References _firstName.
| Gender Engines::NWN::Creature::getGender | ( | ) | const |
Get the creature's gender.
Definition at line 190 of file creature.cpp.
References _gender.
Referenced by Engines::NWN::Functions::getGender(), Engines::NWN::CharSex::hide(), Engines::NWN::CharPortrait::initPortraitList(), and Engines::NWN::CharInfoVoice::initVoicesList().

| uint8 Engines::NWN::Creature::getGoodEvil | ( | ) | const |
Get the creature's good-evil alignment.
Definition at line 1003 of file creature.cpp.
References _goodEvil.
Referenced by Engines::NWN::Functions::getAlignmentGoodEvil(), and Engines::NWN::Functions::getGoodEvilValue().

| uint8 Engines::NWN::Creature::getHitDice | ( | ) | const |
Returns the number of hit dice, which is effectively the total number of levels.
Definition at line 1031 of file creature.cpp.
References _hitDice.
Referenced by Engines::NWN::CharPackage::callbackActive(), Engines::NWN::CharGenChoices::computeAvailSkillRank(), Engines::NWN::CharGenChoices::getFeatItems(), Engines::NWN::Functions::getHitDice(), Engines::NWN::CharGenChoices::getSkillItems(), Engines::NWN::CharGenChoices::hasPrereqFeat(), Engines::NWN::CharSpells::makeSpellsList(), Engines::NWN::CharGenChoices::setClass(), and Engines::NWN::CharGenChoices::setPackage().

| const Common::UString & Engines::NWN::Creature::getLastName | ( | ) | const |
| uint8 Engines::NWN::Creature::getLawChaos | ( | ) | const |
Get the creature's law-chaos alignment.
Definition at line 1011 of file creature.cpp.
References _lawChaos.
Referenced by Engines::NWN::Functions::getAlignmentLawChaos(), and Engines::NWN::Functions::getLawChaosValue().

| Creature * Engines::NWN::Creature::getMaster | ( | ) | const |
Return the creature's master.
Definition at line 424 of file creature.cpp.
References _master.
Referenced by addAssociate(), and Engines::NWN::Functions::getMaster().

| int32 Engines::NWN::Creature::getMaxHP | ( | ) | const |
Return the max HP this creature can have.
Definition at line 246 of file creature.cpp.
References _baseHP, and _bonusHP.
Referenced by Engines::NWN::IngameGUI::updatePartyMember().

|
private |
Construct all body part models' resource names.
Definition at line 509 of file creature.cpp.
References _bodyParts, _gender, _partsSuperModelName, _phenotype, _race, Common::UString::c_str(), constructModelName(), Common::UString::format(), Aurora::TwoDARow::getInt(), Aurora::TwoDAFile::getRow(), Aurora::TwoDARow::getString(), kBodyPartMAX, Engines::NWN::kBodyPartModels, Aurora::kFileTypeMDL, ResMan, and TwoDAReg.
Referenced by loadModel().


|
static |
Return the information needed for a character list.
Definition at line 1151 of file creature.cpp.
References Common::UString::c_str(), Common::UString::clear(), Common::exceptionDispatcherWarning(), getClassString(), Aurora::GFF3Struct::getString(), loadClasses(), loadPortrait(), openPC(), and Common::UString::trim().
Referenced by Engines::NWN::CharPremadeMenu::initCharacterList().


| const Common::UString & Engines::NWN::Creature::getPortrait | ( | ) | const |
Get the creature's portrait.
Definition at line 222 of file creature.cpp.
References Engines::NWN::Object::_portrait.
Referenced by Engines::NWN::CharPortrait::show(), and Engines::NWN::IngameGUI::updatePartyMember().

| uint32 Engines::NWN::Creature::getRace | ( | ) | const |
Return the creature's race value.
Definition at line 205 of file creature.cpp.
References _race.
Referenced by Engines::NWN::CharGenChoices::applyChoices(), Engines::NWN::CharGenChoices::getRace(), Engines::NWN::Functions::getRacialType(), Engines::NWN::CharRace::hide(), and Engines::NWN::CharPortrait::initPortraitList().

Return the creature's rank in this skill.
Definition at line 1047 of file creature.cpp.
References _skills.
Referenced by Engines::NWN::Functions::getSkillRank().

| uint8 Engines::NWN::Creature::getStartingPackage | ( | ) | const |
Return the creature's starting package.
Definition at line 250 of file creature.cpp.
References _startingPackage.
| const Common::UString & Engines::NWN::Creature::getSubRace | ( | ) | const |
| uint32 Engines::NWN::Creature::getXP | ( | ) | const |
Return the creature's XP.
Definition at line 238 of file creature.cpp.
References _xp.
Referenced by Engines::NWN::Functions::getXP().

| bool Engines::NWN::Creature::hasFeat | ( | uint32 | feat | ) | const |
Does the creature have this feat?
Definition at line 1068 of file creature.cpp.
References _feats.
Referenced by Engines::NWN::Functions::getHasFeat(), Engines::NWN::CharGenChoices::hasFeat(), and setFeat().

Do the creature know the spell?
Definition at line 279 of file creature.cpp.
References findClass(), and Engines::NWN::Creature::Class::knownList.

|
virtual |
Hide the creature's model.
Reimplemented from Engines::NWN::Object.
Definition at line 153 of file creature.cpp.
References _model, Engines::NWN::Object::hideTooltip(), and leave().
Referenced by unloadModel(), and ~Creature().


|
virtual |
(Un)Highlight the creature.
Reimplemented from Engines::NWN::Object.
Definition at line 1084 of file creature.cpp.
References _model, Engines::NWN::Object::hideTooltip(), and Engines::NWN::Object::showFeedbackTooltip().
Referenced by enter(), and leave().


|
private |
Init the creature.
Definition at line 96 of file creature.cpp.
References _abilities, _age, _appearanceID, _baseHP, _bodyParts, _bonusHP, _colorCloth1, _colorCloth2, _colorHair, _colorLeather1, _colorLeather2, _colorMetal1, _colorMetal2, _colorSkin, _colorTattoo1, _colorTattoo2, _currentHP, _gender, _goodEvil, _hitDice, _isCommandable, _isDM, _isPC, _lastChangedGUIDisplay, _lawChaos, _master, _phenotype, Engines::NWN::Object::_portrait, _race, _skills, _startingPackage, _xp, Engines::NWN::kAbilityMAX, kBodyPartMAX, Aurora::kFieldIDInvalid, Engines::NWN::kGenderNone, and Engines::NWN::kRaceInvalid.
Referenced by Creature().

| bool Engines::NWN::Creature::isCommandable | ( | ) | const |
Is this creature commandable (has a modifiable action queue)?
Definition at line 428 of file creature.cpp.
References _isCommandable.
Referenced by Engines::NWN::Functions::getCommandable().

| bool Engines::NWN::Creature::isDM | ( | ) | const |
Is the creature a dungeon master?
Definition at line 230 of file creature.cpp.
References _isDM.
Referenced by Engines::NWN::Functions::getIsDM().

| bool Engines::NWN::Creature::isFemale | ( | ) | const |
Is the creature female, do we need female dialogs tokens?
Definition at line 198 of file creature.cpp.
References _gender, and Engines::NWN::kGenderFemale.
| bool Engines::NWN::Creature::isPC | ( | ) | const |
Is the creature a player character?
Definition at line 226 of file creature.cpp.
References _isPC.
Referenced by Engines::NWN::ObjectContainer::toPC().

| uint32 Engines::NWN::Creature::lastChangedGUIDisplay | ( | ) | const |
Last time info was changed that's displayed in the GUI.
Definition at line 178 of file creature.cpp.
References _lastChangedGUIDisplay.
Referenced by Engines::NWN::IngameGUI::updatePartyMember().

|
virtual |
The cursor left the creature.
Reimplemented from Engines::NWN::Object.
Definition at line 1080 of file creature.cpp.
References highlight().
Referenced by hide().


|
private |
Load from a creature instance.
Definition at line 699 of file creature.cpp.
References _lastChangedGUIDisplay, Common::UString::empty(), EventMan, 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 711 of file creature.cpp.
References Aurora::GFF3Struct::getDouble(), loadProperties(), Common::rad2deg(), setOrientation(), and setPosition().

|
private |
Load from a character file.
Definition at line 683 of file creature.cpp.
References _isPC, _lastChangedGUIDisplay, Engines::NWN::Object::_name, Aurora::NWScript::Object::_tag, Common::UString::c_str(), EventMan, Common::UString::format(), load(), and openPC().
Referenced by Creature().


|
staticprivate |
Load the creature's classes.
Definition at line 894 of file creature.cpp.
References Aurora::GFF3Struct::getList(), Aurora::GFF3Struct::getUint(), and Aurora::GFF3Struct::hasField().
Referenced by getPCListInfo(), and loadProperties().


|
private |
Definition at line 885 of file creature.cpp.
References _equippedItems, Aurora::GFF3Struct::getList(), and Aurora::GFF3Struct::hasField().
Referenced by loadProperties().


|
virtual |
Load the creature's model.
Reimplemented from Engines::NWN::Object.
Definition at line 595 of file creature.cpp.
References _appearanceID, Engines::NWN::Object::_area, _bodyParts, _environmentMap, Engines::NWN::Object::_ids, _model, _partsSuperModelName, Engines::NWN::Object::_portrait, Aurora::NWScript::Object::_tag, Common::UString::c_str(), Graphics::Aurora::TextureHandle::empty(), Common::UString::empty(), Common::UString::equalsIgnoreCase(), finishPLTs(), getArmorModels(), Engines::NWN::Area::getEnvironmentMap(), Engines::NWN::Object::getOrientation(), getPartModels(), Engines::NWN::Object::getPosition(), Aurora::TwoDARow::getString(), Engines::NWN::Object::isClickable(), kBodyPartMAX, Engines::NWN::kBodyPartNodes, Aurora::kFieldIDInvalid, Engines::loadModelObject(), Common::ScopedPtrBase< T, Deallocator >::reset(), setOrientation(), setPosition(), TextureMan, TwoDAReg, and warning().

|
staticprivate |
Load the creature's portrait.
Definition at line 872 of file creature.cpp.
References Common::UString::empty(), Aurora::TwoDAFile::getRow(), Aurora::TwoDARow::getString(), Aurora::GFF3Struct::getString(), Aurora::GFF3Struct::getUint(), and TwoDAReg.
Referenced by getPCListInfo(), and loadProperties().


|
private |
Load general creature properties.
Definition at line 747 of file creature.cpp.
References _abilities, _age, _appearanceID, _baseHP, _bodyParts, _bonusHP, _classes, _colorHair, _colorSkin, _colorTattoo1, _colorTattoo2, Engines::NWN::Object::_conversation, _currentHP, _deity, Engines::NWN::Object::_description, _feats, _firstName, _gender, _goodEvil, _hitDice, _isDM, _isPC, _lastName, _lawChaos, Engines::NWN::Object::_name, _phenotype, Engines::NWN::Object::_portrait, _race, _skills, Engines::NWN::Object::_soundSet, _startingPackage, _subRace, Aurora::NWScript::Object::_tag, _xp, Aurora::GFF3Struct::getBool(), Aurora::GFF3Struct::getList(), Aurora::GFF3Struct::getSint(), Aurora::GFF3Struct::getString(), Aurora::GFF3Struct::getUint(), Aurora::GFF3Struct::hasField(), Engines::NWN::kAbilityCharisma, Engines::NWN::kAbilityConstitution, Engines::NWN::kAbilityDexterity, Engines::NWN::kAbilityIntelligence, Engines::NWN::kAbilityStrength, Engines::NWN::kAbilityWisdom, Engines::NWN::kBodyPartFields, kBodyPartMAX, Aurora::kFieldIDInvalid, loadClasses(), loadEquippedItems(), loadPortrait(), Engines::NWN::ScriptContainer::readScripts(), and Common::UString::trim().
Referenced by load().


|
staticprivate |
Definition at line 1186 of file creature.cpp.
References ConfigMan, and kBICID.
Referenced by getPCListInfo(), and loadCharacter().

|
virtual |
Play a creature animation.
Reimplemented from Engines::NWN::Object.
Definition at line 1121 of file creature.cpp.
References _model, and Common::UString::empty().
Referenced by playAnimation().


|
virtual |
Play a default creature animation.
Reimplemented from Engines::NWN::Object.
Definition at line 1134 of file creature.cpp.
References _model, Common::UString::c_str(), Engines::NWN::getCreatureAnimationName(), Engines::NWN::isAnimationLooping(), playAnimation(), and warning().

| void Engines::NWN::Creature::removeAssociate | ( | Creature & | ssociate | ) |
Remove an associate (henchman, familiar, ...).
Definition at line 388 of file creature.cpp.
References _associates.
Referenced by addAssociate(), Engines::NWN::Functions::removeHenchman(), and ~Creature().

Set the creature's ability score.
Definition at line 1041 of file creature.cpp.
References _abilities, and Engines::NWN::kAbilityMAX.
Referenced by Engines::NWN::CharGenChoices::applyChoices().

| void Engines::NWN::Creature::setAppearance | ( | uint32 | appearanceID | ) |
Set the creature's appearance.
Definition at line 340 of file creature.cpp.
References _appearanceID.
Referenced by Engines::NWN::CharGenChoices::applyChoices().

|
virtual |
Set the area this creature is currently in.
Reimplemented from Engines::NWN::Object.
Definition at line 372 of file creature.cpp.
References _environmentMap, _model, Common::UString::equalsIgnoreCase(), Engines::NWN::Area::getEnvironmentMap(), and Engines::NWN::Object::setArea().

| void Engines::NWN::Creature::setColorHair | ( | uint32 | colorHair | ) |
Set the creature's color hair.
Definition at line 352 of file creature.cpp.
References _colorHair.
Referenced by Engines::NWN::CharGenChoices::applyChoices().

| void Engines::NWN::Creature::setColorSkin | ( | uint32 | colorSkin | ) |
Set the creature's color skin.
Definition at line 348 of file creature.cpp.
References _colorSkin.
Referenced by Engines::NWN::CharGenChoices::applyChoices().

| void Engines::NWN::Creature::setColorTatto1 | ( | uint32 | colorTattoo1 | ) |
Set the creature's color tattoo 1.
Definition at line 356 of file creature.cpp.
References _colorTattoo1.
Referenced by Engines::NWN::CharGenChoices::applyChoices().

| void Engines::NWN::Creature::setColorTatto2 | ( | uint32 | colorTattoo2 | ) |
Set the creature's color tatto 2.
Definition at line 360 of file creature.cpp.
References _colorTattoo2.
Referenced by Engines::NWN::CharGenChoices::applyChoices().

| void Engines::NWN::Creature::setCommandable | ( | bool | commandable | ) |
Set whether this creature commandable (has a modifiable action queue).
Definition at line 432 of file creature.cpp.
References _isCommandable.
Referenced by Engines::NWN::Functions::setCommandable().

Set clerical domains.
Definition at line 270 of file creature.cpp.
References Engines::NWN::Creature::Class::domain1, Engines::NWN::Creature::Class::domain2, and findClass().
Referenced by Engines::NWN::CharGenChoices::applyChoices().


| void Engines::NWN::Creature::setFeat | ( | uint32 | feat | ) |
Append a feat to the creature.
Definition at line 1061 of file creature.cpp.
References _feats, and hasFeat().
Referenced by Engines::NWN::CharGenChoices::applyChoices().


| void Engines::NWN::Creature::setGender | ( | Gender | gender | ) |
Set the creature's gender.
Definition at line 194 of file creature.cpp.
References _gender.
Referenced by Engines::NWN::CharGenChoices::setGender().

| void Engines::NWN::Creature::setGoodEvil | ( | uint8 | goodness | ) |
Set the creature's good-evil alignment.
Definition at line 1007 of file creature.cpp.
References _goodEvil.
Referenced by Engines::NWN::CharGenChoices::applyChoices().

| void Engines::NWN::Creature::setHead | ( | uint32 | headID | ) |
Set the creature's head.
Definition at line 364 of file creature.cpp.
References _bodyParts, and kBodyPartHead.
Referenced by Engines::NWN::CharGenChoices::applyChoices().

Set a creature's known spell.
Definition at line 304 of file creature.cpp.
References findClass(), and Engines::NWN::Creature::Class::knownList.
Referenced by Engines::NWN::CharGenChoices::applyChoices().


| void Engines::NWN::Creature::setLawChaos | ( | uint8 | lawfulness | ) |
Set the creature's law-chaos alignment.
Definition at line 1015 of file creature.cpp.
References _lawChaos.
Referenced by Engines::NWN::CharGenChoices::applyChoices().

| void Engines::NWN::Creature::setMaster | ( | Creature * | master = 0 | ) |
Set the creature's master.
Definition at line 420 of file creature.cpp.
References _master.
Referenced by addAssociate().

Set a creature's memorized spell.
Definition at line 322 of file creature.cpp.
References findClass(), and Engines::NWN::Creature::Class::memorizedList.

|
virtual |
Set the creature's orientation.
Reimplemented from Engines::NWN::Object.
Definition at line 170 of file creature.cpp.
References _model, Engines::NWN::Object::getOrientation(), and Engines::NWN::Object::setOrientation().
Referenced by load(), and loadModel().


| void Engines::NWN::Creature::setPhenotype | ( | uint32 | phenotype | ) |
Set the creature's phenotype.
Definition at line 344 of file creature.cpp.
References _phenotype.
Referenced by Engines::NWN::CharGenChoices::applyChoices().

| void Engines::NWN::Creature::setPortrait | ( | const Common::UString & | portrait | ) |
Set the creature's portrait.
Definition at line 216 of file creature.cpp.
References _lastChangedGUIDisplay, Engines::NWN::Object::_portrait, and EventMan.
Referenced by Engines::NWN::CharGenChoices::setPortrait().

|
virtual |
Set the creature's position.
Reimplemented from Engines::NWN::Object.
Definition at line 162 of file creature.cpp.
References _model, Engines::NWN::Object::getPosition(), and Engines::NWN::Object::setPosition().
Referenced by load(), and loadModel().


| void Engines::NWN::Creature::setRace | ( | uint32 | race | ) |
Set the creature's race.
Definition at line 209 of file creature.cpp.
References _race, error(), and Engines::NWN::kRaceInvalid.
Referenced by Engines::NWN::CharGenChoices::setRace().


Set the creature's school.
Definition at line 296 of file creature.cpp.
References findClass(), and Engines::NWN::Creature::Class::school.
Referenced by Engines::NWN::CharGenChoices::applyChoices().


| void Engines::NWN::Creature::setSkillRank | ( | size_t | skill, |
| uint8 | rank | ||
| ) |
Set the creature's skill rank.
Definition at line 1054 of file creature.cpp.
References _skills.
Referenced by Engines::NWN::CharGenChoices::applyChoices().

| void Engines::NWN::Creature::setSoundSet | ( | uint32 | soundSet | ) |
Set the creature's sound set.
Definition at line 1019 of file creature.cpp.
References Engines::NWN::Object::_soundSet.
Referenced by Engines::NWN::CharGenChoices::applyChoices().

| void Engines::NWN::Creature::setStartingPackage | ( | uint8 | package | ) |
Set the creature's starting package.
Definition at line 254 of file creature.cpp.
References _startingPackage.
Referenced by Engines::NWN::CharGenChoices::setPackage().

|
virtual |
Show the creature's model.
Reimplemented from Engines::NWN::Object.
Definition at line 148 of file creature.cpp.
References _model.
|
virtual |
Unload the creature's model.
Reimplemented from Engines::NWN::Object.
Definition at line 675 of file creature.cpp.
References _model, Engines::NWN::Object::destroyTooltip(), hide(), and Common::ScopedPtrBase< T, Deallocator >::reset().

|
private |
The creature's abilities.
Definition at line 345 of file creature.h.
Referenced by getAbility(), init(), loadProperties(), and setAbility().
|
private |
The creature's age.
Definition at line 337 of file creature.h.
Referenced by getAge(), init(), and loadProperties().
|
private |
The creature's general appearance.
Definition at line 358 of file creature.h.
Referenced by init(), loadModel(), loadProperties(), and setAppearance().
|
private |
The creature's associates.
Definition at line 384 of file creature.h.
Referenced by addAssociate(), getAssociate(), removeAssociate(), and ~Creature().
|
private |
The creature's base maximum health points.
Definition at line 341 of file creature.h.
Referenced by getMaxHP(), init(), and loadProperties().
|
private |
The creature's body parts.
Definition at line 363 of file creature.h.
Referenced by getArmorModels(), getPartModels(), init(), loadModel(), loadProperties(), and setHead().
|
private |
The creature's bonus health points.
Definition at line 342 of file creature.h.
Referenced by getCurrentHP(), getMaxHP(), init(), and loadProperties().
|
private |
The creature's classes.
Definition at line 347 of file creature.h.
Referenced by changeClassLevel(), findClass(), getClass(), getClassLevel(), getClassString(), getConvClass(), getConvclass(), getConvClasses(), and loadProperties().
|
private |
The 1. color of the creature's cloth armor.
Definition at line 380 of file creature.h.
Referenced by finishPLTs(), getArmorModels(), and init().
|
private |
The 2. color of the creature's cloth armor.
Definition at line 381 of file creature.h.
Referenced by finishPLTs(), getArmorModels(), and init().
|
private |
The color of the creature's hair.
Definition at line 372 of file creature.h.
Referenced by finishPLTs(), init(), loadProperties(), and setColorHair().
|
private |
The 1. color of the creature's leather armor.
Definition at line 378 of file creature.h.
Referenced by finishPLTs(), getArmorModels(), and init().
|
private |
The 2. color of the creature's leather armor.
Definition at line 379 of file creature.h.
Referenced by finishPLTs(), getArmorModels(), and init().
|
private |
The 1. color of the creature's metal armor.
Definition at line 376 of file creature.h.
Referenced by finishPLTs(), getArmorModels(), and init().
|
private |
The 2. color of the creature's metal armor.
Definition at line 377 of file creature.h.
Referenced by finishPLTs(), getArmorModels(), and init().
|
private |
The color of the creature's skin.
Definition at line 371 of file creature.h.
Referenced by finishPLTs(), init(), loadProperties(), and setColorSkin().
|
private |
The 1. color of the creature's tattoo.
Definition at line 373 of file creature.h.
Referenced by finishPLTs(), init(), loadProperties(), and setColorTatto1().
|
private |
The 2. color of the creature's tattoo.
Definition at line 374 of file creature.h.
Referenced by finishPLTs(), init(), loadProperties(), and setColorTatto2().
|
private |
The creature's current health points.
Definition at line 343 of file creature.h.
Referenced by getCurrentHP(), init(), and loadProperties().
|
private |
The creature's deity.
Definition at line 353 of file creature.h.
Referenced by getDeity(), and loadProperties().
|
private |
The environment map override to use on the model.
Definition at line 369 of file creature.h.
Referenced by loadModel(), and setArea().
|
private |
The creature's equipped items.
Definition at line 365 of file creature.h.
Referenced by addEquippedItem(), getArmorModels(), and loadEquippedItems().
|
private |
The creature's feats.
Definition at line 349 of file creature.h.
Referenced by hasFeat(), loadProperties(), and setFeat().
|
private |
The creature's first name.
Definition at line 326 of file creature.h.
Referenced by getFirstName(), and loadProperties().
|
private |
The creature's gender.
Definition at line 329 of file creature.h.
Referenced by getGender(), getPartModels(), init(), isFemale(), loadProperties(), and setGender().
|
private |
The creature's good/evil value (0-100).
Definition at line 355 of file creature.h.
Referenced by getGoodEvil(), init(), loadProperties(), and setGoodEvil().
|
private |
The creature's hit dice.
Definition at line 351 of file creature.h.
Referenced by getHitDice(), init(), and loadProperties().
|
private |
Is the creature commandable (has a modifiable action queue)?
Definition at line 387 of file creature.h.
Referenced by init(), isCommandable(), and setCommandable().
|
private |
Is the creature a DM?
Definition at line 335 of file creature.h.
Referenced by init(), isDM(), and loadProperties().
|
private |
Is the creature a PC?
Definition at line 334 of file creature.h.
Referenced by init(), isPC(), loadCharacter(), and loadProperties().
|
private |
The time a GUI relevant property was changed last.
Definition at line 324 of file creature.h.
Referenced by init(), lastChangedGUIDisplay(), load(), loadCharacter(), and setPortrait().
|
private |
The creature's last name.
Definition at line 327 of file creature.h.
Referenced by getLastName(), and loadProperties().
|
private |
The creature's law/chaos value (0-100).
Definition at line 356 of file creature.h.
Referenced by getLawChaos(), init(), loadProperties(), and setLawChaos().
|
private |
The creature's master.
Definition at line 383 of file creature.h.
Referenced by getMaster(), init(), setMaster(), and ~Creature().
|
private |
The creature's model.
Definition at line 389 of file creature.h.
Referenced by createTooltip(), hide(), highlight(), loadModel(), playAnimation(), setArea(), setOrientation(), setPosition(), show(), and unloadModel().
|
private |
The supermodel used for parts-based creatures.
Definition at line 367 of file creature.h.
Referenced by getPartModels(), and loadModel().
|
private |
The creature's phenotype.
Definition at line 359 of file creature.h.
Referenced by getPartModels(), init(), loadProperties(), and setPhenotype().
|
private |
The creature's race.
Definition at line 330 of file creature.h.
Referenced by getConvRace(), getConvrace(), getConvRaces(), getPartModels(), getRace(), init(), loadProperties(), and setRace().
|
private |
The creature's skills.
Definition at line 348 of file creature.h.
Referenced by getSkillRank(), init(), loadProperties(), and setSkillRank().
|
private |
The package chosen at creature's creation.
Definition at line 361 of file creature.h.
Referenced by getStartingPackage(), init(), loadProperties(), and setStartingPackage().
|
private |
The creature's subrace.
Definition at line 332 of file creature.h.
Referenced by getSubRace(), and loadProperties().
|
private |
The creature's experience.
Definition at line 339 of file creature.h.
Referenced by getXP(), init(), and loadProperties().
1.8.14