25 #ifndef ENGINES_NWN_ITEM_H 26 #define ENGINES_NWN_ITEM_H 118 #endif // ENGINES_NWN_ITEM_H
uint32 getArmorPart(size_t index) const
Item(const Aurora::GFF3Struct &item)
A class holding an UTF-8 string.
Common::UString _modelName
The model's resource name.
void loadProperties(const Aurora::GFF3Struct &gff)
uint32 getColor(Color color) const
A simple scoped smart pointer template.
void loadArmorParts(const Aurora::GFF3Struct &gff)
Basic Aurora graphics types.
void hide()
Hide the item's model.
void show()
Show the item's model.
uint32 _armorParts[kArmorPartMAX]
The item's armor parts.
void unloadModel()
Unload the item's model.
An object in a Neverwinter Nights area.
Basic type definitions to handle files used in BioWare's Aurora engine.
uint32 _colors[kColorMAX]
The item's colors.
Common::ScopedPtr< Graphics::Aurora::Model > _model
The item's model.
uint32 _baseItem
The index within the baseitem 2DA.
void load(const Aurora::GFF3Struct &item)
void loadModel()
Load the item's model.
ArmorPartType
Parts of an armor set.
void loadPortrait(const Aurora::GFF3Struct &gff)